svn commit: r448741 - in head/security/bruteforceblocker: . files
Max Khon
fjoe at FreeBSD.org
Fri Aug 25 21:08:53 UTC 2017
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) {
More information about the svn-ports-all
mailing list