Fail2Ban monitors log files like /var/log/pwdfail or /var/log/apache/error_log and bans failure-prone addresses. It updates firewall rules to reject the IP address or executes user defined commands.
Please see code and download from https://github.com/fail2ban/fail2ban . SF Fail2ban portal might not be up-to-date
Rate This ProjectLogin To Rate This Project
Fail2Ban is just the tool that removes the headache of chasing and banning IP addresses. By setting up of some simple rules one can catch SSH attacks, constant probing of web vulnerability attacks. I wholeheartedly recommend Fail2Ban to any server administrator