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
Andrew Dunham be107f92d3 wgengine/magicsock: track per-endpoint changes in ringbuffer
This change adds a ringbuffer to each magicsock endpoint that keeps a
fixed set of "changes"–debug information about what updates have been
made to that endpoint.

Additionally, this adds a LocalAPI endpoint and associated
"debug peer-status" CLI subcommand to fetch the set of changes for a given
IP or hostname.

Updates tailscale/corp#9364

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I34f726a71bddd0dfa36ec05ebafffb24f6e0516a
2 years ago
..
debughttp.go all: update copyright and license headers 2 years ago
debugknobs.go all: update copyright and license headers 2 years ago
debugknobs_stubs.go all: update copyright and license headers 2 years ago
discopingpurpose_string.go all: update copyright and license headers 2 years ago
magicsock.go wgengine/magicsock: track per-endpoint changes in ringbuffer 2 years ago
magicsock_default.go all: update copyright and license headers 2 years ago
magicsock_linux.go all: update copyright and license headers 2 years ago
magicsock_test.go all: update copyright and license headers 2 years ago
magicsock_unix_test.go all: update copyright and license headers 2 years ago
pathfinder.go all: update copyright and license headers 2 years ago