You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
cloner cmd/cloner: generate a package-level Clone function 4 years ago
derper cmd/derper: add missing html.EscapeString calls in /debug page 4 years ago
microproxy cmd/microproxy: add -insecure flag 4 years ago
mkpkg cmd/mkpkg: support adding empty directories. 4 years ago
tailscale wgengine/tsdns: replace connections when net link changes (macOS) 4 years ago
tailscaled wgengine/router: move Tailscale's winipcfg additions into wgengine/router 4 years ago
tsshd wgengine/monitor: don't call LinkChange when interfaces look unchanged 4 years ago