From: Florian Westphal Subject: Re: [PATCH 1/1] tproxy: do not assign timewait sockets to skb->sk Date: Thu, 17 Feb 2011 21:52:49 +0100 Message-ID: <20110217205249.GF8821@Chamillionaire.breakpoint.cc> References: <1297683874-10188-1-git-send-email-fw@strlen.de> <1297972902.2253.51.camel@Nokia-N900-51-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Florian Westphal , netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, KOVACS Krisztian To: Balazs Scheidler Return-path: Content-Disposition: inline In-Reply-To: <1297972902.2253.51.camel@Nokia-N900-51-1> Sender: netfilter-devel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Balazs Scheidler wrote: > the only issue I see with this solution is that late packets will not be delivered to the proper socket, and will possibly be going to the fwd chain, which might be unexpected. Why? They'll get the proper nfmark, so they will be routed to the local machine. The tcp stack should find the tw socket via normal sk lookup. Or am i missing something?