summaryrefslogtreecommitdiffstats
path: root/firmware/kaweth
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2011-06-16 17:29:22 +0200
committerPatrick McHardy <kaber@trash.net>2011-06-16 17:29:22 +0200
commit42c1edd345c8412d96e7a362ee06feb7be73bb6c (patch)
tree5b05b0324b8186fe8bc40ffced48c856b099547d /firmware/kaweth
parentnetfilter: fix looped (broad|multi)cast's MAC handling (diff)
downloadlinux-42c1edd345c8412d96e7a362ee06feb7be73bb6c.tar.xz
linux-42c1edd345c8412d96e7a362ee06feb7be73bb6c.zip
netfilter: nf_nat: avoid double seq_adjust for loopback
Avoid double seq adjustment for loopback traffic because it causes silent repetition of TCP data. One example is passive FTP with DNAT rule and difference in the length of IP addresses. This patch adds check if packet is sent and received via loopback device. As the same conntrack is used both for outgoing and incoming direction, we restrict seq adjustment to happen only in POSTROUTING. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'firmware/kaweth')
0 files changed, 0 insertions, 0 deletions