From 55508fe5c0aaf7c5083cb8a23088c9705f6a1db5 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 24 Nov 2020 18:25:26 +0100 Subject: [PATCH] add back the roundcube patch --- debian/patches/roundcube.diff | 11 +++++++++++ debian/patches/series | 1 + 2 files changed, 12 insertions(+) create mode 100644 debian/patches/roundcube.diff diff --git a/debian/patches/roundcube.diff b/debian/patches/roundcube.diff new file mode 100644 index 00000000..3304d0bc --- /dev/null +++ b/debian/patches/roundcube.diff @@ -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 .* from (?:(?:\([^\)]*\))?\. (?:(?! from ).)*(?: user=(?P=user))? in \S+\.php on line \d+ \(\S+ \S+\))?$ + ^(?:<[\w]+> )?Failed login for .* from in session \w+( \(error: \d\))?$ + +-ignoreregex = ++ignoreregex = Could not connect to .* Connection refused + + journalmatch = SYSLOG_IDENTIFIER=roundcube + diff --git a/debian/patches/series b/debian/patches/series index 6fb515d1..16ab09e3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ deb_no_iptables_service python3-test-suite.diff no-python-user.diff python-3.9.patch +roundcube.diff