[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGXu5jJiupzommJYPEYQnk-4i9FUKai0NcPnihLN-QpWV64jtQ@mail.gmail.com>
Date: Thu, 7 Feb 2013 10:44:02 -0800
From: Kees Cook <keescook@...omium.org>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Rob Landley <rob@...dley.net>,
"David S. Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
James Morris <jmorris@...ei.org>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Patrick McHardy <kaber@...sh.net>,
Eric Dumazet <edumazet@...gle.com>,
Neil Horman <nhorman@...driver.com>,
Yuchung Cheng <ycheng@...gle.com>,
Shan Wei <davidshan@...cent.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
netdev@...r.kernel.org, Willy Tarreau <w@....eu>
Subject: Re: [PATCH] tcp: sysctl to disable TCP simultaneous connect
On Thu, Feb 7, 2013 at 10:39 AM, Stephen Hemminger
<stephen@...workplumber.org> wrote:
> On Thu, 7 Feb 2013 09:52:40 -0800
> Kees Cook <keescook@...omium.org> wrote:
>
>> This is based on Willy Tarreau's patch from 2008[1]. The goal is to
>> close a corner-case of TCP that isn't used and poses a small DoS risk.
>> For systems that do not want to take any risk at all, this is a desirable
>> configuration knob.
>>
>> It is possible for two clients to connect with crossed SYNs without
>> checking sequence numbers. As such, it might be possible to guess a source
>> port number to block a system from making connections to well-known
>> ports and IP addresses (e.g. auto-update checks) without requiring a
>> MiTM position.
>>
>
> This patch probably also breaks TCP STUNT that is used by some applications for NAT
> traversal.
The patch would not break it -- it defaults the sysctl to staying enabled.
If you mean the documentation should be updated, sure, that's easy to do.
David: I know you aren't a fan of this patch, but I'd like to try to
convince you. :) This leaves the feature enabled and add a toggle for
systems (like Chrome OS) that don't want to risk this DoS at all.
There are so very many other toggle, I don't see why this one would be
a problem to add.
-Kees
--
Kees Cook
Chrome OS Security
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists