[NETFILTER]: nf_conntrack_sip: RTP routing optimization
authorPatrick McHardy <kaber@trash.net>
Wed, 26 Mar 2008 03:26:43 +0000 (20:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2008 03:26:43 +0000 (20:26 -0700)
commitc7f485abd618e0d249bdd1abdc586bd10fee1954
tree618ad078a96c0f7c641efaa38f0d363ee2775e42
parent0d0ab0378d67517a4f4ae3497706c13d9dd24af1
[NETFILTER]: nf_conntrack_sip: RTP routing optimization

Optimize call routing between NATed endpoints: when an external
registrar sends a media description that contains an existing RTP
expectation from a different SNATed connection, the gatekeeper
is trying to route the call directly between the two endpoints.

We assume both endpoints can reach each other directly and
"un-NAT" the addresses, which makes the media stream go between
the two endpoints directly.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nf_conntrack_sip.h
net/ipv4/netfilter/nf_nat_sip.c
net/netfilter/nf_conntrack_sip.c