From 41046e30a6eb58c03b2229f1c63ec5d9c4133417 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 21 Aug 2021 12:41:43 -0600 Subject: [PATCH] Change w+ to .* to account for domains with hyphens. --- debian/resources/fail2ban/sip-auth-failure.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/resources/fail2ban/sip-auth-failure.conf b/debian/resources/fail2ban/sip-auth-failure.conf index e8b65e7..1b9c304 100755 --- a/debian/resources/fail2ban/sip-auth-failure.conf +++ b/debian/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.