Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "James Mello" <james.mello@wamu.net>
To: 'Antony Stone' <Antony@Soft-Solutions.co.uk>, netfilter@lists.samba.org
Subject: RE: detection of the third tcp packet in a tcp connection setup
Date: Thu, 27 Jun 2002 14:23:01 -0700	[thread overview]
Message-ID: <000601c21e20$d186e2e0$8147370a@washingtghv9lt> (raw)
In-Reply-To: <20020627193043.UMUP19225.mta07-svc.ntlworld.com@there>

TCP keep alive will send an ack with no payload for the previous octet
in the stream....


    -- Cheers
    -- James

> -----Original Message-----
> From: netfilter-admin@lists.samba.org 
> [mailto:netfilter-admin@lists.samba.org] On Behalf Of Antony Stone
> Sent: Thursday, June 27, 2002 12:31 PM
> To: netfilter@lists.samba.org
> Subject: Re: detection of the third tcp packet in a tcp 
> connection setup
> 
> 
> On Thursday 27 June 2002 8:10 pm, Joe Patterson wrote:
> 
> > catching the third packet is easy.  The hard part is to 
> both catch the 
> > third packet and *not* catch all of the rest of the ack packets.
> >
> > There are some distinguishing characteristics... it is the first 
> > packet sent by the client that is in state ESTABLISHED.  it should 
> > have ACK set and no other flags.  the tcp data length 
> should be zero.
> 
> Isn't that in itself a bit of a giveaway ?   I can't think of 
> a reason why a 
> zero-length packet should ever occur in the remainder of the 
> data stream... ?
> 
> There's a -m length --length <min>:<max> match somewhere, but 
> I'm not sure if 
> it's in the standard build or p-o-m
> 
>  
> 
> Antony.
> 
> 



      parent reply	other threads:[~2002-06-27 21:23 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
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 [this message]

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='000601c21e20$d186e2e0$8147370a@washingtghv9lt' \
    --to=james.mello@wamu.net \
    --cc=Antony@Soft-Solutions.co.uk \
    --cc=netfilter@lists.samba.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