You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tailscale] net: add TCP socket creation/close hooks to SockTrace API
Extends the hooks added by #45 to also expose when TCP sockets are
created or closed (meant to allow TCP stats to be read from them). We
don't do this for all socket types since stats are not available for
UDP sockets, and they tend to be short-lived, thus invoking the hooks
would be useless overhead.
Also fixes read/write hooks to not count out-of-band data, since that's
usually not sent over the wire.
Updates tailscale/corp#9230
Updates #58
Signed-off-by: Jenny Zhang <[email protected]>
(Cherry-picked from db4dc90)
(cherry picked from commit 51a96ad)
(cherry picked from commit aff7d04)
Signed-off-by: Brad Fitzpatrick <[email protected]>
0 commit comments