Flood Based Protection Script
FBPS was designed at the software level to work with a wide variety of software based firewall systems to block IPs found making flood attacks on your server.
How does it work?
FBPS runs as a daemon coded in C/C++ and actively scans all access logs for a certain amount of connections have been made in a certain amount of time. You can control where it looks, and how offten and for how many connections. You can also run multi-instances of the deamon with different control sets to where you can even do regex matching on the logs.