PDA

View Full Version : Protect from brut force


sojic
28th March 2008, 17:23
I want to "protect" from brut force attack.

My idea is:

If there is 10 unsuccessful logins {
add firewall rule "disable ssh port for attacker IP"
}

How to do this on centos 5.1 with ISP config (because firewall is disabled)?

falko
29th March 2008, 18:02
Take a look here:
http://www.howtoforge.com/preventing_ssh_dictionary_attacks_with_denyhosts
http://www.howtoforge.com/fail2ban_debian_etch
http://www.howtoforge.com/blockhosts_debian_etch

zcworld
30th March 2008, 05:30
have you done the simple thing of changing the port that the ssh is on
that will also help out big time