Skip to content

Commit

Permalink
Change \w+ to .* to account for domains with hyphens.
Browse files Browse the repository at this point in the history
  • Loading branch information
markjcrane committed Aug 21, 2021
1 parent d6f6b71 commit bf79309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubuntu/resources/fail2ban/sip-auth-failure.conf
Expand Up @@ -12,7 +12,7 @@
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
# Values: TEXT
#
failregex = \[WARNING\] sofia_reg.c:\d+ SIP auth failure \(REGISTER\) on sofia profile \'\w+\' for \[.*\] from ip <HOST>
failregex = \[WARNING\] sofia_reg.c:\d+ SIP auth failure \(REGISTER\) on sofia profile \'.*\' for \[.*\] from ip <HOST>

# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
Expand Down

0 comments on commit bf79309

Please sign in to comment.