All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henrik Nordstrom <hno@marasystems.com>
To: don-nf@isis.cs3-inc.com (Don Cohen), netfilter-devel@lists.samba.org
Subject: Re: Syncookie firewall
Date: Thu, 6 Jun 2002 23:34:17 +0200	[thread overview]
Message-ID: <200206062334.17294.hno@marasystems.com> (raw)
In-Reply-To: <15615.53673.287531.24270@isis.cs3-inc.com>

Don Cohen wrote:

>  > Because there is no good way to know the servers TCP options before
>  > you have opened the TCP connection to the server, and you do not
>  > want to open the TCP connection to the server before the client has
>  > acknowledged the connection...
>
> Fortunately, all of these options are ... optional, so the firewall
> can, if it doesn't know better, simply not use them.

To ensure interoperability you must also filter out any options on future 
packets of that TCP not known to be 100% compatible with your SYN+ACK.

> The timestamp option is not a problem in this case.  The firewall only
> responds to a few packets and for those it can supply its own
> timestamp (or not).  After it establishes both halves of the
> connection it just forwards the packets and the timestamps (seems to
> me) should work out fine.

The timestamp option must be real all the time, or never. You cannot suddently 
switch TCP timestamp source in the middle of a TCP connection. Doing so will 
serverely break PAWS.

Note: The TCP timestamp option is not the same as the IP timestamp option. TCP 
timestamps has nothing to do with time, only the progress of relative time 
within a TCP.

Regards
Henrik

  reply	other threads:[~2002-06-06 21:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020606192927.6B7684DCE@lists.samba.org>
2002-06-06 21:18 ` Syncookie firewall Don Cohen
2002-06-06 21:34   ` Henrik Nordstrom [this message]
2002-06-06 22:03     ` Mark Atwood
2002-06-06 22:36     ` Don Cohen
     [not found] <20020606020322.05BF64258@lists.samba.org>
2002-06-06 16:28 ` Don Cohen
2002-06-06 17:32   ` Henrik Nordstrom
2002-06-07  9:21     ` Michel Banguerski
2002-06-07  9:47       ` Michel Banguerski
2002-06-07  9:56       ` Henrik Nordstrom
     [not found] <20020603132204.7934546FF@lists.samba.org>
2002-06-05 19:30 ` Don Cohen
2002-06-05 19:38   ` Henrik Nordstrom
2002-06-02 18:47 Michel Banguerski

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=200206062334.17294.hno@marasystems.com \
    --to=hno@marasystems.com \
    --cc=don-nf@isis.cs3-inc.com \
    --cc=netfilter-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.