Koozali.org: home of the SME Server

asterisk, sail and firewall

Offline portedaix

  • ***
  • 54
  • +0/-0
asterisk, sail and firewall
« 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

guest22

Re: asterisk, sail and firewall
« Reply #1 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.