I don't know what platform you are on, but if you are on Linux (and possibly BSD) you could use "fail2ban" to block them at the network interface.

On 04/04/2014 09:00 AM, motty cruz wrote:
Hello All, my asterisk server is constantly under attack

[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '194.100.46.132194.100.46.132:56714' - Wrong password

is there a way to reject their registration after a three consecutive tries?

Thanks,
Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype




--
Daniel Taylor          VP Operations            Vocal Laboratories, Inc.
dtay...@vocalabs.com   http://www.vocalabs.com/            (612)235-5711

-- 
_____________________________________________________________________
-- 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

Reply via email to