On 2 April 2011 09:46, Jonas Kellens <[email protected]> wrote: > Hello list, > > I often see the following in my message log : > > [Apr 2 08:15:01] NOTICE[22988] chan_sip.c: Registration from '"000000" > <sip:000000@MY-IP>' failed for '184.106.109.168' - No matching peer found > [Apr 2 08:15:01] NOTICE[22988] chan_sip.c: Registration from '"000000" > <sip:000000@MY-IP>' failed for '184.106.109.168' - No matching peer found > [Apr 2 08:15:01] NOTICE[22988] chan_sip.c: Registration from '"000000" > <sip:000000@MY-IP>' failed for '184.106.109.168' - No matching peer found > [Apr 2 08:15:01] NOTICE[22988] chan_sip.c: Registration from '"000000" > <sip:000000@MY-IP>' failed for '184.106.109.168' - No matching peer found > [Apr 2 08:15:01] NOTICE[22988] chan_sip.c: Registration from '"000000" > <sip:000000@MY-IP>' failed for '184.106.109.168' - No matching peer found > > And there are hundreds of them... > > > Is there a setting so I can make Asterisk not respond to SIP PEER > registrations which are not in my sip.conf or my realtime MySQL DB ??
Yes, you add a rule to your firewall! Even better, get it filtered further out so that it does not waste your inbound Internet bandwidth, because in my experience, once those SIP spammers start, they continue for weeks at the very least. IIRC, the way SIP registrations works basically requires than an failed/un-authorised attempt is responded to, so that the other party knows to authenticate. If you stop sending that response, no-one can authenticate. Hope that helps. Steve -- _____________________________________________________________________ -- 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
