On Mar 5, 2012, at 1:34 AM, Michael Keuter wrote: > > Am 04.03.2012 um 23:51 schrieb Lonnie Abelbeck: > >> Hi David, >> >> This appears to be a new error log in Asterisk 1.8, and the Adaptive Ban >> plugin does not yet catch it. >> >> The Asterisk code is: >> -- >> ast_log(LOG_NOTICE, "Call from '%s' (%s) to extension" >> " '%s' rejected because extension not found in context '%s'.\n", >> S_OR(p->username, p->peername), ast_sockaddr_stringify(&p->recv), >> decoded_exten, p->context); >> -- >> So we should be able to easily add this to the Adaptive Ban plugin. >> >> Wouldn't it be nice if all of Asterisk's serious error logs had a common >> format, containing the source IP address. >> >> Lonnie > > > I think that you can also trigger the above message, if you just dial a > non-existing extension as a normal user. > > Michael
Good point Michael. Do you think this would be a problem matching the log by the Adaptive Ban plugin ? The ADAPTIVE_BAN_WHITELIST_INTERNAL=1 should mitigate normal users with fat fingers. If this is too general of a log to add to the Adaptive Ban plugin, please comment. In Asterisk 1.4, the number of logs with the source IP address was few. Lonnie ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
