* nf_conntrack_sip howto ?
@ 2008-06-06 13:53 Sébastien Cramatte
2008-06-06 14:17 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Cramatte @ 2008-06-06 13:53 UTC (permalink / raw)
To: netfilter
Hello
I'm search for an howto or any docs to use "nf_conntrack_sip".
I've build a traffic shapper and I want to classify SIP, IAX and RTP
traffic.
Thank you for your help
Regards
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nf_conntrack_sip howto ?
2008-06-06 13:53 nf_conntrack_sip howto ? Sébastien Cramatte
@ 2008-06-06 14:17 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2008-06-06 14:17 UTC (permalink / raw)
To: Sébastien Cramatte; +Cc: netfilter
Sébastien Cramatte wrote:
> Hello
>
> I'm search for an howto or any docs to use "nf_conntrack_sip".
> I've build a traffic shapper and I want to classify SIP, IAX and RTP
> traffic.
First, you probably want to use the version in the current -rc
kernel, which includes lots of bugfixes for proper parsing and
more complicated scenarios involving multiple endpoints.
The module has two parameters you might need to change:
- sip_direct_signalling:expect incoming calls from registrar only
(default 1) (int)
Controls whether incoming calls are only coming from the
host that you REGISTER with, or from anywhere. In the
later case the expectation for incoming calls is created
with a wildcard source. With normal SIP telephony providers
usually not necessary.
- sip_direct_media:Expect Media streams between signalling endpoints
only (default 1) (int)
Same thing for RTP streams. This one you often do have to
set to 0, for example when the SIP providers uses load-
balancing or has agreements with other providers to route
RTP directly between endpoints.
Matching on SIP is simple (-m udp --dport 5060). RTP can
be matched on using "-m helper --helper sip". Using marks
you can use this information for TC classification.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-06 14:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-06 13:53 nf_conntrack_sip howto ? Sébastien Cramatte
2008-06-06 14:17 ` Patrick McHardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox