[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081001.074726.20974386.davem@davemloft.net>
Date: Wed, 01 Oct 2008 07:47:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hidden@....bme.hu
Cc: kaber@...sh.net, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org
Subject: Re: [net-next PATCH 08/16] Port redirection support for TCP
From: KOVACS Krisztian <hidden@....bme.hu>
Date: Wed, 01 Oct 2008 16:24:31 +0200
> 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@....bme.hu>
Applied to net-next-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists