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/net/tstun
Joe Tsai 478342a642
wgengine/netlog: embed node information in network flow logs (#17668)
This rewrites the netlog package to support embedding node information in network flow logs.
Some bit of complexity comes in trying to pre-compute the expected size of the log message
after JSON serialization to ensure that we can respect maximum body limits in log uploading.

We also fix a bug in tstun, where we were recording the IP address after SNAT,
which was resulting in non-sensible connection flows being logged.

Updates tailscale/corp#33352

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
1 month ago
..
fake.go cmd/tailscaled,net/tstun: fix data race on start-up in TUN mode 2 years ago
ifstatus_noop.go all: update copyright and license headers 3 years ago
ifstatus_windows.go all: update copyright and license headers 3 years ago
mtu.go disco,net/tstun,wgengine/magicsock: probe peer MTU 2 years ago
mtu_test.go scripts/check_license_headers.sh: delete, rewrite as a Go test 6 months ago
netstack_disabled.go net/tstun: support ts_omit_netstack 2 months ago
netstack_enabled.go net/tstun: support ts_omit_netstack 2 months ago
tstun_stub.go net/tstun: add Plan 9 'tun' support 8 months ago
tun.go feature/linkspeed: move cosmetic tstun netlink code out to modular feature 2 months ago
tun_linux.go all: detect JetKVM and specialize a handful of things for it 5 months ago
tun_macos.go all: update copyright and license headers 3 years ago
tun_notwindows.go all: update copyright and license headers 3 years ago
tun_windows.go all: update copyright and license headers 3 years ago
wrap.go wgengine/netlog: embed node information in network flow logs (#17668) 1 month ago
wrap_linux.go net/tstun: use ts_omit_gro in another place I missed earlier 2 months ago
wrap_noop.go net/tstun: use ts_omit_gro in another place I missed earlier 2 months ago
wrap_test.go wgengine/netlog: merge connstats into package (#17557) 2 months ago