add back the roundcube patch

debian
Sylvestre Ledru 2020-11-24 18:25:26 +01:00
parent dc3dd47701
commit 55508fe5c0
2 changed files with 12 additions and 0 deletions

11
debian/patches/roundcube.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

@ -6,3 +6,4 @@ deb_no_iptables_service
python3-test-suite.diff
no-python-user.diff
python-3.9.patch
roundcube.diff