From 0d07bcd1b43d51e222291cc8f25fd730649a6b97 Mon Sep 17 00:00:00 2001 From: mafoo Date: Mon, 12 Sep 2016 11:17:35 +0100 Subject: [PATCH] BugFix-Catch auth challence failures --- debian/resources/fail2ban/freeswitch.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/resources/fail2ban/freeswitch.conf b/debian/resources/fail2ban/freeswitch.conf index b187b49..50470a1 100644 --- a/debian/resources/fail2ban/freeswitch.conf +++ b/debian/resources/fail2ban/freeswitch.conf @@ -7,8 +7,8 @@ # (?:::f{4,6}:)?(?P[\w\-.^_]+) # Values: TEXT # -failregex = \[WARNING\] sofia_reg.c:\d+ SIP auth failure \(REGISTER\) on sofia profile \'\w+\' for \[.*\] from ip - \[WARNING\] sofia_reg.c:\d+ SIP auth failure \(INVITE\) on sofia profile \'\w+\' for \[.*\] from ip +failregex = \[WARNING\] sofia_reg\.c:\d+ SIP auth failure \((?:INVITE|REGISTER)\) on sofia profile \'\w+\' for \[.*\] from ip + \[WARNING\] switch_core_state_machine\.c:\d+ \w{8}(?:-\w{4}){3}-\w{12} sofia\/\w+\/.*@ Abandoned # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored.