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 c76a6e5167 derp: track client-advertised non-ideal DERP connections in more places
In f77821fd63 (released in v1.72.0), we made the client tell a DERP server
when the connection was not its ideal choice (the first node in its region).

But we didn't do anything with that information until now. This adds a
metric about how many such connections are on a given derper, and also
adds a bit to the PeerPresentFlags bitmask so watchers can identify
(and rebalance) them.

Updates tailscale/corp#372

Change-Id: Ief8af448750aa6d598e5939a57c062f4e55962be
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 month ago
..
addlicense all: update tools that manage copyright headers 2 years ago
build-webclient client/web: precompress assets 1 year ago
cloner cmd/cloner, cmd/viewer, util/codegen: add support for aliases of cloneable types 3 months ago
connector-gen cmd/connector-gen: add helper tool for wide app connector configurations 12 months ago
containerboot cmd/{k8s-operator,containerboot},kube/egressservices: fix Pod IP check for dual stack clusters (#13721) 2 months ago
derper net/tlsdial: call out firewalls blocking Tailscale in health warnings (#13840) 2 months ago
derpprobe cmd/derpprobe: add /healthz endpoint 2 months ago
dist release/dist/qnap: add qnap target builder 8 months ago
get-authkey client/tailscale,cmd/{cli,get-authkey,k8s-operator}: set distinct User-Agents 2 months ago
gitops-pusher cmd/gitops-pusher: ignore previous etag if local acls match control (#13068) 4 months ago
hello cmd/hello: link to the Hello KB article (#11022) 10 months ago
k8s-nameserver cmd/k8s-nameserver: fix AAAA record query response (#12412) 6 months ago
k8s-operator net/tlsdial: call out firewalls blocking Tailscale in health warnings (#13840) 2 months ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 1 year ago
mkversion version/mkversion: open-source version generation logic 2 years ago
nardump all: update copyright and license headers 2 years ago
natc cmd/natc: fix nil pointer 3 months ago
netlogfmt all: use Go 1.22 range-over-int 8 months ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy tsnet: split user facing and backend logging 7 months ago
printdep cmd/printdep: print correct toolchain URL 2 years ago
proxy-to-grafana cmd/proxy-to-grafana: add flag for alternative control server 6 months ago
sniproxy all: use math/rand/v2 more 6 months ago
speedtest all: update copyright and license headers 2 years ago
ssh-auth-none-demo all: replace deprecated ioutil references 1 year ago
stunc cmd/stunc: support user-specified port (#12469) 6 months ago
stund cli: add `tailscale dns query` (#13368) 2 months ago
stunstamp cmd/stunstamp: add protocol context to timeout logs (#13422) 3 months ago
sync-containers all: adjust some build tags for plan9 1 year ago
systray cmd/systray: handle reconnects to IPN bus (#13386) 3 months ago
tailscale derp: track client-advertised non-ideal DERP connections in more places 1 month ago
tailscaled net/tlsdial: call out firewalls blocking Tailscale in health warnings (#13840) 2 months ago
testcontrol all: use Go 1.22 range-over-int 8 months ago
testwrapper cmd/testwrapper: apply results of all unit tests to coverage for all packages 10 months ago
tl-longchain cmd/tl-longchain: tool to re-sign nodes with long rotation signatures 4 months ago
tsconnect cmd/tsconnect, logpolicy: fixes for wasm_js.go 2 months ago
tsidp cmd/tsidp: add --dir flag 2 months ago
tsshd all: update copyright and license headers 2 years ago
tta cmd/tta: pull out test driver dialing into a type, fix bugs 3 months ago
viewer cmd/cloner, cmd/viewer, util/codegen: add support for aliases of cloneable types 3 months ago
vnet tstest/natlab/vnet: add start of IPv6 support 3 months ago
xdpderper all: add test for package comments, fix, add comments as needed 5 months ago