Documentation
¶
Overview ¶
Package socks5 provides a minimal SOCKS5 CONNECT-only server. It exists so the trustwatch image can double as its own tunnel relay in air-gapped clusters that cannot pull a dedicated proxy image.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Addr string // listen address, default ":1080"
}
Server is a minimal SOCKS5 proxy that only supports the CONNECT command with no authentication. It resolves DNS on the server side, which is the whole point — the relay pod runs inside the cluster where cluster DNS works.
Click to show internal directories.
Click to hide internal directories.