SOCKSPROXY - Peter Benie This program redirects connections SOCKS4 proxy, such as the one built into OpenSSH. *********************************************************************** ** The SOCKS4 protocol has very weak authentication and is only safe ** ** to use on a machine where all the users are trustworthy. ** *********************************************************************** To compile: Extract the sources and run make. To run: Prefix the command you want to run with "LD_PRELOAD=/path/to/socksproxy.so" (without the quotes). The behaviour of socksproxy is controlled by the following environment variables: mandatory: SOCKS_PROXY_NETWORK=aa.bb.cc.dd/nn - set the range of IP addresses that are to be intercepted and forwarded via SOCKS optional: SOCKS_PROXY_USERNAME=username - set the name offered to the SOCKS4 proxy [$USER] SOCKS_PROXY_PORT=number - set the SOCKS4 port number [1080]