diff --git a/config/filter.d/asterisk.conf b/config/filter.d/asterisk.conf index 56ea68b4..a8f65e09 100644 --- a/config/filter.d/asterisk.conf +++ b/config/filter.d/asterisk.conf @@ -17,19 +17,19 @@ before = common.conf # Notes.: regex to match the password failures messages in the logfile. # Values: TEXT # -failregex = \]\s*NOTICE%(__pid_re)s [^:]+: Registration from '[^']*' failed for '(:\d+)?' - Wrong password$ - \]\s*NOTICE%(__pid_re)s [^:]+: Registration from '[^']*' failed for '(:\d+)?' - No matching peer found$ - \]\s*NOTICE%(__pid_re)s [^:]+: Registration from '[^']*' failed for '(:\d+)?' - Username/auth name mismatch$ - \]\s*NOTICE%(__pid_re)s [^:]+: Registration from '[^']*' failed for '(:\d+)?' - Device does not match ACL$ - \]\s*NOTICE%(__pid_re)s [^:]+: Registration from '[^']*' failed for '(:\d+)?' - Peer is not supposed to register$ - \]\s*NOTICE%(__pid_re)s [^:]+: Registration from '[^']*' failed for '(:\d+)?' - ACL error \(permit/deny\)$ - \]\s*NOTICE%(__pid_re)s [^:]+: Registration from '[^']*' failed for '(:\d+)?' - Not a local domain$ - \]\s*NOTICE%(__pid_re)s\[[^:]+\] [^:]+: Call from '[^']*' \(:\d+\) to extension '\d+' rejected because extension not found in context 'default'\.$ - \]\s*NOTICE%(__pid_re)s [^:]+: Host failed to authenticate as '[^']*'$ - \]\s*NOTICE%(__pid_re)s [^:]+: No registration for peer '[^']*' \(from \)$ - \]\s*NOTICE%(__pid_re)s [^:]+: Host failed MD5 authentication for '[^']*' \([^)]+\)$ - \]\s*NOTICE%(__pid_re)s [^:]+: Failed to authenticate user [^@]+@\S*$ - \]\s*SECURITY%(__pid_re)s [^:]+: SecurityEvent="InvalidAccountID",EventTV="[\d-]+",Severity="[\w]+",Service="[\w]+",EventVersion="\d+",AccountID="\d+",SessionID="0x[\da-f]+",LocalAddress="IPV[46]/(UD|TC)P/[\da-fA-F:.]+/\d+",RemoteAddress="IPV[46]/(UD|TC)P//\d+"$ +failregex = ^\[\]\s*NOTICE%(__pid_re)s \S+: Registration from '[^']*' failed for '(:\d+)?' - Wrong password$ + ^\[\]\s*NOTICE%(__pid_re)s \S+: Registration from '[^']*' failed for '(:\d+)?' - No matching peer found$ + ^\[\]\s*NOTICE%(__pid_re)s \S+: Registration from '[^']*' failed for '(:\d+)?' - Username/auth name mismatch$ + ^\[\]\s*NOTICE%(__pid_re)s \S+: Registration from '[^']*' failed for '(:\d+)?' - Device does not match ACL$ + ^\[\]\s*NOTICE%(__pid_re)s \S+: Registration from '[^']*' failed for '(:\d+)?' - Peer is not supposed to register$ + ^\[\]\s*NOTICE%(__pid_re)s \S+: Registration from '[^']*' failed for '(:\d+)?' - ACL error \(permit/deny\)$ + ^\[\]\s*NOTICE%(__pid_re)s \S+: Registration from '[^']*' failed for '(:\d+)?' - Not a local domain$ + ^\[\]\s*NOTICE%(__pid_re)s\[\S+\] \S+: Call from '[^']*' \(:\d+\) to extension '\d+' rejected because extension not found in context 'default'\.$ + ^\[\]\s*NOTICE%(__pid_re)s \S+: Host failed to authenticate as '[^']*'$ + ^\[\]\s*NOTICE%(__pid_re)s \S+: No registration for peer '[^']*' \(from \)$ + ^\[\]\s*NOTICE%(__pid_re)s \S+: Host failed MD5 authentication for '[^']*' \([^)]+\)$ + ^\[\]\s*NOTICE%(__pid_re)s \S+: Failed to authenticate user [^@]+@\S*$ + ^\[\]\s*SECURITY%(__pid_re)s \S+: SecurityEvent="InvalidAccountID",EventTV="[\d-]+",Severity="[\w]+",Service="[\w]+",EventVersion="\d+",AccountID="\d+",SessionID="0x[\da-f]+",LocalAddress="IPV[46]/(UD|TC)P/[\da-fA-F:.]+/\d+",RemoteAddress="IPV[46]/(UD|TC)P//\d+"$ # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored.