mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 03:25:35 +00:00
69cdc30c6d
We don't use the port that wireguard-go passes to us (via magicsock.connBind.Open).
We ignore it entirely and use the port we selected.
When we tell wireguard-go that we're changing the listen_port,
it calls connBind.Close and then connBind.Open.
And in the meantime, it stops calling the receive functions,
which means that we stop receiving and processing UDP and DERP packets.
And that is Very Bad.
That was never a problem prior to
|
||
---|---|---|
.. | ||
nmcfg | ||
config.go | ||
device_test.go | ||
device.go | ||
key_test.go | ||
key.go | ||
parser_test.go | ||
parser.go | ||
writer.go |