Re: [Astlinux-users] Adaptive Ban plugin

2013-05-18 Thread Lonnie Abelbeck
p.conf. > > Dominko > > > - Original Message - > From: Lonnie Abelbeck > To: AstLinux Users Mailing List > Cc: > Sent: Friday, May 17, 2013 12:53 AM > Subject: Re: [Astlinux-users] Adaptive Ban plugin > > Followup, > > I'd like to hear from other

Re: [Astlinux-users] Adaptive Ban plugin

2013-05-17 Thread Dominko Vrljic
Lonnie, thanks for helping. I am using Asterisk 11, without acl.conf. Just deny/permit in sip.conf. Dominko - Original Message - From: Lonnie Abelbeck To: AstLinux Users Mailing List Cc: Sent: Friday, May 17, 2013 12:53 AM Subject: Re: [Astlinux-users] Adaptive Ban plugin Followup

Re: [Astlinux-users] Adaptive Ban plugin

2013-05-16 Thread Lonnie Abelbeck
Followup, I'd like to hear from others with their comments. I tested with Asterisk 11, the long supported deny/permit in sip.conf will generate the "acl.c:.. Rejecting 'ip.xx.xx.xx'..." logs as noted below with a failed attempt outside of the deny/permit range. The question for others here, is

Re: [Astlinux-users] Adaptive Ban plugin

2013-05-16 Thread Lonnie Abelbeck
Hi Dominko, Thanks for the log data, I can't find that acl.c log in Asterisk 1.8, that log appears to have been added with Asterisk 11... -- main/acl.c: 748: ast_log(LOG_NOTICE, "%sRejecting '%s' due to a failure to pass ACL '%s'\n", purpose ? purpose : "", ast_sockaddr_stringify_addr(addr),

[Astlinux-users] Adaptive Ban plugin

2013-05-16 Thread Dominko Vrljic
Hi all, for several days I can see in my astlinux logs: May 16 00:48:05 pbx local0.notice asterisk[1373]: NOTICE[1405]: chan_sip.c:25152 in handle_request_invite: Failed to authenticate device 1002;tag=9a886c0a May 16 00:48:07 pbx local0.notice asterisk[1373]: NOTICE[1405]: chan_sip.c:25152 in h

[Astlinux-users] Adaptive Ban Plugin, dialplan ban

2012-05-27 Thread Lonnie Abelbeck
Hi Ionel, I agree with James, you should not be editing the adaptive ban script, there are several problems that will cause. Maybe as a group we can simplify James's solution so it can be more generically included into an existing dialplan. Note James's code only works for Asterisk 1.4, so we