From: Randy Dunlap <randy.dunlap@oracle.com>
To: Willy Tarreau <w@1wt.eu>
Cc: David Miller <davem@davemloft.net>, netdev@vger.kernel.org
Subject: Re: [PATCH] add a sysctl to disable TCP simultaneous connection opening
Date: Wed, 8 Oct 2008 08:50:34 -0700 [thread overview]
Message-ID: <20081008085034.910551dc.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20081008081109.GA25342@1wt.eu>
On Wed, 8 Oct 2008 10:11:09 +0200 Willy Tarreau wrote:
> Documentation/networking/ip-sysctl.txt | 22 ++++++++++++++++++++++
>
> diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
> index d849326..cefc894 100644
> --- a/Documentation/networking/ip-sysctl.txt
> +++ b/Documentation/networking/ip-sysctl.txt
> @@ -101,6 +101,28 @@ inet_peer_gc_maxtime - INTEGER
>
> TCP variables:
>
> +tcp_simult_connect - BOOLEAN
> + Enables TCP simultaneous connect feature conforming to RFC793.
> + Strict implementation of RFC793 (TCP) requires support for a feature
> + called "simultaneous connect", which allows two clients to connect to
> + each other without anyone entering a listening state. While almost
> + never used, and supported by few OSes, Linux supports this feature.
> +
> + However, it introduces a weakness in the protocol which makes it very
> + easy for an attacker to prevent a client from connecting to a known
> + server. The attacker only has to guess the source port to shut down
> + the client connection during its establishment. The impact is limited,
> + but it may be used to prevent an antivirus or IPS from fetching updates
> + and not detecting an attack, or to prevent an SSL gateway from fetching
> + a CRL for example.
> +
> + If you want absolute compatibility with any possible application,
> + you should set it to 1. If you prefer to enhance security on your
> + systems you'd better let it to 0. After four years of usage on
set it to 0.
or did you mean: (?)
let it be 0.
> + hundreds of systems, no application was ever found to require this
> + feature, which is not even supported by most firewalls.
> + Default: 0
> +
> somaxconn - INTEGER
> Limit of socket listen() backlog, known in userspace as SOMAXCONN.
> Defaults to 128. See also tcp_max_syn_backlog for additional tuning
---
~Randy
next prev parent reply other threads:[~2008-10-08 15:51 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
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 [this message]
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=20081008085034.910551dc.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--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 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.