Hi everyone:
I need know why fail2ban is not banning IP. The Fail2ban is runing, the jail 
active, and detect it:
I receive the email:
        Hi,
        The IP 120.146.197.161 has just been banned by Fail2Ban after
        3 attempts against sasl.
        ...........
But even if "fail2ban-client status sasl-iptables" report the IP as blocked
sasli see the hacking try persist onto the mail logs:

postfix/smtpd[3676]: lost connection after AUTH from 
        CPE-120-146-197-161.static.vic.bigpond.net.au[120.146.197.161]
schweb postfix/smtpd[3676]: disconnect from
         CPE-120-146-197-161.static.vic.bigpond.net.au[120.146.197.161]

If i look on fail2ban.log:
2015-09-27 01:26:16,167 fail2ban.actions[9478]: WARNING [sasl-iptables] Ban 
120.146.197.161
2015-09-27 01:26:16,187 fail2ban.actions.action[9478]: ERROR   iptables -n -L 
INPUT | grep -q 'fail2ban-sasl[ \t]' returned 100
2015-09-27 01:26:16,188 fail2ban.actions.action[9478]: ERROR   Invariant check 
failed. Trying to restore a sane environment
2015-09-27 01:26:16,207 fail2ban.actions.action[9478]: ERROR   iptables -D 
INPUT -p all -j fail2ban-sasl
iptables -F fail2ban-sasl
iptables -X fail2ban-sasl returned 100


How i can solve it?

Best Regards
Christian Schmitz
-- 
En un mundo sin fronteras.... ¿Quién necesita Puertas y Ventanas?
EN INGLES: In a world without frontiers, who needs Gates and Windows
http://www.schdev.com.ar
http://gnc2.schdev.com.ar

------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to