This is an old revision of the document!
Nice - Lightweight - Protection to linux box
You can do more than expected with this utility.
Here i am using SSH and FTP setting to protect my bandwidth from script kidies.
Fail2ban is written in Python, thus no compilation is required. You can even run Fail2ban without installing it.
Following is the installation procedure for the centOS.
yum install fail2ban