cmd/tailscale: rebind magicsock.Conn onConnect (#126)
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#13814pull/127/head
parent
88d006f6b9
commit
aba683bb61
Loading…
Reference in New Issue