cmd/tailscale: rebind magicsock.Conn onConnect
We have been getting into routing loops due to the timing of when we bind sockets on starting the tailscale app. At this point, we do not have access to `VpnService.protect()` and are unable to protect the magicsock sockets, which causes a routing loop issue until we forcibly rebind about 10 minutes into the service being started. This change causes a rebind when the service is started, which restores connectivity in cases where the socket was unprotected. Updates tailscale/corp#13814catzkorn/routing
parent
8e748afc47
commit
36bf277560
Loading…
Reference in New Issue