Categorygithub.com/defhacks/tcpproxy
modulepackage
0.0.3
Repository: https://github.com/defhacks/tcpproxy.git
Documentation: pkg.go.dev

# README

# Packages

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

# Functions

To is a 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.
No description provided by the author
SNITargetFunc is the func callback used by Proxy.AddSNIRouteFunc.