SSH Brute force attacks
Quoted 11 lines
iptables -A
SSH_Brute_Force-m recent --name SSH ! --rcheck --seconds 60 -m recent --hitcount 4 --set --name SSH -j RETURNthis what I get back:
=====================
[root@abc root]# iptables -ASSH_Brute_Force-m recent --name SSH ! --rcheck --seconds 60 -m recent --hitcount 4 --set --name SSH -j RETURN iptables v1.2.9: Unknown arg `4'
Try `iptables -h' or 'iptables --help' for more information. [root@ns root]#
Try it with a different target. For some reason the recent module doesn't like some targets (or no target) when matching on hitcount or seconds.
-Bob