summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey G. Brester <serg.brester@sebres.de>2022-11-18 12:32:15 +0100
committerGitHub <noreply@github.com>2022-11-18 12:32:15 +0100
commitefbbcb41ea51db6722a3ed78767579c98dc2cd0a (patch)
treeb07ecff1466b3c5349493b96a0f8c5fd37267781
parent996553f33015547fd2872564bc212ed974b87620 (diff)
downloadfail2ban-efbbcb41ea51db6722a3ed78767579c98dc2cd0a.tar.gz
non capturing group
-rw-r--r--config/filter.d/dante.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/filter.d/dante.conf b/config/filter.d/dante.conf
index 986f1946..e3f6f7b2 100644
--- a/config/filter.d/dante.conf
+++ b/config/filter.d/dante.conf
@@ -9,7 +9,7 @@ before = common.conf
[Definition]
_daemon = danted
-failregex = ^%(__prefix_line)sinfo: block\(1\): tcp/accept \]: <HOST>\.\d+ [\d.]+: error after reading \d+ bytes? in \d+ seconds?: (could not access |system password authentication failed for )user "<F-USER>[^"]+</F-USER>"
+failregex = ^%(__prefix_line)sinfo: block\(1\): tcp/accept \]: <HOST>\.\d+ [\d.]+: error after reading \d+ bytes? in \d+ seconds?: (?:could not access |system password authentication failed for )user "<F-USER>[^"]+</F-USER>"
[Init]
journalmatch = _SYSTEMD_UNIT=danted.service