Files
linux-stable-mirror/include/net
Christoph Paasch 71c02379c7 tcp: Configure TFO without cookie per socket and/or per route
We already allow to enable TFO without a cookie by using the
fastopen-sysctl and setting it to TFO_SERVER_COOKIE_NOT_REQD (or
TFO_CLIENT_NO_COOKIE).
This is safe to do in certain environments where we know that there
isn't a malicous host (aka., data-centers) or when the
application-protocol already provides an authentication mechanism in the
first flight of data.

A server however might be providing multiple services or talking to both
sides (public Internet and data-center). So, this server would want to
enable cookie-less TFO for certain services and/or for connections that
go to the data-center.

This patch exposes a socket-option and a per-route attribute to enable such
fine-grained configurations.

Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Reviewed-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-24 18:48:08 +09:00
..
2017-07-11 06:08:58 -04:00
2017-10-04 21:39:33 -07:00
2017-08-31 14:42:19 -07:00
2017-10-18 12:24:33 +01:00
2017-10-11 09:49:34 +02:00
2017-10-11 09:49:34 +02:00
2017-10-21 01:33:19 +01:00
2017-10-07 21:22:58 +01:00
2017-09-29 06:19:32 +01:00
2017-10-24 18:46:22 +09:00
2017-06-15 12:12:40 -04:00