tailscale/ipn/localapi
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
2023-03-07 13:53:03 -05:00
..
cert.go all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2023-02-01 15:23:54 -08:00
debugderp.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
disabled_stubs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
localapi_test.go all: use tstest.Replace more 2023-03-04 12:24:55 -08:00
localapi.go wgengine/magicsock: track per-endpoint changes in ringbuffer 2023-03-07 13:53:03 -05:00
pprof.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00