funny fail2ban debian package

January 1st, 2012 by bayu

I’m using debian 6.0.

I was checking my webserver logs when I found some bots tried to get some scripts I’ve never had before, so I decided to create a fail2ban configuration to take care of similar future requests. I’m using nginx so apache-noscript won’t help.

It took me hours to try to understand what the hell happened to my nginx fail2ban filter and jail configurations that made all my tests failed. When I was nearly frustrated, I found this and try to compile fail2ban I’ve downloaded from fail2ban.org.

Now everything works! It turns out the debian fail2ban package is buggy. I should’ve tried to use google earlier.

Posted in tips&tricks | No Comments »