From: Adam D. Barratt Date: Thu, 26 Sep 2019 17:29:45 +0000 (+0100) Subject: fail2ban: make exim "AUTH LOGIN" match case-insensitive X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=17645dfe413cba8c5fb44f318509b66899de522b fail2ban: make exim "AUTH LOGIN" match case-insensitive Apparently people are trying it in lower-case as well Signed-off-by: Adam D. Barratt --- diff --git a/modules/fail2ban/files/filter/dsa-exim.conf b/modules/fail2ban/files/filter/dsa-exim.conf index 2d56613e1..64c8c1eb6 100644 --- a/modules/fail2ban/files/filter/dsa-exim.conf +++ b/modules/fail2ban/files/filter/dsa-exim.conf @@ -4,7 +4,7 @@ before = exim-common.conf [Definition] -failregex = ^%(pid)s SMTP protocol error in "AUTH LOGIN" .* \[\] AUTH command used when not advertised$ +failregex = ^%(pid)s SMTP protocol error in "(?i:AUTH LOGIN)" .* \[\] AUTH command used when not advertised$ ^%(pid)s %(host_info)ssender verify fail for <\S+>: (?:Unknown user|Unrouteable address|all relevant MX records point to non-existent hosts)\s*$ ^%(pid)s \w+ authenticator failed for (\S+ )?\(\S+\) \[\](:\d+)?( I=\[\S+\](:\d+)?)?: 535 Incorrect authentication data( \(set_id=.*\)|: \d+ Time\(s\))?\s*$ ^%(pid)s %(host_info)sF=(<>|[^@]+@\S+) rejected RCPT [^@]+@\S+: (relay not permitted|Sender verify failed|Unknown user|Unrouteable address|Invalid local part)\s*$