netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rémi Denis-Courmont" <rdenis@simphalempin.com>
To: "ext Willy Tarreau" <w@1wt.eu>
Cc: Stephen Hemminger <shemminger@vyatta.com>, netdev@vger.kernel.org
Subject: Re: [PATCH] add a sysctl to disable TCP simultaneous connection opening
Date: Fri, 10 Oct 2008 11:44:06 +0300	[thread overview]
Message-ID: <200810101144.06869.rdenis@simphalempin.com> (raw)
In-Reply-To: <20081010081022.GA27187@1wt.eu>

On Friday 10 October 2008 11:10:22 ext Willy Tarreau, you wrote:
> > Duh? If you require a SYN from the outside to the server, before you
> > allow the server to send either SYN or SYN/ACK, I fail to see the
> > problem.
>
> Requiring the firewall to expect a first SYN to come from the internet is
> like doing no check at all.

On ports which are open to the outside you MUST allow inbound SYNs anyway. 
From a security perspective, it does not matter whether the server answers 
with a SYN/ACK as normally or with a SYN-not-ACK as in "simultaneous open".

On ports which the server is using outbound only (if any), you can expect the 
server to send a SYN out first. It again does not matter whether the other 
end answers with a SYN/ACK or a SYN-not-ACK.

On other ports, a plain dumb stateless blackhole will do.

> When your server has been rooted, you can 
> pretty much expect that your guest has no problem sending you a SYN.

And why would (s)he have problem sending a SYN/ACK? It makes no difference.

-- 
Rémi Denis-Courmont

  reply	other threads:[~2008-10-10  8:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-08  8:11 [PATCH] add a sysctl to disable TCP simultaneous connection opening Willy Tarreau
     [not found] ` <20081008081109.GA25342-K+wRfnb2/UA@public.gmane.org>
2008-10-08  9:19   ` Michael Kerrisk
2008-10-08 11:54 ` Stephen Hemminger
2008-10-08 12:10   ` Willy Tarreau
2008-10-09 16:21   ` Rémi Denis-Courmont
2008-10-09 21:42     ` Willy Tarreau
2008-10-10  7:59       ` Rémi Denis-Courmont
2008-10-10  8:10         ` Willy Tarreau
2008-10-10  8:44           ` Rémi Denis-Courmont [this message]
2008-10-10  8:57             ` Willy Tarreau
2008-10-08 12:16 ` Pavel Emelyanov
2008-10-08 12:26   ` Willy Tarreau
2008-10-08 12:32     ` Pavel Emelyanov
2008-10-08 12:56       ` Willy Tarreau
2008-10-08 15:50 ` Randy Dunlap
2008-10-08 16:04   ` Willy Tarreau
2008-10-08 16:42 ` David Miller
2008-10-08 17:07   ` Willy Tarreau
2008-10-08 18:21     ` David Miller
2008-10-08 18:24       ` Willy Tarreau
2008-10-09  3:49 ` Andi Kleen

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=200810101144.06869.rdenis@simphalempin.com \
    --to=rdenis@simphalempin.com \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    --cc=w@1wt.eu \
    /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;
as well as URLs for NNTP newsgroup(s).