Sshguard
Sshguard monitors servers from their logging activity. When logs convey that someone is doing a Bad Thing, sshguard reacts by blocking he/she/it for a bit.
Sshguard supports many services out of the box, recognizes several log formats, and can operate many firewall systems.