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