diff options
author | Daniel Gerzo <danger@FreeBSD.org> | 2017-09-02 18:13:37 +0000 |
---|---|---|
committer | Daniel Gerzo <danger@FreeBSD.org> | 2017-09-02 18:13:37 +0000 |
commit | 9e025338029490793b4b289c14a1b445aabcef1d (patch) | |
tree | 280600ad005e453a5e275cd321b0cb49f8b50fd9 | |
parent | 75af4c6b3e42191da5d62e55c1a6687cc78876e6 (diff) | |
download | ports-9e025338029490793b4b289c14a1b445aabcef1d.tar.gz ports-9e025338029490793b4b289c14a1b445aabcef1d.zip |
Notes
-rw-r--r-- | security/bruteforceblocker/Makefile | 8 | ||||
-rw-r--r-- | security/bruteforceblocker/distinfo | 5 | ||||
-rw-r--r-- | security/bruteforceblocker/files/patch-bruteforceblocker.pl | 12 |
3 files changed, 7 insertions, 18 deletions
diff --git a/security/bruteforceblocker/Makefile b/security/bruteforceblocker/Makefile index d39d6485b744..3a14785f2bf6 100644 --- a/security/bruteforceblocker/Makefile +++ b/security/bruteforceblocker/Makefile @@ -2,11 +2,11 @@ # $FreeBSD$ PORTNAME= bruteforceblocker -PORTVERSION= 1.2.3 -PORTREVISION= 2 +PORTVERSION= 1.2.4 CATEGORIES= security -MASTER_SITES= http://danger.rulez.sk/projects/bruteforceblocker/ \ - LOCAL/pav + +USE_GITHUB= yes +GH_ACCOUNT= dgerzo MAINTAINER= danger@FreeBSD.org COMMENT= Checks for SSH bruteforce and blocks given IPs diff --git a/security/bruteforceblocker/distinfo b/security/bruteforceblocker/distinfo index e6fad6dfb0b3..b743c03313ee 100644 --- a/security/bruteforceblocker/distinfo +++ b/security/bruteforceblocker/distinfo @@ -1,2 +1,3 @@ -SHA256 (bruteforceblocker-1.2.3.tar.gz) = 40779021c35ea5ba69260a20fdddac2cf3009fe6367080b678c8d2db5bfdbe56 -SIZE (bruteforceblocker-1.2.3.tar.gz) = 4892 +TIMESTAMP = 1504347612 +SHA256 (dgerzo-bruteforceblocker-1.2.4_GH0.tar.gz) = 2155a623fab775e2087cacf33595bc819f7a969942484fe93f21334f3bb3c697 +SIZE (dgerzo-bruteforceblocker-1.2.4_GH0.tar.gz) = 5051 diff --git a/security/bruteforceblocker/files/patch-bruteforceblocker.pl b/security/bruteforceblocker/files/patch-bruteforceblocker.pl deleted file mode 100644 index 6f99f912681d..000000000000 --- a/security/bruteforceblocker/files/patch-bruteforceblocker.pl +++ /dev/null @@ -1,12 +0,0 @@ ---- bruteforceblocker.pl.orig 2017-08-17 13:42:11.038416000 +0100 -+++ bruteforceblocker.pl 2017-08-17 13:46:39.555246000 +0100 -@@ -81,7 +81,8 @@ - /.*Invalid user.*from ($work->{ipv4}|$work->{ipv6}|$work->{fqdn})$/i || - /.*Did not receive identification string from ($work->{ipv4}|$work->{ipv6}|$work->{fqdn})$/i || - /.*Bad protocol version identification .* from ($work->{ipv4}|$work->{ipv6}|$work->{fqdn})$/i || -- /.*User.*from ($work->{ipv4}|$work->{ipv6}|$work->{fqdn}) not allowed because.*/i ) { -+ /.*User.*from ($work->{ipv4}|$work->{ipv6}|$work->{fqdn}) not allowed because.*/i || -+ /.*error: maximum authentication attempts exceeded for.*from ($work->{ipv4}|$work->{ipv6}|$work->{fqdn}).*/i) { - - my $IP = $1; - if ($IP =~ /$work->{fqdn}/i) { |