package
1.79.0-mod
Repository: https://github.com/sagernet/tailscale.git
Documentation: pkg.go.dev

# Functions

FromDialer returns sets d.Control as necessary to run in a logical network namespace that doesn't route back into Tailscale.
IsSOCKSDialer reports whether d is SOCKS-proxying dialer as returned by NewDialer or FromDialer.
Listener returns a new net.Listener with its Control hook func initialized as necessary to run in logical network namespace that doesn't route back into Tailscale.
NewDialer returns a new Dialer using a net.Dialer with its Control hook func initialized as necessary to run in a logical network namespace that doesn't route back into Tailscale.
SetBindToInterfaceByRoute enables or disables whether we use the system's route information to bind to a particular interface.
SetDisableBindConnToInterface disables the (normal) behavior of binding connections to the default network interface.
SetEnabled enables or disables netns for the process.
UseSocketMark reports whether SO_MARK is in use.

# Interfaces

Dialer is the interface for a dialer that can dial with or without a context.