From 996553f33015547fd2872564bc212ed974b87620 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Fri, 18 Nov 2022 12:31:11 +0100 Subject: [PATCH] review, simplify regex and capture user name --- config/filter.d/dante.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/filter.d/dante.conf b/config/filter.d/dante.conf index d95f96b4..986f1946 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 \]: \.\d+ [\d.]+: error after reading \d+ bytes? in \d+ seconds?: (could not access user "\w+"'s records in the system password file: no system error|system password authentication failed for user "\w+")$ +failregex = ^%(__prefix_line)sinfo: block\(1\): tcp/accept \]: \.\d+ [\d.]+: error after reading \d+ bytes? in \d+ seconds?: (could not access |system password authentication failed for )user "[^"]+" [Init] journalmatch = _SYSTEMD_UNIT=danted.service