diff options
author | Thomas Abthorpe <tabthorpe@FreeBSD.org> | 2007-09-18 13:16:12 +0000 |
---|---|---|
committer | Thomas Abthorpe <tabthorpe@FreeBSD.org> | 2007-09-18 13:16:12 +0000 |
commit | 5619909972c00c170991ec64b03fe0cc0b2f5b71 (patch) | |
tree | 54b3fbd778e96f8df259d73057dba519a76cdbf4 /security | |
parent | 909df4520598f67d19601dc3590c2197a02a3eb5 (diff) |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/sshit/Makefile | 2 | ||||
-rw-r--r-- | security/sshit/files/patch-sshit.diff | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/security/sshit/Makefile b/security/sshit/Makefile index 8ed9c115a4b5..c52f2c8c61da 100644 --- a/security/sshit/Makefile +++ b/security/sshit/Makefile @@ -7,7 +7,7 @@ PORTNAME= sshit PORTVERSION= 0.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://anp.ath.cx/sshit/ \ ${MASTER_SITE_LOCAL} diff --git a/security/sshit/files/patch-sshit.diff b/security/sshit/files/patch-sshit.diff index 9cdce15bccd6..9d2103cea34e 100644 --- a/security/sshit/files/patch-sshit.diff +++ b/security/sshit/files/patch-sshit.diff @@ -1,11 +1,11 @@ ---- sshit.orig Sun Jul 1 22:13:45 2007 -+++ sshit Sun Jul 1 22:14:46 2007 +--- sshit.orig Sun Aug 5 10:56:39 2007 ++++ sshit Sun Aug 5 10:59:03 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 ++ if (/(failed|error|Invalid user) .*from (\d+\.\d+\.\d+\.\d+|([a-z-]+\.)+[a-z]{2,4}|[\da-fA-F:]+)/i ) { # IPv4 & IPv6 $ip = $2; if ($list{$ip}{name}) { if ($list{$ip}{n} >= $MAX_COUNT) { |