Communicate the port over the signal exchange

This commit is contained in:
riccardom
2026-09-11 14:48:54 +02:00
parent 40b6a554c7
commit 6a42f7da00
5 changed files with 66 additions and 36 deletions
+4
View File
@@ -45,6 +45,10 @@ type OfferAnswer struct {
// when the peer does not run the ML-KEM PQ exchange.
MlkemPayload []byte
// MlkemPort is the peer's ML-KEM PQ service UDP port (bound on its WG overlay
// IP) where data-path rekey messages are sent. Zero when not running the exchange.
MlkemPort int
// relay server address
RelaySrvAddress string
// RelaySrvIP is the IP the remote peer is connected to on its