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-10-13 14:27:13 -07:00
2017-10-02 11:24:40 -07:00
2017-09-13 11:04:14 -07:00
2017-09-09 14:18:40 -07:00
2017-09-25 10:58:22 +02:00
2017-09-15 20:43:33 -07:00
2017-09-09 14:48:21 -07:00
2017-10-22 02:22:38 +01:00
2017-10-22 02:22:38 +01:00
2017-10-04 10:22:55 +02:00
2017-09-29 13:36:06 +02:00
2017-09-10 20:35:46 -07:00
2017-10-09 10:21:26 -07:00
2017-10-19 22:13:40 -04:00
2017-09-10 20:40:00 -07:00
2017-09-11 22:01:44 -07:00
2017-09-22 16:16:41 -10:00
2017-10-03 17:54:25 -07:00
2017-10-03 17:54:25 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:48 -07:00
2017-09-25 08:56:05 -06:00
2017-10-18 14:17:10 +01:00
2017-10-18 14:17:10 +01:00
2017-10-04 16:05:05 -07:00
2017-10-20 13:32:59 +01:00
2017-10-12 22:59:38 -07:00
2017-10-13 16:18:33 -07:00
2017-09-14 17:37:26 -07:00
2017-10-22 02:22:39 +01:00
2017-09-25 22:11:44 +02:00
2017-09-08 18:26:51 -07:00
2017-09-14 13:43:16 -07:00
2017-09-11 11:00:55 -04:00
2017-10-03 08:57:07 -07:00
2017-09-12 13:30:06 -07:00
2017-10-19 13:33:51 +01:00
2017-09-12 13:27:21 -07:00
2017-10-17 10:48:51 -07:00
2017-10-22 13:39:14 +01:00
2017-10-03 17:54:26 -07:00
2017-09-13 18:53:16 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:45 -07:00
2017-10-04 11:25:09 +02:00
2017-10-02 14:07:58 +02:00
2017-09-28 10:29:36 -07:00
2017-10-09 10:18:11 -07:00
2017-10-04 21:39:33 -07:00
2017-10-07 23:15:08 +01:00
2017-10-20 13:15:07 +01:00
2017-09-08 18:26:49 -07:00
2017-10-19 16:54:49 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
2017-09-27 17:02:45 +02:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:51 -07:00
2017-09-21 11:54:44 +02:00
2017-10-13 16:18:33 -07:00
2017-10-18 09:12:40 +01:00
2017-09-08 18:26:51 -07:00
2017-10-20 13:32:59 +01:00
2017-10-12 15:01:30 +02:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-10-19 22:13:40 -04:00
2017-10-03 17:54:23 -07:00
2017-10-03 17:54:24 -07:00
2017-10-03 17:54:25 -07:00
2017-10-22 13:39:14 +01:00
2017-10-03 10:06:30 -07:00
2017-09-14 17:37:26 -07:00
2017-10-22 13:39:14 +01:00
2017-10-04 10:53:54 +02:00
2017-09-25 12:42:11 -06:00
2017-09-25 08:56:05 -06:00
2017-09-19 12:20:44 -05:00
2017-10-13 16:18:32 -07:00
2017-10-09 20:26:23 -07:00
2017-09-25 11:08:20 -05:00
2017-10-07 23:05:57 +01:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:47 -07:00
2017-09-08 18:26:48 -07:00
2017-09-08 18:26:48 -07:00
2017-10-19 22:26:11 -04:00
2017-10-19 22:26:11 -04:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
2017-10-04 18:04:41 -07:00
2017-09-29 11:02:57 +02:00
2017-10-20 13:32:59 +01:00
2017-09-14 17:37:26 -07:00
2017-09-14 17:37:26 -07:00
2017-10-07 00:28:53 +01:00
2017-09-14 11:41:06 +02:00
2017-10-19 22:26:11 -04:00
2017-09-11 12:29:41 -04:00
2017-09-15 16:57:10 +02:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-17 19:45:32 +02:00
2017-10-24 18:48:08 +09:00
2017-10-13 16:18:33 -07:00
2017-10-02 11:24:41 -07:00
2017-09-14 17:37:26 -07:00
2017-09-28 16:30:36 +02:00
2017-09-20 14:10:29 -07:00
2017-09-08 18:26:51 -07:00
2017-09-11 18:34:47 -07:00
2017-09-08 18:26:47 -07:00
2017-09-08 18:26:48 -07:00
2017-09-14 09:56:18 -07:00