diff options
-rw-r--r-- | security/bruteforceblocker/Makefile | 1 | ||||
-rw-r--r-- | security/bruteforceblocker/files/patch-bruteforceblocker.pl | 12 | ||||
-rw-r--r-- | security/bruteforceblocker/pkg-descr | 2 |
3 files changed, 14 insertions, 1 deletions
diff --git a/security/bruteforceblocker/Makefile b/security/bruteforceblocker/Makefile index e9cc0a03f4fd..693439b878f5 100644 --- a/security/bruteforceblocker/Makefile +++ b/security/bruteforceblocker/Makefile @@ -3,6 +3,7 @@ PORTNAME= bruteforceblocker PORTVERSION= 1.2.4 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= danger@FreeBSD.org diff --git a/security/bruteforceblocker/files/patch-bruteforceblocker.pl b/security/bruteforceblocker/files/patch-bruteforceblocker.pl new file mode 100644 index 000000000000..215d4434e3fe --- /dev/null +++ b/security/bruteforceblocker/files/patch-bruteforceblocker.pl @@ -0,0 +1,12 @@ +--- bruteforceblocker.pl.orig 2018-02-05 04:11:53 UTC ++++ bruteforceblocker.pl +@@ -82,7 +82,8 @@ while (<>) { + /.*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 || +- /.*error: maximum authentication attempts exceeded for.*from ($work->{ipv4}|$work->{ipv6}|$work->{fqdn}).*/i) { ++ /.*error: maximum authentication attempts exceeded for.*from ($work->{ipv4}|$work->{ipv6}|$work->{fqdn}).*/i || ++ /.*fatal: Unable to negotiate with ($work->{ipv4}|$work->{ipv6}|$work->{fqdn}).*/i) { + + my $IP = $1; + if ($IP =~ /$work->{fqdn}/i) { diff --git a/security/bruteforceblocker/pkg-descr b/security/bruteforceblocker/pkg-descr index 09c6b646811a..5b0c2a8499dc 100644 --- a/security/bruteforceblocker/pkg-descr +++ b/security/bruteforceblocker/pkg-descr @@ -8,4 +8,4 @@ of fails, script puts this IP to the pf's table and blocks any further traffic to the that box from given IP (this also depends on configuration done in pf.conf). -WWW: http://danger.rulez.sk/projects/bruteforceblocker/ +WWW: http://danger.rulez.sk/index.php/bruteforceblocker/ |