[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141031160039.GM10069@breakpoint.cc>
Date: Fri, 31 Oct 2014 17:00:39 +0100
From: Florian Westphal <fw@...len.de>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Florian Westphal <fw@...len.de>, netdev@...r.kernel.org
Subject: Re: [PATCH -next v2 1/2] syncookies: remove ecn_ok validation when
decoding option timestamp
Eric Dumazet <eric.dumazet@...il.com> wrote:
> On Fri, 2014-10-31 at 15:15 +0100, Florian Westphal wrote:
>
> > So if you have a per route ecn setting, and syncookies are used,
> > and tcp_ecn sysctl is 0:
>
> This part I do not understand.
>
> Why should tcp_ecn be 0 here, and not 2 (default value) ?
Because admin might have changed it.
There is no problem if tcp_ecn sysctl is nonzero (1 or 2).
This problem will only manifest itself iff tcp_ecn sysctl was set to 0,
and the remote peer requests ecn and a route specific setting enabled
ecn for the source network and syncookies are used.
Current timestamp cookie validation will think "client is lying about
ecn in the timestamp as sysctl is off", since it does not consider a
per-route ecn knob.
--
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