[asterisk-users] stopping unwanted attempts

2014-01-18 Thread Jerry Geis
I see MANY of these in my log files: [Jan 15 03:06:12] NOTICE[14129] chan_sip.c: Registration from '202 sip:202@X:5060' failed for '37.8.12.147:26832' - Wrong password [Jan 15 03:06:19] NOTICE[14129] chan_sip.c: Registration from '5001 sip:5001@X:5060' failed for '37.8.12.147:21268' - Wrong

Re: [asterisk-users] stopping unwanted attempts

2014-01-18 Thread Andrew Colin
Fail2ban works well otherwise you can write your own script im bash or perl to block them in iptables Regards Andrew Colin-mobile Vsave(PTY)Ltd Original message From: Jerry Geis ge...@pagestation.com Date:18/01/2014 10:59 PM (GMT+02:00) To:

Re: [asterisk-users] stopping unwanted attempts

2014-01-18 Thread Steve Edwards
On Sat, 18 Jan 2014, Jerry Geis wrote: I see MANY of these in my log files: [Jan 15 03:06:12] NOTICE[14129] chan_sip.c: Registration from '202 sip:202@X:5060' failed for '37.8.12.147:26832' - Wrong password What is the correct way to block these idiots so they don't even get this far. Use