Files
linux/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-04-05 10:15:20 +02:00
2017-10-04 21:39:33 -07:00
2016-07-08 12:20:57 +02:00
2016-04-25 16:44:27 -04:00
2016-04-25 16:44:27 -04:00
2016-06-09 23:41:03 -07:00
2015-03-06 21:50:02 -05:00
2017-08-31 14:42:19 -07:00
2015-09-17 17:18:37 -07:00
2017-10-18 12:24:33 +01:00
2016-02-16 20:21:48 -05:00
2017-04-14 10:06:42 +02:00
2016-05-20 18:03:16 -04:00
2017-10-11 09:49:34 +02:00
2017-10-11 09:49:34 +02:00
2016-04-27 22:48:25 -04:00
2017-02-03 15:16:45 -05: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
2016-08-17 19:36:23 -04:00
2016-10-03 02:00:22 -04:00
2016-07-08 12:20:57 +02:00
2016-03-23 22:09:58 -04:00
2016-12-25 17:21:22 +01:00
2017-01-09 16:07:41 -05:00
2017-10-24 18:46:22 +09:00
2015-03-12 22:58:12 -04:00
2017-06-15 12:12:40 -04:00
2016-05-03 16:08:14 -04:00