From d2efa29f6e6acf7205bbfb432c560ecdf659ed17 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 16 Apr 2020 10:01:00 +0200 Subject: [PATCH] add the roundcube modif --- debian/patches/roundcude-update.diff | 11 +++++++++++ debian/patches/series | 1 + 2 files changed, 12 insertions(+) create mode 100644 debian/patches/roundcude-update.diff diff --git a/debian/patches/roundcude-update.diff b/debian/patches/roundcude-update.diff new file mode 100644 index 00000000..3304d0bc --- /dev/null +++ b/debian/patches/roundcude-update.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 a5a028d5..4fbf4140 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,4 @@ deb_manpages_reportbug deb_no_iptables_service python3-test-suite.diff no-python-user.diff +roundcude-update.diff