add the roundcube modif

debian
Sylvestre Ledru 2020-04-16 10:01:00 +02:00
parent a98e6cdd4d
commit d2efa29f6e
2 changed files with 12 additions and 0 deletions

11
debian/patches/roundcude-update.diff vendored Normal file
View File

@ -0,0 +1,11 @@
--- fail2ban-0.11.1.orig/config/filter.d/roundcube-auth.conf
+++ fail2ban-0.11.1/config/filter.d/roundcube-auth.conf
@@ -18,7 +18,7 @@ prefregex = ^\s*(\[\])?(%(__hostname)s\s
failregex = ^(?:FAILED login|Login failed) for <F-USER>.*</F-USER> from <HOST>(?:(?:\([^\)]*\))?\. (?:(?! from ).)*(?: user=(?P=user))? in \S+\.php on line \d+ \(\S+ \S+\))?$
^(?:<[\w]+> )?Failed login for <F-USER>.*</F-USER> from <HOST> in session \w+( \(error: \d\))?$
-ignoreregex =
+ignoreregex = Could not connect to .* Connection refused
journalmatch = SYSLOG_IDENTIFIER=roundcube

View File

@ -5,3 +5,4 @@ deb_manpages_reportbug
deb_no_iptables_service
python3-test-suite.diff
no-python-user.diff
roundcude-update.diff