Module socks

Source
Expand description

Implement a simple SOCKS proxy that relays connections over Tor.

A proxy is launched with run_socks_proxy(), which listens for new connections and then runs

Functionsยง

run_socks_proxy
Launch a SOCKS proxy to listen on a given localhost port, and run indefinitely.
stream_preference
Find out which kind of address family we can/should use for a given SocksRequest.