From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [RFC][PATCH] kill the fake conntrack Date: Sat, 25 Jun 2005 14:48:39 +0200 Message-ID: <42BD52A7.2090107@trash.net> References: <42BD513E.6090306@eurodev.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Netfilter Development Mailinglist , Jozsef Kadlecsik Return-path: To: Pablo Neira In-Reply-To: <42BD513E.6090306@eurodev.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Pablo Neira wrote: > The patch attached kills the fake conntrack and propose a new logic to > explicitely set connection as untracked. We set nfct to NULL and use a > new flag called IP_CT_UNTRACKED for nfctinfo. I've slightely tested it > here and works fine. > > Comments welcome. What is the advantage of this patch? Its changing the assumption that skb->nfctinfo is only valid if skb->nfct is set, so you probably need to set nfctinfo to 0 in nf_reset as well. This alone is a reason not to do it IMO. Regards Patrick