Date: Fri, 25 Aug 2017 21:08:52 +0000 (UTC) From: Max Khon <fjoe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448741 - in head/security/bruteforceblocker: . files Message-ID: <201708252108.v7PL8qMK076479@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: fjoe Date: Fri Aug 25 21:08:52 2017 New Revision: 448741 URL: https://svnweb.freebsd.org/changeset/ports/448741 Log: Handle "error: maximum authentication attempts exceeded for ... from ..." log messages. Approved by: MAINTAINER timeout (8d) Added: head/security/bruteforceblocker/files/patch-bruteforceblocker.pl (contents, props changed) Modified: head/security/bruteforceblocker/Makefile Modified: head/security/bruteforceblocker/Makefile ============================================================================== --- head/security/bruteforceblocker/Makefile Fri Aug 25 20:10:55 2017 (r448740) +++ head/security/bruteforceblocker/Makefile Fri Aug 25 21:08:52 2017 (r448741) @@ -3,7 +3,7 @@ PORTNAME= bruteforceblocker PORTVERSION= 1.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://danger.rulez.sk/projects/bruteforceblocker/ \ LOCAL/pav 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 Aug 25 21:08:52 2017 (r448741) @@ -0,0 +1,12 @@ +--- 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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708252108.v7PL8qMK076479>