tailscale/wgengine
Brad Fitzpatrick 105a820622 wgengine/magicsock: skip an endpoint update at start-up
At startup the client doesn't yet have the DERP map so can't do STUN
queries against DERP servers, so it only knows it local interface
addresses, not its STUN-mapped addresses.

We were reporting the interface-local addresses to control, getting
the DERP map, and then immediately reporting the full set of
updates. That was an extra HTTP request to control, but worse: it was
an extra broadcast from control out to all the peers in the network.

Now, skip the initial update if there are no stun results and we don't
have a DERP map.

More work remains optimizing start-up requests/map updates, but this
is a start.

Updates tailscale/corp#557
2020-10-14 11:01:19 -07:00
..
filter wgengine/filter: also silently drop link-local unicast traffic 2020-09-25 11:47:38 -07:00
magicsock wgengine/magicsock: skip an endpoint update at start-up 2020-10-14 11:01:19 -07:00
monitor wgengine/monitor: fix copy/paste-o to actually monitor route changes 2020-10-09 09:04:26 -07:00
packet wgengine/filter: also silently drop link-local unicast traffic 2020-09-25 11:47:38 -07:00
router wgengine/router: unfork winipcfg-go package, use upstream 2020-10-13 09:21:22 -07:00
tsdns ipn, wgengine, magicsock, tsdns: be quieter and less aggressive when offline 2020-10-06 15:26:53 -07:00
tstun wgengine/tstun/faketun: it's a null tunnel, not a loopback. 2020-10-08 01:01:39 -04:00
winnet Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
rusage_nowindows.go wgengine: flesh out some docs 2020-02-12 13:37:45 -08:00
rusage_windows.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
rusage.go Move "logger" package to under types, now that we have it. 2020-02-14 20:23:05 -08:00
userspace_test.go wgengine: fix lazy wireguard config bug when disco keys change 2020-10-13 12:10:51 -07:00
userspace.go wgengine: fix lazy wireguard config bug when disco keys change 2020-10-13 12:10:51 -07:00
watchdog_test.go wgengine: prevent log after exit in watchdog test 2020-07-03 10:52:39 -07:00
watchdog.go wgengine: add Engine.SetLinkChangeCallback 2020-08-27 21:25:17 -07:00
wgengine.go ipn, wgengine: disable subnet routes if network has PAC configuration 2020-10-05 21:04:23 -07:00