diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2025-10-28 14:48:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-28 14:48:37 -0700 |
| commit | 478342a642af49278237e74b994484c107b780d2 (patch) | |
| tree | 72f724ca257c5fcd6272e00f763fa7da5ad5d7a1 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | fcb614a53e8e2d5bb76279639d1962e1cb24983a (diff) | |
| download | tailscale-478342a642af49278237e74b994484c107b780d2.tar.xz tailscale-478342a642af49278237e74b994484c107b780d2.zip | |
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>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
