Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Patrick Schaaf <bof@bof.de>
To: Ramin Alidousti <ramin@cannon.eng.us.uu.net>
Cc: netfilter@lists.samba.org
Subject: Re: detection of the third tcp packet in a tcp connection setup
Date: Thu, 27 Jun 2002 20:53:19 +0200	[thread overview]
Message-ID: <20020627205319.E2890@oknodo.bof.de> (raw)
In-Reply-To: <20020627182753.GS31466@cannon.eng.us.uu.net>; from ramin@cannon.eng.us.uu.net on Thu, Jun 27, 2002 at 02:27:53PM -0400

Hi Ramin,

> Does anyone have a good solution to catch the third (ACK) packet
> in a tcp connection setup?

Maybe you could use the CONNMARK patch, found in patch-o-matic?
Mark the conntrack one way for the first packet of a new connection,
and later match on that mark, changing it to something else when that
match hits.

Thanks for a nice idea from the "how do I bend iptables into a
programming language" department. :-)

best regards
  Patrick


  parent reply	other threads:[~2002-06-27 18:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-27 18:27 detection of the third tcp packet in a tcp connection setup Ramin Alidousti
2002-06-27 18:36 ` Antony Stone
2002-06-27 18:52 ` Antony Stone
2002-06-27 19:08   ` Ramin Alidousti
2002-06-27 18:53 ` Patrick Schaaf [this message]
2002-06-27 19:04   ` Ramin Alidousti
2002-06-27 18:57 ` Maciej Soltysiak
2002-06-27 19:10 ` Joe Patterson
2002-06-27 19:30   ` Antony Stone
2002-06-27 19:44     ` Patrick Schaaf
2002-06-27 19:39       ` Ramin Alidousti
2002-06-27 19:49         ` Maciej Soltysiak
2002-06-27 21:41           ` Matthew G. Marsh
2002-06-27 19:44       ` Antony Stone
2002-06-27 19:57         ` Ramin Alidousti
2002-06-27 20:06           ` Antony Stone
2002-06-27 20:31             ` Ramin Alidousti
2002-06-27 20:36               ` Antony Stone
2002-06-27 19:50     ` Joe Patterson
2002-06-27 20:11       ` Patrick Schaaf
2002-06-27 21:23     ` James Mello

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=20020627205319.E2890@oknodo.bof.de \
    --to=bof@bof.de \
    --cc=netfilter@lists.samba.org \
    --cc=ramin@cannon.eng.us.uu.net \
    /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