aboutsummaryrefslogtreecommitdiff
path: root/security/sshit
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2007-09-18 13:16:12 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2007-09-18 13:16:12 +0000
commit5619909972c00c170991ec64b03fe0cc0b2f5b71 (patch)
tree54b3fbd778e96f8df259d73057dba519a76cdbf4 /security/sshit
parent909df4520598f67d19601dc3590c2197a02a3eb5 (diff)
downloadports-5619909972c00c170991ec64b03fe0cc0b2f5b71.tar.gz
ports-5619909972c00c170991ec64b03fe0cc0b2f5b71.zip
- make work with fqdn
- bump PORTREVISION PR: ports/115210 Submitted by: Alex Keda <admin_AT_lissyara.su> Approved by: Jui-Nan Lin (maintainer), clsung (mentor)
Notes
Notes: svn path=/head/; revision=199704
Diffstat (limited to 'security/sshit')
-rw-r--r--security/sshit/Makefile2
-rw-r--r--security/sshit/files/patch-sshit.diff6
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) {