Date: Sat, 13 Sep 2014 09:38:59 +0930 From: "Stavros Patiniotis" <stavros@staff.esc.net.au> To: <theis@gmx.at> Cc: ports@FreeBSD.org Subject: FreeBSD Port: py27-fail2ban-0.9.0_2 Message-ID: <0c4801cfcee6$eaaa1a10$bffe4e30$@staff.esc.net.au>
next in thread | raw e-mail | index | archive | help
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@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@staff.esc.net.au> sales@staff.esc.net.au support <mailto:support@staff.esc.net.au> support@staff.esc.net.au accounts <mailto:accounts@staff.esc.net.au> accounts@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0c4801cfcee6$eaaa1a10$bffe4e30$>