Hello, 

I have found a solution which work with iptables. 

iptables -A INPUT -p tcp --dport 587 -i eth0 -m state --state NEW -m 
recent --name XT_SUB --set

iptables -A INPUT -p tcp -d 587 -i eth0 -m state --state NEW -m recent 
--name XT_SUB  --update --seconds 180 --hitcount 5 --rttl -DROP

The logs now be cleaner. 

Regards
Silvio

Attachment: pgpE6I_iN5rmk.pgp
Description: PGP signature

_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to