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/cmd
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>
5 years ago
..
derper derp: move write timeout to package constant. 5 years ago
microproxy tsweb: rename Handler to ReturnHandler 5 years ago
mkpkg cmd/mkpkg: support adding empty directories. 5 years ago
relaynode cmd/relaynode: delete it! 5 years ago
tailscale all: make client use server-provided DERP map, add DERP region support 5 years ago
tailscaled log rate limiting: reformat limiter messages, and use nonempty burst size. 5 years ago
tsshd wgengine/monitor: don't call LinkChange when interfaces look unchanged 5 years ago