From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohan Sundaram Date: Fri, 12 Oct 2007 03:37:52 +0000 Subject: Re: [LARTC] Filtering RTP/SIP protocol (Voip)? Message-Id: <470EE940.7060103@vsnl.com> List-Id: References: <470EB634.2050108@swiss-wireless.com.ar> In-Reply-To: <470EB634.2050108@swiss-wireless.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Salim S I wrote: > SIP is pretty easy. Normally it uses 5060 port. But prioritizing this > port traffic won't enhance the overall voice quality. > RTP ports are decided dynamically during SIP handshake. To filter RTP > protocol from packet pattern will delay the traffic. So using port > number is easier way, BUT, you need to find out these ports from the SIP > handshake messages. > How to prioritize depends on your setup's capabilities. > Correct. However, some conntrack modules are available for such dual port (negotiated data port) protocols like ftp. Need to see if one exists for SIP. If so, iptables can be used to mark SIP data connections and the mark can be used for traffic classification. Search netfilter.org mailing lists please. Mohan _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc