Files
tailscale/feature/derpwebsocket
James Tucker aff6d18f39 derp/derphttp: report client metrics for PQ vs classic TLS connections
Add two clientmetric counters recording whether TLS DERP client
connections (both HTTPS upgrade and WebSocket paths where TLS state is
available) negotiated a post-quantum or classic key exchange:

  - derphttp_connect_tls_pq
  - derphttp_connect_tls_classic

Also propagate res.TLS from websocket.Dial in derphttp/websocket.go so
non-js WebSocket dials populate Client.tlsState and report PQ status.

Updates tailscale/corp#52720

Change-Id: Idcbc7fe4580e515632a4ade7a0bbfe9ae266e4f1
Signed-off-by: James Tucker <[email protected]>
2026-12-04 01:00:12 -08:00
..