pam_af is a simple anti-bruteforce PAM module for authentification services. It can be used to prevent brute-force attacks on services like SSH or Telnet.