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
|
||
---|---|---|
.. | ||
filter | ||
magicsock | ||
monitor | ||
netstack | ||
router | ||
wgcfg | ||
wglog | ||
winnet | ||
pendopen.go | ||
userspace_test.go | ||
userspace.go | ||
watchdog_test.go | ||
watchdog.go | ||
wgengine.go |