tailscale/wgengine
Brad Fitzpatrick e6b84f2159 all: make client use server-provided DERP map, add DERP region support
Instead of hard-coding the DERP map (except for cmd/tailscale netcheck
for now), get it from the control server at runtime.

And make the DERP map support multiple nodes per region with clients
picking the first one that's available. (The server will balance the
order presented to clients for load balancing)

This deletes the stunner package, merging it into the netcheck package
instead, to minimize all the config hooks that would've been
required.

Also fix some test flakes & races.

Fixes #387 (Don't hard-code the DERP map)
Updates #388 (Add DERP region support)
Fixes #399 (wgengine: flaky tests)

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-05-23 22:31:59 -07:00
..
filter wgengine/filter: implement a destination IP pre-filter. 2020-05-22 17:03:30 +00:00
magicsock all: make client use server-provided DERP map, add DERP region support 2020-05-23 22:31:59 -07:00
monitor wgengine/monitor: disable monitor on Android 2020-04-24 06:35:31 -07:00
packet wgengine/filter: support subnet mask rules, not just /32 IPs. 2020-04-30 04:56:43 -04:00
router wgengine/router: warn about another variation of busybox's ip. 2020-05-15 20:48:25 +00:00
tstun wgengine: pass tun.NativeDevice to router 2020-05-15 10:11:56 -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.go all: make client use server-provided DERP map, add DERP region support 2020-05-23 22:31:59 -07:00
watchdog_test.go wgengine: wrap tun.Device to support filtering and packet injection (#358) 2020-05-13 09:16:17 -04:00
watchdog.go all: make client use server-provided DERP map, add DERP region support 2020-05-23 22:31:59 -07:00
wgengine.go all: make client use server-provided DERP map, add DERP region support 2020-05-23 22:31:59 -07:00