Denyhosts vs fail2ban vs iptables- best way to prevent brute force logons?

Posted by spiffytech on Server Fault See other posts from Server Fault or by spiffytech
Published on 2010-04-03T01:07:49Z Indexed on 2010/04/03 1:13 UTC
Read the original article Hit count: 508

I'm setting up a LAMP server and need to prevent SSH/FTP/etc. brute-force logon attempts from succeeding. I've seen many recommendations for both denyhosts and fail2ban, but few comparisons of the two. I also read that an IPTables rule can fill the same function.

Why would I choose one of these methods over another? How do people on serverfault handle this problem?

© Server Fault or respective owner

Related posts about denyhosts

Related posts about fail2ban