Files
Nikos Mavrogiannopoulos 9e71c1b8b6 worker: use TLS 1.3 transparent rekey on TLS 1.3 CSTP sessions
TLS 1.3 has no renegotiation and provides transparent rekeys but this
was not used by the server. Instead rekey-method=ssl was silently
downgraded to new-tunnel, causing a full tunnel/TUN-device rebuild (and
a brief data-path interruption) on every rekey whenever a client
negotiated TLS 1.3.

This commit simplifies that handling by taking advantage of TLS 1.3's own
rekey mechanism instead: the server now performs the "ssl" rekey on
TLS 1.3 sessions via the standard TLS 1.3 KeyUpdate message.

TLS <= 1.2 rekey behavior (client-driven rehandshake, gated on RFC
5746 safe renegotiation) is unchanged.

Resolves: #745

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2026-07-28 08:07:07 +02:00
..
2026-05-31 14:17:33 +02:00
2022-11-28 11:22:33 +01:00
2023-06-10 16:21:34 +08:00
2021-11-01 10:23:01 +01:00
2026-05-01 19:26:45 +00:00
2023-06-10 16:21:34 +08:00
2022-11-28 11:22:33 +01:00
2026-05-31 14:17:33 +02:00
2026-05-31 14:17:33 +02:00
2026-05-31 14:17:33 +02:00
2026-05-31 14:17:33 +02:00
2023-06-10 16:21:34 +08:00
2023-06-10 16:21:34 +08:00
2026-05-31 14:17:33 +02:00
2026-05-31 14:17:33 +02:00