No, you don't need your script for this. Prevent attacks by using fail2ban to block brute force attacks using iptables, securing your server at the OS level, and NEVER EVER EVER let leave the web GUI for FreePBX open to the internet. I'm sure others have more suggestions.
Over the years 100% of successful attacks against our Asterisk/FreePBX servers (we have 20 or 30 servers) used the FreePBX GUI to get access to the server. We use very complex passwords for SIP accounts and use a non-default password for the Polycom provisioning user. -----Original Message----- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonson Player Sent: Tuesday, November 20, 2012 4:43 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] No more connections allowed. [snip] What is your advice? I need this analyzing script to monitor when i have strange rise of use channels to prevent attacks or brute force. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users