examples/

directory
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: MIT

Directories

Path Synopsis
Example showing a multi-hop proxy chain (mux → SOCKS4 → SOCKS5) for an HTTP request.
Example showing a multi-hop proxy chain (mux → SOCKS4 → SOCKS5) for an HTTP request.
Simple SOCKS4 + SOCKS5 mux server using the base handler allowing CONNECT command with default timeouts and buffer size.
Simple SOCKS4 + SOCKS5 mux server using the base handler allowing CONNECT command with default timeouts and buffer size.
Simple SOCKS4 server using the base handler allowing CONNECT and BIND commands with default timeouts and buffer size.
Simple SOCKS4 server using the base handler allowing CONNECT and BIND commands with default timeouts and buffer size.
Simple SOCKS5 server using the base handler allowing CONNECT, BIND, UDP ASSOCIATE, and RESOLVE commands with default timeouts and buffer size.
Simple SOCKS5 server using the base handler allowing CONNECT, BIND, UDP ASSOCIATE, and RESOLVE commands with default timeouts and buffer size.
simple custom socks5 server that supports "connect" command with "no auth" method, and logs all events.
simple custom socks5 server that supports "connect" command with "no auth" method, and logs all events.
Simple SOCKS5 GSSAPI authentication demo using an HMAC-SHA256 challenge-response exchange with a pre-shared secret.
Simple SOCKS5 GSSAPI authentication demo using an HMAC-SHA256 challenge-response exchange with a pre-shared secret.
Example SOCKS5 resolve client.
Example SOCKS5 resolve client.
Example SOCKS5 UDP client using PacketConn.
Example SOCKS5 UDP client using PacketConn.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL