Ubuntu: fail2ban won't work


A few days ago I setup a new whole Server (Mailserver with Zarafa / Postfix, Apache, MySQL, and so on). Everything works fine.. except fail2ban. Fail2ban do nothing. He don't even act if something is happened.

This is the log for my fail2ban: http://pastebin.com/9jj7JWxA

This is my jail.local file: http://pastebin.com/YgcmpukT

And this is the output for iptables -S:

-P INPUT ACCEPT  -P FORWARD ACCEPT  -P OUTPUT ACCEPT  -N fail2ban-apache  -N fail2ban-postfix  -N fail2ban-sasl  -N fail2ban-ssh  -A INPUT -p tcp -m multiport --dports 25,465,587,143,220,993,110,995 -j fail2ban-sasl  -A INPUT -p tcp -m multiport --dports 25,465,587 -j fail2ban-postfix  -A INPUT -p tcp -m multiport --dports 80,443 -j fail2ban-apache  -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh  -A fail2ban-apache -j RETURN  -A fail2ban-postfix -j RETURN  -A fail2ban-sasl -j RETURN  -A fail2ban-ssh -j RETURN  

Has someone an idea why fail2ban just do nothing?


I solved the problem by 'apt-get remove fail2ban' v.0.8.11 and manually install newest fail2ban v.0.9.4 from github.

Exactly that new package got better filter.d for all the new error messages from Ubuntu 14.04.04 LTS

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »