summaryrefslogtreecommitdiffstats
path: root/net/ipv4/syncookies.c
diff options
context:
space:
mode:
authorKOVACS Krisztian2008-10-01 16:41:00 +0200
committerDavid S. Miller2008-10-01 16:41:00 +0200
commit88ef4a5a78e63420dd1dd770f1bd1dc198926b04 (patch)
tree42409d6d26fb6f954c501ac156d34265437d18f9 /net/ipv4/syncookies.c
parentipv4: Conditionally enable transparent flow flag when connecting (diff)
downloadkernel-qcow2-linux-88ef4a5a78e63420dd1dd770f1bd1dc198926b04.tar.gz
kernel-qcow2-linux-88ef4a5a78e63420dd1dd770f1bd1dc198926b04.tar.xz
kernel-qcow2-linux-88ef4a5a78e63420dd1dd770f1bd1dc198926b04.zip
tcp: Handle TCP SYN+ACK/ACK/RST transparency
The TCP stack sends out SYN+ACK/ACK/RST reply packets in response to incoming packets. The non-local source address check on output bites us again, as replies for transparently redirected traffic won't have a chance to leave the node. This patch selectively sets the FLOWI_FLAG_ANYSRC flag when doing the route lookup for those replies. Transparent replies are enabled if the listening socket has the transparent socket flag set. Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/syncookies.c')
0 files changed, 0 insertions, 0 deletions