tailscale/wgengine
Joe Tsai a1a43ed266
wgengine/netlog: add support for magicsock statistics (#5913)
This sets up Logger to handle statistics at the magicsock layer,
where we can correlate traffic between a particular tailscale IP address
and any number of physical endpoints used to contact the node
that hosts that tailscale address.

We also export Message and TupleCounts to better document the JSON format
that is being sent to the logging infrastructure.

This commit does NOT yet enable the actual logging of magicsock statistics.
That will be a future commit.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-10-13 10:46:29 -07:00
..
bench all: fix more resource leaks found by staticmajor 2022-10-10 20:46:56 -07:00
filter all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
magicsock wgengine/magicsock: make debug-level stuff not logged by default 2022-10-04 11:05:50 -07:00
monitor envknob: support changing envknobs post-init 2022-09-15 15:04:02 -07:00
netlog wgengine/netlog: add support for magicsock statistics (#5913) 2022-10-13 10:46:29 -07:00
netstack all: fix resource leaks with missing .Close() calls 2022-09-26 15:31:54 -07:00
router all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
wgcfg wgengine/wgcfg: plumb down audit log IDs (#5855) 2022-10-06 16:19:38 -07:00
wgint go.mod, wgengine/wgint: bump wireguard-go 2022-09-06 11:34:30 -07:00
wglog all: use syncs.AtomicValue 2022-08-04 11:52:16 -07:00
winnet all: gofmt all 2022-04-29 13:06:04 -07:00
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
pendopen.go wgengine: remove all peer status from open timeout diagnostics 2022-08-29 15:54:33 -07:00
userspace.go wgengine/netlog: add support for magicsock statistics (#5913) 2022-10-13 10:46:29 -07:00
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
userspace_test.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
watchdog.go wgengine: print in-flight operations on watchdog trigger (#5447) 2022-08-27 22:06:18 -04:00
watchdog_js.go wasm: drop pprof dependency 2022-06-07 12:16:16 -07:00
watchdog_test.go wgengine: remove all peer status from open timeout diagnostics 2022-08-29 15:54:33 -07:00
wgengine.go wgengine: fix typo in Engine.PeerForIP (#5912) 2022-10-12 14:14:22 -07:00