tailscale/ipn
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
..
ipnserver ipnserver and logpolicy: configure zstd with low-memory settings. 2020-05-20 11:23:26 -04:00
ipnstate ipn/ipnstate: improve HTML output 2020-05-08 14:29:42 -07:00
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 2020-04-01 10:03:44 -07:00
backend.go ipn: Resolve some resource leaks in test. 2020-05-21 16:37:25 -04:00
doc.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
e2e_test.go ipn: Resolve some resource leaks in test. 2020-05-21 16:37:25 -04:00
fake_test.go ipn, wgengine/filter: remove exported type aliases 2020-05-11 07:19:17 -07:00
handle.go ipn, wgengine/filter: remove exported type aliases 2020-05-11 07:19:17 -07:00
local.go all: make client use server-provided DERP map, add DERP region support 2020-05-23 22:31:59 -07:00
message_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 2020-05-13 23:12:35 -04:00
message.go ipn: add AllowVersionSkew bool to Notify & Message 2020-05-09 13:51:48 -07:00
prefs_test.go ipn: plumb NetfilterMode all the way out to the CLI. 2020-05-14 23:51:44 -07:00
prefs.go ipn: plumb NetfilterMode all the way out to the CLI. 2020-05-14 23:51:44 -07:00
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 2020-05-13 23:12:35 -04:00
store.go ipn: have NewFileStore try to create directories as needed 2020-03-03 11:51:44 -08:00