瀏覽代碼

fail2ban add INVITE to auth challange filter (#401)

agree 3 年之前
父節點
當前提交
8afacd9262
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      debian/resources/fail2ban/sip-auth-challenge.conf

+ 1 - 1
debian/resources/fail2ban/sip-auth-challenge.conf

@@ -12,7 +12,7 @@
 #          (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
 # Values:  TEXT
 #
-failregex = \[WARNING\] sofia_reg.c:\d+ SIP auth challenge \(REGISTER\) on sofia profile \'.*\' for \[.*\] from ip <HOST>
+failregex = \[WARNING\] sofia_reg.c:\d+ SIP auth challenge \((?:REGISTER|INVITE)\) on sofia profile \'.*\' for \[.*\] from ip <HOST>
 
 # Option:  ignoreregex
 # Notes.:  regex to ignore. If this regex matches, the line is ignored.