262 Commits (4099a364685d70a1dec1896996c94de42f0f67bc)

Author SHA1 Message Date
Brad Fitzpatrick f77821fd63 derp/derphttp: determine whether a region connect was to non-ideal node 2 years ago
Brad Fitzpatrick c6af5bbfe8 all: add test for package comments, fix, add comments as needed 2 years ago
James Tucker 114d1caf55 derp/xdp: retain the link so that the fd is not closed 2 years ago
Brad Fitzpatrick 210264f942 cmd/derper: clarify that derper and tailscaled need to be in sync 2 years ago
Brad Fitzpatrick 3485e4bf5a derp: make RunConnectionLoop funcs take Messages, support PeerPresentFlags 2 years ago
Brad Fitzpatrick d91e5c25ce derp: redo, simplify how mesh update writes are queued/written 2 years ago
Brad Fitzpatrick ded7734c36 derp: account for increased size of peerPresent messages in mesh updates 2 years ago
Brad Fitzpatrick 5ffb2668ef derp: add PeerPresentFlags bitmask to Watch messages 2 years ago
Brad Fitzpatrick 25eeafde23 derp: don't verify mesh peers when --verify-clients is set 2 years ago
Brad Fitzpatrick 4b39b6f7ce derp: fix fmt verb for nodekeys 2 years ago
Jordan Whited a93173b56a
cmd/xdpderper,derp/xdp: implement mode that drops STUN packets (#12527) 2 years ago
James Tucker 87c5ad4c2c derp: add a verifyClients check to the consistency check 2 years ago
Jordan Whited 315f3d5df1
derp/xdp: fix handling of zero value UDP checksums (#12510) 2 years ago
Jordan Whited 65888d95c9
derp/xdp,cmd/xdpderper: initial skeleton (#12390) 2 years ago
Brad Fitzpatrick 6908fb0de3 ipn/localapi,client/tailscale,cmd/derper: add WhoIs lookup by nodekey, use in derper 2 years ago
Maisem Ali 4a8cb1d9f3 all: use math/rand/v2 more 2 years ago
Brad Fitzpatrick f227083539 derp: add some guardrails for derpReason metrics getting out of sync 2 years ago
Spike Curtis 0380cbc90d
derp: fix dropReason metrics labels (#12288) 2 years ago
Andrew Dunham c6d42b1093 derp: remove stats goroutine, use a timer 2 years ago
Brad Fitzpatrick 15fc6cd966 derp/derphttp: fix netcheck HTTPS probes 2 years ago
Brad Fitzpatrick ee3bd4dbda derp/derphttp, net/netcheck: plumb netmon.Monitor to derp netcheck client 2 years ago
Maisem Ali a49ed2e145 derp,ipn/ipnlocal: stop calling rand.Seed 2 years ago
Brad Fitzpatrick 3672f29a4e net/netns, net/dns/resolver, etc: make netmon required in most places 2 years ago
Brad Fitzpatrick 723c775dbb tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 2 years ago
Brad Fitzpatrick 7c1d6e35a5 all: use Go 1.22 range-over-int 2 years ago
Brad Fitzpatrick b27238b654 derp/derphttp: don't block in LocalAddr method 2 years ago
Brad Fitzpatrick 3e6306a782 derp/derphttp: make CONNECT Host match request-target's authority-form 2 years ago
Brad Fitzpatrick 10d130b845 cmd/derper, derp, tailcfg: add admission controller URL option 2 years ago
Brad Fitzpatrick 2988c1ec52 derp: plumb context to Server.verifyClient 2 years ago
Brad Fitzpatrick 2bd3c1474b util/cmpx: delete now that we're using Go 1.22 2 years ago
James Tucker 7100b6e721 derp: optimize another per client field alignment 2 years ago
James Tucker ee20327496 derp: remove unused per-client struct field 2 years ago
James Tucker a7f65b40c5 derp: optimize field order to reduce GC cost 2 years ago
James Tucker ff9c1ebb4a derp: reduce excess goroutines blocking on broadcasts 2 years ago
Andrew Lytvynov 2716250ee8
all: cleanup unused code, part 2 (#10670) 2 years ago
Anton Tolchanov ef6a6e94f1 derp/derphttp: use a getter method to read server key 2 years ago
Brad Fitzpatrick b2b836214c derp/derphttp: fix derptrack fix 2 years ago
Anton Tolchanov c3313133b9 derp/derphttp: close DERP client to avoid data race in test 2 years ago
Anton Tolchanov 3114a1c88d derp/derphttp: add watch reconnection tests from #9719 2 years ago
Brad Fitzpatrick 3d7fb6c21d derp/derphttp: fix race in mesh watcher 2 years ago
Thomas Kosiewski b2ae8fdf80
derp/derphttp: strip port numbers from URL hostname 3 years ago
David Anderson 8b492b4121 net/wsconn: accept a remote addr string and plumb it through 3 years ago
Brad Fitzpatrick 3bce9632d9 derp/derphttp: fix data race and crash in proxy dial error path 3 years ago
Brad Fitzpatrick 6c791f7d60 derp: include src IPs in mesh watch messages 3 years ago
Brad Fitzpatrick be4eb6a39e derp, net/dns/recursive: use Go 1.21 min 3 years ago
Brad Fitzpatrick 5ebb271322 derp/derphttp: add optional Client.BaseContext hook 3 years ago
Claire Wang 90a7d3066c
derp: use tstime (#8634) 3 years ago
Andrew Dunham ab310a7f60 derp: use new net/tcpinfo package 3 years ago
Brad Fitzpatrick eefee6f149 all: use cmpx.Or where it made sense 3 years ago
valscale 5ae786988c
derp: remove default logging of disconnecting clients (#8163) 3 years ago