sshguard protects hosts from brute force attacks. It supports IPv6, whitelists and log authentication, interfaces with all the major firewalling systems, has a remarkably clever log analyzer, and is independent, fast and lightweight as its written in C