diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2018-03-24 03:45:57 +0800 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2018-03-24 03:45:57 +0800 |
commit | 8d5bc3ff008144b8a2131e1967be6f2d809108c1 (patch) | |
tree | 4e0cb995a0c800ec359d0951ca7f1afa8f3027d4 | |
parent | f563d9b6c3a95db09d6f8a23216b31013f978af6 (diff) | |
download | freebsd-ports-8d5bc3ff008144b8a2131e1967be6f2d809108c1.tar.gz freebsd-ports-8d5bc3ff008144b8a2131e1967be6f2d809108c1.tar.zst freebsd-ports-8d5bc3ff008144b8a2131e1967be6f2d809108c1.zip |
security/bruteforceblocker: update WWW, add fix
- Add patch to handle "fatal: Unable to negotiate with" message.
- update WWW
PR: 225570
Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Approved by: danger (maintainer timeout)
Notes
Notes:
svn path=/head/; revision=465400
-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/ |