aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/bruteforceblocker/Makefile1
-rw-r--r--security/bruteforceblocker/files/patch-bruteforceblocker.pl12
-rw-r--r--security/bruteforceblocker/pkg-descr2
3 files changed, 14 insertions, 1 deletions
diff --git a/security/bruteforceblocker/Makefile b/security/bruteforceblocker/Makefile
index e9cc0a03f4fd..693439b878f5 100644
--- a/security/bruteforceblocker/Makefile
+++ b/security/bruteforceblocker/Makefile
@@ -3,6 +3,7 @@
PORTNAME= bruteforceblocker
PORTVERSION= 1.2.4
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= danger@FreeBSD.org
diff --git a/security/bruteforceblocker/files/patch-bruteforceblocker.pl b/security/bruteforceblocker/files/patch-bruteforceblocker.pl
new file mode 100644
index 000000000000..215d4434e3fe
--- /dev/null
+++ b/security/bruteforceblocker/files/patch-bruteforceblocker.pl
@@ -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) {
diff --git a/security/bruteforceblocker/pkg-descr b/security/bruteforceblocker/pkg-descr
index 09c6b646811a..5b0c2a8499dc 100644
--- a/security/bruteforceblocker/pkg-descr
+++ b/security/bruteforceblocker/pkg-descr
@@ -8,4 +8,4 @@ of fails, script puts this IP to the pf's table and blocks any further
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/
ANT_GNOME and HAVE_GNOME.Mathieu Arnold2017-10-121-0/+6 * Introduce the new BINARY_ALIAS variableBaptiste Daroussin2017-10-121-0/+14 * Make ninja opt-out in cmake.mkTobias C. Berner2017-06-261-0/+14 * - Whitespace fixesMartin Wilke2017-06-041-1/+1 * Introduce new "meson" USES.Koop Mast2017-04-181-0/+5 * Add a note about make makesum verifying HTTPS certificates.Tijl Coosemans2017-03-141-0/+12 * Update Qt5 to 5.7.1, and unify the Qt4 and Qt5 ports some moreTobias C. Berner2017-02-191-0/+23 * Implement EXTRA_PATCH_TREE.Mathieu Arnold2017-01-171-0/+12 * Extract do-patch into a separate script.Mathieu Arnold2017-01-171-0/+14 * Get rid of QT_PREFIX in favour of PREFIX.Tobias C. Berner2016-12-191-0/+5 * Add all Creative Commons licensesDmitry Marakasov2016-09-131-0/+7 * Most commonly used build systems support silent builds, when theyDmitry Marakasov2016-09-101-0/+7 * Add support added for LICENSE=NONE, use it when the port doesn'tDmitry Marakasov2016-09-081-7/+16 * Document the deprecation/removal of KNOBS done in r345883 (2014-02-24)Baptiste Daroussin2016-08-271-0/+6 * Add GH_SUBDIR, automatically moves a secondary distfile to the rightMathieu Arnold2016-08-241-2/+29 * Replace Mk/bsd.kde4.mk by Mk/Uses/kde.mk in preparation for KDE Frameworks andTobias C. Berner2016-08-241-0/+14 * CHANGES: Document Uses/grantlee.mk added in r420244.Raphael Kubo da Costa2016-08-211-0/+9 * CHANGES: Fix date of the VAR_regex=regex entry.Raphael Kubo da Costa2016-08-211-1/+1 * Add regexps capacity to PLIST_SUB.Mathieu Arnold2016-08-171-0/+18 * Don't use extension.ini any more, and have each extension install in itsMathieu Arnold2016-08-031-0/+10 * USEify USES=php.Mathieu Arnold2016-06-281-0/+17 * Replace bsd.openssl.mk with USES=sslMathieu Arnold2016-06-27