package
0.0.0-20250306120524-11777db3047b
Repository: https://github.com/cloudflare/cloudflared.git
Documentation: pkg.go.dev
# Functions
NewAuthHandler creates a default auth handler.
NewConnDialer creates a new dialer with a already created net.conn (TCP expected).
NewConnectionHandler creates a standard SOCKS5 connection handler This process connections from a generic TCP listener from the standard library.
NewNetDialer creates a new dialer.
NewNoAuthAuthenticator creates a authless Authenticator.
NewRequest creates a new request from the connection data stream.
NewRequestHandler creates a standard SOCKS5 request handler This handles the SOCKS5 commands and proxies them to their destination.
NewUserPassAuthAuthenticator creates a new username/password validator Authenticator.
No description provided by the author
No description provided by the author
# Constants
NoAuth means no authentication is used when connecting.
UserPassAuth means a user/password is used when connecting.
# Structs
AddrSpec is used to return the target IPv4, IPv6, or a FQDN.
ConnDialer is like NetDialer but with an existing TCP dialer already created.
NetDialer is a standard TCP dialer.
NoAuthAuthenticator is used to handle the No Authentication mode.
Request is a SOCKS5 command with supporting field of the connection.
StandardAuthHandler loads the default authenticators.
StandardConnectionHandler is the base implementation of handling SOCKS5 requests.
StandardRequestHandler implements the base socks5 command processing.
UserPassAuthAuthenticator is used to handle the user/password mode.
# Interfaces
Authenticator is the connection passed in as a reader/writer to support different authentication types.
AuthHandler handles socks authentication requests.
ConnectionHandler is the Serve method to handle connections from a local TCP listener of the standard library (net.Listener).
Dialer is used to provided the transport of the proxy.
RequestHandler is the functions needed to handle a SOCKS5 command.