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>
3 months ago
..
fake.go
ifstatus_noop.go
ifstatus_windows.go
mtu.go
mtu_test.go
netstack_disabled.go
netstack_enabled.go
tstun_stub.go
tun.go feature/linkspeed: move cosmetic tstun netlink code out to modular feature 4 months ago
tun_linux.go
tun_macos.go
tun_notwindows.go
tun_windows.go
wrap.go wgengine/netlog: embed node information in network flow logs (#17668) 3 months ago
wrap_linux.go net/tstun: use ts_omit_gro in another place I missed earlier 4 months ago
wrap_noop.go net/tstun: use ts_omit_gro in another place I missed earlier 4 months ago
wrap_test.go wgengine/netlog: merge connstats into package (#17557) 4 months ago