From bf7930955d7b729b3db4bd7f01ff4599525f2754 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 21 Aug 2021 12:49:14 -0600 Subject: [PATCH] Change \w+ to .* to account for domains with hyphens. --- ubuntu/resources/fail2ban/sip-auth-failure.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/resources/fail2ban/sip-auth-failure.conf b/ubuntu/resources/fail2ban/sip-auth-failure.conf index e8b65e7..0d4ee23 100755 --- a/ubuntu/resources/fail2ban/sip-auth-failure.conf +++ b/ubuntu/resources/fail2ban/sip-auth-failure.conf @@ -12,7 +12,7 @@ # (?:::f{4,6}:)?(?P[\w\-.^_]+) # Values: TEXT # -failregex = \[WARNING\] sofia_reg.c:\d+ SIP auth failure \(REGISTER\) on sofia profile \'\w+\' for \[.*\] from ip +failregex = \[WARNING\] sofia_reg.c:\d+ SIP auth failure \(REGISTER\) on sofia profile \'.*\' for \[.*\] from ip # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored.