From owner-svn-ports-all@freebsd.org Fri Mar 23 19:45:59 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1C48F68AB7; Fri, 23 Mar 2018 19:45:58 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EFE488D37; Fri, 23 Mar 2018 19:45:58 +0000 (UTC) (envelope-from pi@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6AD35244DF; Fri, 23 Mar 2018 19:45:58 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2NJjw1u002012; Fri, 23 Mar 2018 19:45:58 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2NJjwAC002009; Fri, 23 Mar 2018 19:45:58 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201803231945.w2NJjwAC002009@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Fri, 23 Mar 2018 19:45:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465400 - in head/security/bruteforceblocker: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/security/bruteforceblocker: . files X-SVN-Commit-Revision: 465400 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.25 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, 23 Mar 2018 19:45:59 -0000 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 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@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/