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/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>
4 years ago
..
ipnserver ipnserver and logpolicy: configure zstd with low-memory settings. 4 years ago
ipnstate ipn/ipnstate: improve HTML output 4 years ago
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 5 years ago
backend.go ipn: Resolve some resource leaks in test. 4 years ago
doc.go Move Linux client & common packages into a public repo. 5 years ago
e2e_test.go ipn: Resolve some resource leaks in test. 4 years ago
fake_test.go ipn, wgengine/filter: remove exported type aliases 4 years ago
handle.go ipn, wgengine/filter: remove exported type aliases 4 years ago
local.go all: make client use server-provided DERP map, add DERP region support 4 years ago
message.go ipn: add AllowVersionSkew bool to Notify & Message 4 years ago
message_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 4 years ago
prefs.go ipn: plumb NetfilterMode all the way out to the CLI. 4 years ago
prefs_test.go ipn: plumb NetfilterMode all the way out to the CLI. 4 years ago
store.go ipn: have NewFileStore try to create directories as needed 5 years ago
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 4 years ago