Sshame - a little tool to help keep the script kiddies off my lawn.

  • Or you could use fail2ban, which follows your logs and updates your firewall rules in real time.