Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: portedaix on July 27, 2010, 10:27:43 AM

Title: asterisk, sail and firewall
Post by: portedaix on July 27, 2010, 10:27:43 AM
Hello,

My sip provider is ovh, france. I have this line "chan_sip.c:7289 determine_firstline_parts: Bad request protocol Packet" coming up in asterisk cli. I saw at least another adsl box sip line provider creating this message (freephonie france). It seems to be harmless to asterisk, just a package which should be droped silently. But my log file is getting quite fat ! And cli reading is not nice. asterisk-1.6 did not display it. But it is not compatible with sail.

The only fix I found is to enter the rule
                'iptables -I INPUT -p udp --src 123.123.123.123 --dport 5060 -m string --algo bm --string "Cirpack KeepAlive" -j DROP Packet'
But with sme and its templates, I do not know how to fix it. Any idea not to see this message again ?

Thanks for any hint.
Olivier
Title: Re: asterisk, sail and firewall
Post by: guest22 on July 28, 2010, 08:13:29 AM
Maybe this helps?

http://wiki.contribs.org/SME_Server:Documentation:FAQ#Firewall

ps. Please do not Cross post.