Originally Posted by id10t
iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m sshbrute --set
iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m sshbrute --update --seconds 60 --hitcount 4 -j DROP
Something like this should drop connections if they've made 4 unsuccessful attempts in the last 60 seconds...
I appreciate the answer id10t. Unfortunately I get the same error as dipeshmehta.
I will have to look at this more to figure out the best way to do this. Now that I have a way to go I can atleast research it.
Leszek, I would love to try one of those, but the boss doesnt want to go that route.