From owner-svn-ports-all@freebsd.org Fri Aug 25 21:08:53 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90A56DE1894; Fri, 25 Aug 2017 21:08:53 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A1AE70B53; Fri, 25 Aug 2017 21:08:53 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7PL8qh3076481; Fri, 25 Aug 2017 21:08:52 GMT (envelope-from fjoe@FreeBSD.org) Received: (from fjoe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7PL8qMK076479; Fri, 25 Aug 2017 21:08:52 GMT (envelope-from fjoe@FreeBSD.org) Message-Id: <201708252108.v7PL8qMK076479@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fjoe set sender to fjoe@FreeBSD.org using -f From: Max Khon Date: Fri, 25 Aug 2017 21:08:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448741 - in head/security/bruteforceblocker: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fjoe X-SVN-Commit-Paths: in head/security/bruteforceblocker: . files X-SVN-Commit-Revision: 448741 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2017 21:08:53 -0000 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) {