aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_bridge.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-05-03 03:35:31 -0700
committerDavid S. Miller <davem@davemloft.net>2007-05-03 03:35:31 -0700
commitcfd6c38096d75c8b86782683c5f45c415a505b78 (patch)
treee89cf155ed3f19bdce288da522e5f1b7445065b9 /include/linux/netfilter_bridge.h
parent[NETFILTER]: nf_nat_proto_gre: do not modify/corrupt GREv0 packets through NAT (diff)
downloadlinux-dev-cfd6c38096d75c8b86782683c5f45c415a505b78.tar.xz
linux-dev-cfd6c38096d75c8b86782683c5f45c415a505b78.zip
[NETFILTER]: sip: Fix RTP address NAT
I needed to use this recently to talk to a Cisco server. In my case I only did SNAT while the Cisco server used a different address for RTP traffic than the one for SIP. I discovered that nf_nat_sip NATed the RTP address to the SIP one which was unnecessary but OK. However, in doing so it did not DNAT the destination address on the RTP traffic to the Cisco back to the original RTP address. This patch corrects this by noting down the RTP address and using it when the expectation fires. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter_bridge.h')
0 files changed, 0 insertions, 0 deletions