From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Jones Subject: Re: matching the first packet of a connection Date: Wed, 04 May 2005 12:57:07 -0500 Message-ID: <42790CF3.9090801@buddhalinux.com> References: <1115220105.26791.25.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1115220105.26791.25.camel@localhost.localdomain> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: Eric Leblond Cc: netfilter@lists.netfilter.org Eric Leblond wrote: >Hi, > >I'm trying to match the first packet of a connection : for a TCP >connection I want to match the first SYN packet received by the firewall >and ignore the possible reemission, in fact I want to accept them. > >Is this possible ? > >I've try to use the conntrack module but I was not successful. > >BR, > > The "tcp filter" Table Match Operations provide: -p tcp --syn Thomas