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/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
4 years ago
..
filter wgengine/filter: also silently drop link-local unicast traffic 4 years ago
magicsock wgengine/magicsock: skip an endpoint update at start-up 4 years ago
monitor wgengine/monitor: fix copy/paste-o to actually monitor route changes 4 years ago
packet wgengine/filter: also silently drop link-local unicast traffic 4 years ago
router wgengine/router: unfork winipcfg-go package, use upstream 4 years ago
tsdns ipn, wgengine, magicsock, tsdns: be quieter and less aggressive when offline 4 years ago
tstun wgengine/tstun/faketun: it's a null tunnel, not a loopback. 4 years ago
winnet Move Linux client & common packages into a public repo. 5 years ago
rusage.go Move "logger" package to under types, now that we have it. 5 years ago
rusage_nowindows.go wgengine: flesh out some docs 5 years ago
rusage_windows.go Move Linux client & common packages into a public repo. 5 years ago
userspace.go wgengine: fix lazy wireguard config bug when disco keys change 4 years ago
userspace_test.go wgengine: fix lazy wireguard config bug when disco keys change 4 years ago
watchdog.go wgengine: add Engine.SetLinkChangeCallback 4 years ago
watchdog_test.go wgengine: prevent log after exit in watchdog test 4 years ago
wgengine.go ipn, wgengine: disable subnet routes if network has PAC configuration 4 years ago