From 0ef5b7c4d48254990f07a9486b1a6af6b4e866f9 Mon Sep 17 00:00:00 2001 From: sebres Date: Mon, 7 Aug 2017 15:24:16 +0200 Subject: [PATCH] small amend to gh-1850: removed greedy catch-all at end. --- config/filter.d/ejabberd-auth.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/filter.d/ejabberd-auth.conf b/config/filter.d/ejabberd-auth.conf index 052eea48..48e82df5 100644 --- a/config/filter.d/ejabberd-auth.conf +++ b/config/filter.d/ejabberd-auth.conf @@ -17,7 +17,7 @@ # Values: TEXT # failregex = ^=INFO REPORT==== ===\nI\(<0\.\d+\.0>:ejabberd_c2s:\d+\) : \([^)]+\) Failed authentication for \S+ from (?:IP )?(?: \({{(?:\d+,){3}\d+},\d+}\))?$ - ^(?:\.\d+)? \[info\] <0\.\d+\.\d>@ejabberd_c2s:\w+:\d+ \([^\)]+\) Failed (?:c2s \w+ )?authentication for \S+ from (?:IP )?(?:::FFFF:)?(: .*)?$ + ^(?:\.\d+)? \[info\] <0\.\d+\.\d>@ejabberd_c2s:\w+:\d+ \([^\)]+\) Failed (?:c2s \w+ )?authentication for \S+ from (?:IP )?(?:::FFFF:)?(?:: |$) # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored.