diff -Nru sshit.orig/Makefile sshit/Makefile --- sshit.orig/Makefile Mon May 7 22:43:22 2007 +++ sshit/Makefile Sun Jul 1 22:21:19 2007 @@ -7,6 +7,7 @@ PORTNAME= sshit PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://anp.ath.cx/sshit/ \ ${MASTER_SITE_LOCAL} diff -Nru sshit.orig/files/patch-sshit.diff sshit/files/patch-sshit.diff --- sshit.orig/files/patch-sshit.diff Thu Jan 1 03:00:00 1970 +++ sshit/files/patch-sshit.diff Sun Jul 1 22:16:03 2007 @@ -0,0 +1,11 @@ +--- sshit.orig Sun Jul 1 22:13:45 2007 ++++ sshit Sun Jul 1 22:14:46 2007 +@@ -317,7 +317,7 @@ + + while (<>) { + chomp; +- if (/(failed|Invalid user) .*from (\d+\.\d+\.\d+\.\d+|[\da-fA-F:]+)/i ) { # IPv4 & IPv6 ++ if (/(failed|error|Invalid user) .*from (\d+\.\d+\.\d+\.\d+|[\da-fA-F:]+)/i ) { # IPv4 & IPv6 + $ip = $2; + if ($list{$ip}{name}) { + if ($list{$ip}{n} >= $MAX_COUNT) {