From: Daniel Lopes <lopsch@lopsch.com>
To: netfilter@lists.netfilter.org
Subject: Re: matching the first packet of a connection
Date: Wed, 04 May 2005 20:11:11 +0200 [thread overview]
Message-ID: <4279103F.9080601@lopsch.com> (raw)
In-Reply-To: <42790CF3.9090801@buddhalinux.com>
Thomas Jones schrieb:
> 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
>
>
or something like this:
-p tcp --tcp-flags ALL SYN -m state --state NEW
next prev parent reply other threads:[~2005-05-04 18:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-04 15:21 matching the first packet of a connection Eric Leblond
2005-05-04 17:43 ` George Alexandru Dragoi
2005-05-04 18:50 ` Eric Leblond
2005-05-04 17:57 ` Thomas Jones
2005-05-04 18:11 ` Daniel Lopes [this message]
2005-05-04 18:34 ` Jason Opperisano
2005-05-04 19:37 ` Taylor, Grant
2005-05-04 21:21 ` Eric Leblond
2005-05-04 21:36 ` Taylor, Grant
2005-05-05 7:53 ` Taylor, Grant
2005-05-04 21:30 ` Eric Leblond
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4279103F.9080601@lopsch.com \
--to=lopsch@lopsch.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox