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:sa...@staff.esc.net.au> sa...@staff.esc.net.au

support   <mailto:supp...@staff.esc.net.au> supp...@staff.esc.net.au 

accounts   <mailto:accou...@staff.esc.net.au> accou...@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

 

 

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to