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
Andrea Gottardo d6a8fb20e7
health: include DERP region name in bad derp notifications (#12530)
Fixes tailscale/corp#20971

We added some Warnables for DERP failure situations, but their Text currently spits out the DERP region ID ("10") in the UI, which is super ugly. It would be better to provide the RegionName of the DERP region that is failing. We can do so by storing a reference to the last-known DERP map in the health package whenever we fetch one, and using it when generating the notification text.

This way, the following message...

> Tailscale could not connect to the relay server '10'. The server might be temporarily unavailable, or your Internet connection might be down.

becomes:

> Tailscale could not connect to the 'Seattle' relay server. The server might be temporarily unavailable, or your Internet connection might be down.

which is a lot more user-friendly.

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
2 weeks ago
..
conffile cmd/tailscaled, ipn/conffile: support ec2 user-data config file 1 month ago
ipnauth go.mod, all: move away from inet.af domain seized by Taliban 5 months ago
ipnlocal health: include DERP region name in bad derp notifications (#12530) 2 weeks ago
ipnserver ipn/ipnserver: close a small race in ipnserver, ~simplify code 2 months ago
ipnstate cmd/tailscale/cli: print node signature in `tailscale lock status` 1 month ago
localapi proxymap, various: distinguish between different protocols 2 weeks ago
policy ipn,tailconfig: clean up unreleased and removed app connector service 8 months ago
store ipn/store/kubestore, cmd/containerboot: allow overriding client api server URL via ENV (#12115) 1 month ago
backend.go health: begin work to use structured health warnings instead of strings, pipe changes into ipn.Notify (#12406) 2 weeks ago
conf.go cmd/k8s-operator,cmd/containerboot,ipn,k8s-operator: turn off stateful filter for egress proxies. (#12075) 2 months ago
doc.go all: update copyright and license headers 1 year ago
ipn_clone.go ipn,wgengine: remove vestigial Prefs.AllowSingleHosts 2 months ago
ipn_test.go all: do not depend on the testing package 1 month ago
ipn_view.go ipn,wgengine: remove vestigial Prefs.AllowSingleHosts 2 months ago
prefs.go various: disable stateful filtering by default (#12197) 1 month ago
prefs_test.go ipn,wgengine: remove vestigial Prefs.AllowSingleHosts 2 months ago
serve.go serve.go, tsnet.go: Fix "in in" typo (#12279) 1 month ago
serve_test.go {ipn/serve,cmd/tailscale/cli}: move some shared funcs to ipn 4 months ago
store.go ipn: add comment about thread-safety to StateStore 4 months ago
store_test.go ipn: avoid useless no-op WriteState calls 11 months ago