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