Ilya Dryomov
00498b9941
libceph: introduce connection modes and ms_mode option
...
msgr2 supports two connection modes: crc (plain) and secure (on-wire
encryption). Connection mode is picked by server based on input from
client.
Introduce ms_mode option:
ms_mode=legacy - msgr1 (default)
ms_mode=crc - crc mode, if denied fail
ms_mode=secure - secure mode, if denied fail
ms_mode=prefer-crc - crc mode, if denied agree to secure mode
ms_mode=prefer-secure - secure mode, if denied agree to crc mode
ms_mode affects all connections, we don't separate connections to mons
like it's done in userspace with ms_client_mode vs ms_mon_client_mode.
For now the default is legacy, to be flipped to prefer-crc after some
time.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com >
2020-12-14 23:21:50 +01:00
..
2020-11-03 22:30:31 +01:00
2020-12-14 23:21:50 +01:00
2020-10-29 17:22:59 -05:00
2020-11-24 15:13:54 +01:00
2020-10-29 17:22:59 -05:00
2020-10-21 11:22:08 -07:00
2020-12-03 11:18:36 -08:00
2020-10-25 14:51:49 -07:00
2020-12-08 12:57:39 +01:00
2020-11-27 13:18:40 +01:00
2020-10-25 14:51:49 -07:00
2020-10-24 10:39:22 -07:00
2020-11-12 15:05:34 +00:00
2020-10-22 09:44:27 -07:00
2020-10-28 13:18:56 +01:00
2020-10-25 14:51:49 -07:00
2020-10-28 11:13:36 +00:00
2020-10-28 11:26:10 -06:00
2020-12-04 17:27:42 -05:00
2020-11-19 08:55:44 -05:00
2020-10-22 09:59:21 -07:00
2020-12-11 14:02:14 -08:00
2020-10-25 14:51:49 -07:00
2020-10-25 14:51:49 -07:00
2020-10-29 20:01:46 -07:00
2020-11-22 10:48:22 -08:00
2020-11-14 11:26:03 -08:00
2020-11-14 11:26:03 -08:00
2020-10-25 14:51:49 -07:00
2020-11-10 18:31:17 +01:00
2020-10-30 08:37:39 +01:00
2020-10-25 14:51:49 -07:00
2020-12-11 14:02:14 -08:00
2020-10-25 14:51:49 -07:00
2020-10-27 16:22:43 +01:00
2020-10-25 14:51:49 -07:00
2020-11-13 16:07:53 -08:00
2020-11-12 13:59:04 -07:00
2020-10-22 22:44:35 +02:00
2020-10-25 14:51:49 -07:00
2020-10-25 14:51:49 -07:00
2020-11-18 13:09:07 +00:00
2020-10-25 14:51:49 -07:00
2020-11-04 10:22:56 -07:00
2020-11-04 08:52:46 -08:00
2020-11-30 12:21:31 +01:00
2020-11-19 22:38:29 -05:00
2020-10-29 13:17:58 -05:00
2020-10-25 14:51:49 -07:00
2020-10-23 03:42:13 -04:00
2020-10-25 14:51:49 -07:00
2020-10-25 14:51:49 -07:00
2020-11-26 09:35:49 -08:00
2020-11-22 10:48:22 -08:00
2020-11-02 12:14:19 -08:00
2020-10-28 14:08:54 +00:00
2020-10-25 14:51:49 -07:00
2020-11-28 12:04:57 -08:00
2020-10-30 12:57:39 +01:00
2020-10-30 12:57:39 +01:00
2020-10-21 18:24:08 -07:00
2020-11-30 10:52:22 -05:00
2020-10-21 10:31:20 -04:00
2020-11-22 10:48:22 -08:00
2020-10-25 14:51:49 -07:00
2020-10-25 14:51:49 -07:00
2020-11-22 10:48:22 -08:00
2020-10-22 13:00:44 -07:00
2020-10-25 14:51:49 -07:00
2020-11-09 18:12:34 +01:00
2020-11-09 18:12:34 +01:00
2020-11-16 16:57:18 +01:00
2020-10-28 11:41:15 -06:00
2020-11-16 09:37:01 -08:00
2020-10-24 20:21:57 +02:00
2020-10-25 14:51:49 -07:00
2020-10-24 10:39:22 -07:00
2020-10-25 14:51:49 -07:00
2020-10-28 11:41:15 -06:00
2020-11-22 13:26:07 -08:00
2020-12-10 16:01:47 -08:00
2020-11-06 10:05:18 -08:00
2020-10-25 14:51:49 -07:00
2020-10-29 13:17:58 -05:00
2020-10-25 11:39:02 -07:00
2020-10-25 14:51:49 -07:00
2020-10-22 14:15:51 -06:00
2020-12-08 14:52:29 -08:00
2020-11-16 14:58:23 -08:00
2020-10-25 14:51:49 -07:00
2020-10-26 11:48:11 +01:00
2020-10-25 14:51:49 -07:00
2020-10-25 14:51:49 -07:00
2020-12-04 17:39:58 +01:00
2020-10-24 10:57:57 -07:00
2020-10-23 11:55:27 -04:00
2020-10-23 11:00:57 -07:00
2020-12-06 10:19:07 -08:00