From: <abe...@us...> - 2016-11-23 21:46:59
|
Revision: 7978 http://sourceforge.net/p/astlinux/code/7978 Author: abelbeck Date: 2016-11-23 21:46:57 +0000 (Wed, 23 Nov 2016) Log Message: ----------- arnofw, adaptive-ban plugin, asterisk filter, add chan_sip 'Not a local domain' entry and chan_pjsip 'No matching endpoint found'. Thanks to Armin T?\195?\188ting. Sample logs: Nov 23 09:28:15 pbx4 local0.notice asterisk[15375]: NOTICE[10202]: res_pjsip/pjsip_distributor.c:246 log_unidentified_request: Request from '"Ilya" <sip:502@192.168.1.1>' failed for '192.168.1.1:5060' (callid: ZTNhYjU4ZjU5ZmUxNjM5M2FlYjBlYTE3YzgwZTU4MGY.) - No matching endpoint found Nov 23 09:28:15 pbx4 local0.notice asterisk[15375]: NOTICE[3008]: chan_sip.c: Registration from '"Leigh" <sip:101@192.168.0.2>' failed for '192.168.0.6' - Not a local domain Modified Paths: -------------- branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh Modified: branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh =================================================================== --- branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh 2016-11-21 23:11:10 UTC (rev 7977) +++ branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh 2016-11-23 21:46:57 UTC (rev 7978) @@ -172,7 +172,9 @@ -e "s/^${PREFIX}NOTICE.* .*: Registration from '.*' failed for '${HOST}' - No matching peer found$/\1/p" \ -e "s/^${PREFIX}NOTICE.* .*: Registration from '.*' failed for '${HOST}' - Username\/auth name mismatch$/\1/p" \ -e "s/^${PREFIX}NOTICE.* .*: Registration from '.*' failed for '${HOST}' - Device does not match ACL$/\1/p" \ + -e "s/^${PREFIX}NOTICE.* .*: Registration from '.*' failed for '${HOST}' - Not a local domain$/\1/p" \ -e "s/^${PREFIX}NOTICE.* .*: Rejecting '${HOST}' due to a failure to pass ACL '.*'$/\1/p" \ + -e "s/^${PREFIX}NOTICE.* .*: Request from '.*' failed for '${HOST}' \(.*\) - No matching endpoint found$/\1/p" \ -e "s/^${PREFIX}NOTICE.* '${HOST}' - Dialplan Noted Suspicious IP Address$/\1/p" \ -e "s/^${PREFIX}NOTICE.* ${HOST} failed to authenticate as '.*'$/\1/p" \ -e "s/^${PREFIX}NOTICE.* .*: No registration for peer '.*' \(from ${HOST}\)$/\1/p" \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |