Log selected VPN fabric endpoint candidate

This commit is contained in:
2026-05-16 10:55:01 +03:00
parent 850bd67b6a
commit 53c99cedd8
2 changed files with 3 additions and 0 deletions
@@ -4675,6 +4675,7 @@ func fabricSessionGatewayTransportForAssignment(ctx context.Context, identity st
continue
}
cancel()
log.Printf("vpn fabric session transport selected: vpn_connection_id=%s next_hop=%s candidate=%d endpoint=%s transport=%s pinned_cert=%t fallback_candidates=%d", assignment.VPNConnectionID, nextHop, index, selectedTarget.Endpoint, selectedTarget.Transport, selectedTarget.PeerCertSHA256 != "", len(targets)-index-1)
return &vpnruntime.FabricSessionPacketTransport{
Sender: session,
Receiver: session,
@@ -319,6 +319,8 @@ instead of disabling verification while the cluster CA path is being finished.
VPN fabric-session dialing now walks all ranked endpoint candidates before
falling back to the legacy peer endpoint, so a failed QUIC candidate does not
block WebSocket/HTTPS compatibility transport.
Successful VPN fabric-session dialing logs the selected candidate, transport,
certificate pin usage, and remaining fallback count for phone-side diagnostics.
Deliverables: