Fail2ban

 

Fail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks.

Fail2ban scans log files and bans IPs that show malicious signs — too many password failures, seeking for exploits, etc. Fail2Ban then updates firewall rules to reject the IP addresses for a specified amount of time.