Jaap Winius
2007-Dec-29 18:32 UTC
[asterisk-users] Cirpack KeepAlive packets causing SIP errors
Hi list, After a recent upgrade to Asterisk v1.4.14, my message log is now filling up with the following error messages: <-------------> [Dec 29 17:24:52] WARNING[10655]: chan_sip.c:6645 determine_firstline_parts: Bad request protocol Packet --- (1 headers 0 lines) --- bitis*CLI> <--- SIP read from 82.101.62.99:5060 ---> Cirpack KeepAlive Packet <-------------> Seeing as these packets are being sent by one of my service providers, I can't just turn them off. What's the best solution for this problem? Thanks, Jaap
Michiel van Baak
2007-Dec-29 18:44 UTC
[asterisk-users] Cirpack KeepAlive packets causing SIP errors
On 19:32, Sat 29 Dec 07, Jaap Winius wrote:> Hi list, > > After a recent upgrade to Asterisk v1.4.14, my message log is now > filling up with > the following error messages: > > <-------------> > [Dec 29 17:24:52] WARNING[10655]: chan_sip.c:6645 > determine_firstline_parts: Bad request protocol Packet > --- (1 headers 0 lines) --- > bitis*CLI> > <--- SIP read from 82.101.62.99:5060 ---> > Cirpack KeepAlive Packet > <-------------> > > Seeing as these packets are being sent by one of my service providers, > I can't just turn them off. What's the best solution for this problem?Are you using XS4ALL ? I had the same and convinced oej those warnings are annoying. In trunk he moved them to DEBUG: http://svn.digium.com/view/asterisk?view=rev&revision=93741 Maybe you can backport this change. You can also remove the ast_log line. That's what I've been doing for some time before oej committed this move to debug. -- Michiel van Baak michiel at vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD "Why is it drug addicts and computer afficionados are both called users?"
Have a look at this: http://bugs.digium.com/view.php?id=7261&nbn=6 If you are running on linux (with a recent kernel), add the iptables firewall rule to drop the bad packets: # drop Keep Alive packets from Cirpack SIP proxy xs4all /sbin/iptables -A INPUT -p udp -m udp --dport 5060 -m string --string "Cirpack KeepAlive Packet" --algo bm -j DROP Worked for me. Hans Jaap Winius wrote:> Hi list, > > After a recent upgrade to Asterisk v1.4.14, my message log is now > filling up with > the following error messages: > > <-------------> > [Dec 29 17:24:52] WARNING[10655]: chan_sip.c:6645 > determine_firstline_parts: Bad request protocol Packet > --- (1 headers 0 lines) --- > bitis*CLI> > <--- SIP read from 82.101.62.99:5060 ---> > Cirpack KeepAlive Packet > <-------------> > > Seeing as these packets are being sent by one of my service providers, > I can't just turn them off. What's the best solution for this problem? > > Thanks, > > Jaap > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >