Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2018 19:45:58 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465400 - in head/security/bruteforceblocker: . files
Message-ID:  <201803231945.w2NJjwAC002009@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803231945.w2NJjwAC002009>