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
Andrew Dunham 727acf96a6 net/netcheck: use DERP frames as a signal for home region liveness
This uses the fact that we've received a frame from a given DERP region
within a certain time as a signal that the region is stil present (and
thus can still be a node's PreferredDERP / home region) even if we don't
get a STUN response from that region during a netcheck.

This should help avoid DERP flaps that occur due to losing STUN probes
while still having a valid and active TCP connection to the DERP server.

RELNOTE=Reduce home DERP flapping when there's still an active connection

Updates #8603

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: If7da6312581e1d434d5c0811697319c621e187a0
6 months ago
..
addlicense all: update tools that manage copyright headers 1 year ago
build-webclient client/web: precompress assets 6 months ago
cloner cmd/cloner: fix typo in test type's name 8 months ago
containerboot cmd/containerboot: symlink TS_SOCKET to socket expected by CLI 6 months ago
derper tsweb: propagate RequestID via context and entire request 6 months ago
derpprobe prober: migrate to Prometheus metric library 1 year ago
dist cmd/dist,release/dist: add distsign signing hooks (#9070) 10 months ago
get-authkey all: use cmpx.Or where it made sense 1 year ago
gitops-pusher .github,cmd/gitops-pusher: update to checkout@v4 9 months ago
hello all: update copyright and license headers 1 year ago
k8s-operator cmd/k8s-operator: drop https:// in capName 6 months ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 1 year ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 10 months ago
mkversion version/mkversion: open-source version generation logic 1 year ago
nardump all: update copyright and license headers 1 year ago
netlogfmt go.mod: update github.com/go-json-experiment/json (#9508) 9 months ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 1 year ago
pgproxy various: add golangci-lint, fix issues (#7905) 1 year ago
printdep cmd/printdep: print correct toolchain URL 1 year ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 1 year ago
sniproxy appc,cmd/sniproxy,ipn/ipnlocal: split sniproxy configuration code out of appc 7 months ago
speedtest all: update copyright and license headers 1 year ago
ssh-auth-none-demo all: replace deprecated ioutil references 10 months ago
stunc all: update copyright and license headers 1 year ago
sync-containers all: adjust some build tags for plan9 10 months ago
tailscale net/netcheck: use DERP frames as a signal for home region liveness 6 months ago
tailscaled cmd/tailscaled: update ConfigureWebClient's UseSocketOnly value 6 months ago
testcontrol all: update copyright and license headers 1 year ago
testwrapper ci: report test coverage to coveralls.io 7 months ago
tsconnect scripts/check_license_headers: enforce license on ts/tsx files 6 months ago
tsidp cmd/tsidp: add start of OIDC Tailscale IdP 7 months ago
tsshd all: update copyright and license headers 1 year ago
viewer cmd/cloner: add regression test for slice nil/empty semantics 8 months ago