tailscale/wgengine
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
..
filter control/controlclient, wgengine/filter: extract parsePacketFilter to … (#696) 2020-08-20 10:36:19 -07:00
magicsock wgengine/magicsock: clarify pre-disco 'tailscale ping' error message 2020-09-16 11:54:00 -04:00
monitor wgengine/monitor: add a poller to the Windows link change monitor 2020-08-24 21:23:52 -07:00
packet wgengine/filter: fix IPv4 IGMP spam omission, also omit ff02::16 spam 2020-07-30 11:00:20 -07:00
router wgengine, wgengine/router: add a bunch of (temporary?) engine creation logging 2020-09-23 15:27:30 -07:00
tsdns wgengine/tsdns: replace connections when net link changes (macOS) 2020-09-24 15:31:27 -07:00
tstun wgengine/tstun: fix 32-bit alignment again 2020-09-18 08:18:38 -07:00
winnet
rusage.go Move "logger" package to under types, now that we have it. 2020-02-14 20:23:05 -08:00
rusage_nowindows.go wgengine: flesh out some docs 2020-02-12 13:37:45 -08:00
rusage_windows.go
userspace.go wgengine, wgengine/router: add a bunch of (temporary?) engine creation logging 2020-09-23 15:27:30 -07:00
userspace_test.go wgengine: lazily create peer wireguard configs more explicitly 2020-08-26 12:26:06 -07:00
watchdog.go wgengine: add Engine.SetLinkChangeCallback 2020-08-27 21:25:17 -07:00
watchdog_test.go wgengine: prevent log after exit in watchdog test 2020-07-03 10:52:39 -07:00
wgengine.go wgengine: add Engine.SetLinkChangeCallback 2020-08-27 21:25:17 -07:00