svn commit: r465400 - in head/security/bruteforceblocker: . files
Kurt Jaeger
pi at FreeBSD.org
Fri Mar 23 19:45:59 UTC 2018
Author: pi
Date: Fri Mar 23 19:45:57 2018
New Revision: 465400
URL: https://svnweb.freebsd.org/changeset/ports/465400
Log:
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 at utahime.org>
Approved by: danger (maintainer timeout)
Added:
head/security/bruteforceblocker/files/patch-bruteforceblocker.pl (contents, props changed)
Modified:
head/security/bruteforceblocker/Makefile
head/security/bruteforceblocker/pkg-descr
Modified: head/security/bruteforceblocker/Makefile
==============================================================================
--- head/security/bruteforceblocker/Makefile Fri Mar 23 19:21:40 2018 (r465399)
+++ head/security/bruteforceblocker/Makefile Fri Mar 23 19:45:57 2018 (r465400)
@@ -3,6 +3,7 @@
PORTNAME= bruteforceblocker
PORTVERSION= 1.2.4
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= danger at FreeBSD.org
Added: head/security/bruteforceblocker/files/patch-bruteforceblocker.pl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/bruteforceblocker/files/patch-bruteforceblocker.pl Fri Mar 23 19:45:57 2018 (r465400)
@@ -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) {
Modified: head/security/bruteforceblocker/pkg-descr
==============================================================================
--- head/security/bruteforceblocker/pkg-descr Fri Mar 23 19:21:40 2018 (r465399)
+++ head/security/bruteforceblocker/pkg-descr Fri Mar 23 19:45:57 2018 (r465400)
@@ -8,4 +8,4 @@ of fails, script puts this IP to the pf's table and bl
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/
More information about the svn-ports-head
mailing list