FreeBSD Port: py27-fail2ban-0.9.0_2
Stavros Patiniotis
stavros at staff.esc.net.au
Sat Sep 13 00:27:07 UTC 2014
Hello,
I've been trying to work out why logging via syslog does not function and
found that fail2ban has a hard coded socket for the syslog daemon which is
not BSD compatible. Here is a patch to resolve, otherwise pass it upstream
to have the project make it a configuration directive.
stavros at escdev:/home/stavros# diff -a -b
/usr/local/lib/python2.7/site-packages/fail2ban/server/server.py
/tmp/server.py
371c371
< hdlr =
logging.handlers.SysLogHandler("/dev/log", facility=facility)
---
> hdlr =
logging.handlers.SysLogHandler("/var/run/log", facility=facility)
Stavros Patiniotis
Managing Director
Escapenet
national 1300 135 235
phone 8292 5200 fax 1300 136 296
web <http://www.esc.net.au/> www.esc.net.au
sales <mailto:sales at staff.esc.net.au> sales at staff.esc.net.au
support <mailto:support at staff.esc.net.au> support at staff.esc.net.au
accounts <mailto:accounts at staff.esc.net.au> accounts at staff.esc.net.au
Permitted use & confidentiality terms covering the contents of this email
are located at <http://www.esc.net.au/terms/Email-v1.0.pdf>
http://www.esc.net.au/terms/Email-v1.0.pdf
More information about the freebsd-ports
mailing list