From: Patrick Schaaf Subject: Re: netfilter observation Date: Fri, 27 Jan 2006 12:13:40 +0100 Message-ID: <20060127111340.GB31447@oknodo.bof.de> References: <20060126171057.7fb9632d.ethy.brito@inexo.com.br> <20060127061433.GA31447@oknodo.bof.de> <20060127084937.432199b1@pulsar.inexo.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netfilter-devel@lists.netfilter.org Return-path: To: "Ethy H. Brito" Content-Disposition: inline In-Reply-To: <20060127084937.432199b1@pulsar.inexo.com.br> 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 > > In the filter table, matches like '-m conntrack' can be used to > > refer to the NAT state of the packet under inspection. > > I can't see how this could help me. The old data stream has already its state set > to ESTABLISHED. Hmm. You could use different connmark mark values, and match on those in the filter table. When you flush your NAT rules and rebuild them, use a different set of mark values, and use the same mark values in the filter table. That's not supposed to be a nice, clean solution. But I think it could work. > > per-flow: [...] one of the new style userlevel conntrack manipulation > tools (work in progress, as far as I know) > > Could you gimme some pointer about these tools? They are not in trunk/conntrack > tree and google was not of much help (too much garbage to dig into). Sorry, I did not really track the relevant discussions. Help/HOWTO/Pointers, somebody? best regards Patrick