kernel-ark/net
KOVACS Krisztian a3116ac5c2 tcp: Port redirection support for TCP
Current TCP code relies on the local port of the listening socket
being the same as the destination address of the incoming
connection. Port redirection used by many transparent proxying
techniques obviously breaks this, so we have to store the original
destination port address.

This patch extends struct inet_request_sock and stores the incoming
destination port value there. It also modifies the handshake code to
use that value as the source port when sending reply packets.

Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-10-01 07:46:49 -07:00
..
9p
802
8021q
appletalk
atm
ax25
bluetooth
bridge
can
core net: BUG instead of corrupting memory in pskb_expand_head 2008-10-01 07:09:38 -07:00
dccp
decnet
econet
ethernet
ieee80211
ipv4 tcp: Port redirection support for TCP 2008-10-01 07:46:49 -07:00
ipv6 ipv4: Make inet_sock.h independent of route.h 2008-10-01 07:33:10 -07:00
ipx
irda
iucv iucv: Fix mismerge again. 2008-09-30 03:03:35 -07:00
key ipsec: Put dumpers on the dump list 2008-10-01 07:03:24 -07:00
lapb
llc
mac80211 Fix modpost failure when rx handlers are not inlined. 2008-09-30 14:07:25 -04:00
netfilter
netlabel
netlink
netrom
packet
phonet
rfkill
rose
rxrpc
sched
sctp Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-01 06:12:56 -07:00
sunrpc
tipc
unix
wanrouter
wireless
x25
xfrm ipsec: Put dumpers on the dump list 2008-10-01 07:03:24 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE