Files
tailscale/wgengine
Claus Lensbøl 2080932a17 net/{packet,tstun},wgengine: add options byte to TSMP disco for request
For some scenarios, triggering the TSMPDiscoAdvertisment is alone not
enough to establish a direct connection. Add a requested optional reply
mechanism where a node can reply to a TSMPDiscoAdvertisment with its own
TSMPDiscoAdvertisment without the request bit set.

The request does not have to be honered for cases where the other node
does not know what to do with this byte (before this addition, nodes do
not know about the last byte added here), or for any other reason does
not see a need to send a message back.

Updates #[TODO]

Signed-off-by: Claus Lensbøl <[email protected]>
2026-04-07 16:03:17 -04:00
..