Categorygithub.com/siderolabs/tcpproxy
modulepackage
0.1.0
Repository: https://github.com/siderolabs/tcpproxy.git
Documentation: pkg.go.dev

# README

# Packages

No description provided by the author
No description provided by the author

# Functions

GetTCPUserTimeout gets the TCP user timeout on a connection's socket.
SetTCPUserTimeout sets the TCP user timeout on a connection's socket.
To is shorthand way of writing &tcpproxy.DialProxy{Addr: addr}.
UnderlyingConn returns c.Conn if c of type *Conn, otherwise it returns c.

# Structs

Conn is an incoming connection that has had some bytes read from it to determine how to route the connection.
DialProxy implements Target by dialing a new connection to Addr and then proxying data back and forth.
Proxy is a proxy.
TargetListener implements both net.Listener and Target.

# Interfaces

Target is what an incoming matched connection is sent to.

# Type aliases

Matcher reports whether hostname matches the Matcher's criteria.
SNITargetFunc is the func callback used by Proxy.AddSNIRouteFunc.