tailscale/cmd
Josh Bleecher Snyder 6e8328cba5 wgengine/tsdns: replace connections when net link changes (macOS)
When the network link changes, existing UDP sockets fail immediately
and permanently on macOS.

The forwarder set up a single UDP conn and never changed it.
As a result, any time there was a network link change,
all forwarded DNS queries failed.

To fix this, create a new connection when send requests
fail because of network unreachability.

This change is darwin-only, although extended it to other platforms
should be straightforward.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2020-09-24 15:31:27 -07:00
..
cloner cmd/cloner: generate a package-level Clone function 2020-09-04 16:25:18 -07:00
derper cmd/derper: add missing html.EscapeString calls in /debug page 2020-09-15 15:00:19 -07:00
microproxy cmd/microproxy: add -insecure flag 2020-09-15 15:07:56 -07:00
mkpkg cmd/mkpkg: support adding empty directories. 2020-05-04 17:57:13 -04:00
tailscale wgengine/tsdns: replace connections when net link changes (macOS) 2020-09-24 15:31:27 -07:00
tailscaled wgengine/router: move Tailscale's winipcfg additions into wgengine/router 2020-09-22 09:24:10 -07:00
tsshd wgengine/monitor: don't call LinkChange when interfaces look unchanged 2020-03-10 11:03:19 -07:00