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/wgengine/magicsock
Brad Fitzpatrick 723c775dbb tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing
This adds a health.Tracker to tsd.System, accessible via
a new tsd.System.HealthTracker method.

In the future, that new method will return a tsd.System-specific
HealthTracker, so multiple tsnet.Servers in the same process are
isolated. For now, though, it just always returns the temporary
health.Global value. That permits incremental plumbing over a number
of changes. When the second to last health.Global reference is gone,
then the tsd.System.HealthTracker implementation can return a private
Tracker.

The primary plumbing this does is adding it to LocalBackend and its
dozen and change health calls. A few misc other callers are also
plumbed. Subsequent changes will flesh out other parts of the tree
(magicsock, controlclient, etc).

Updates #11874
Updates #4136

Change-Id: Id51e73cfc8a39110425b6dc19d18b3975eac75ce
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 month ago
..
batching_conn.go wgengine/magicsock: improve don't fragment bit set/get support 9 months ago
blockforever_conn.go wgengine/magicsock: improve don't fragment bit set/get support 9 months ago
debughttp.go all: remove LenIter, use Go 1.22 range-over-int instead 3 months ago
debugknobs.go all: cleanup unused code, part 2 (#10670) 5 months ago
debugknobs_stubs.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 9 months ago
derp.go tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 1 month ago
derp_test.go net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics 2 months ago
discopingpurpose_string.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 4 months ago
endpoint.go wgengine/magicsock: prefer link-local addresses to private ones 3 months ago
endpoint_default.go all: adjust some build tags for plan9 9 months ago
endpoint_stub.go all: adjust some build tags for plan9 9 months ago
endpoint_test.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 4 months ago
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 10 months ago
endpoint_tracker_test.go all: use Go 1.22 range-over-int 2 months ago
magicsock.go health: add Tracker type, in prep for removing global variables 1 month ago
magicsock_default.go wgengine/magicsock: delete unused stuff 10 months ago
magicsock_linux.go wgengine/magicsock: simplify tryEnableUDPOffload() (#9872) 8 months ago
magicsock_test.go health: add Tracker type, in prep for removing global variables 1 month ago
magicsock_unix_test.go all: update copyright and license headers 1 year ago
peermap.go wgengine/magicsock: allow disco communication without known endpoints 2 months ago
peermtu.go magicsock: mute noisy expected peer mtu related error (#10870) 4 months ago
peermtu_darwin.go wgengine/magicsock: improve don't fragment bit set/get support 9 months ago
peermtu_linux.go wgengine/magicsock: improve don't fragment bit set/get support 9 months ago
peermtu_stubs.go magicsock: mute noisy expected peer mtu related error (#10870) 4 months ago
peermtu_unix.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 9 months ago
rebinding_conn.go wgengine/magicsock: improve don't fragment bit set/get support 9 months ago