Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 14:21:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227577] security/py-fail2ban: writes '_ip_value' to /etc/hosts.deny instead of the banned IP address
Message-ID:  <bug-227577-7788-PMYdiD2yxl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227577-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227577-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227577

theis@gmx.at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(theis@ |maintainer-feedback+
                   |gmx.at)                     |

--- Comment #5 from theis@gmx.at ---
Attached is a patch.=20
Problem was that variables used in the fail2ban actions my not start with an
"_". This was fixed upstream.

Other problems are differences between stock FreeBSD "sed" and Linux GNU "s=
ed":
they differ in the way arguments are applied and in regular expressions. So=
me
of them could be solved upstream, some of them cannot. To make things more
complicated FreeBSD ports have a GNU sed people may have installed. In orde=
r to
avoid a dependency on ports gsed and avoid conflicts between stock and ports
versions I changed "sed" to "/usr/bin/sed". If that is not the proper way to
enforce using stock sed please tell me.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227577-7788-PMYdiD2yxl>