TLDR InfoSec · LAUNCHES & TOOLS
FAIL2BAN
Summary from the TLDR InfoSec newsletter
Fail2Ban scans log files and bans IP addresses that conduct too many failed login attempts. It does this by updating system firewall rules to reject new connections from those IP addresses, for a configurable amount of time. Fail2Ban comes out-of-the-box ready to read many standard log files, such as those for sshd and Apache. It can be easily configured to read any log file of your choosing, for any error you wish.