mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Handle "error: maximum authentication attempts exceeded for ... from ..." log messages.
Approved by: MAINTAINER timeout (8d)
This commit is contained in:
parent
3fc8d52895
commit
89e68661bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448741
@ -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
|
||||
|
12
security/bruteforceblocker/files/patch-bruteforceblocker.pl
Normal file
12
security/bruteforceblocker/files/patch-bruteforceblocker.pl
Normal file
@ -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) {
|
Loading…
Reference in New Issue
Block a user