Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tailscale] net: add SockTrace API #45

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Commits on Feb 28, 2023

  1. [tailscale] net: add SockTrace API

    Loosely inspired by nettrace/httptrace, allows functions to be called
    when sockets are read from or written to. The hooks are specified via
    the context (with a WithSockTrace function).
    
    Only implemented for network sockets on POSIX systems.
    
    Updates tailscale/corp#9230
    Updates #58
    mihaip committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    b2969cb View commit details
    Browse the repository at this point in the history