Fabian Frank - 2008-12-29

hi all,

i did a little patch for tsocks to allow to override the proxy given in the config file with an environment variable. this is very useful for me, because sometimes i have more than one socks tunnel open (using SSH). if you want to override the configured proxy, just do something like this:

export TSOCKS_PROXY=localhost:8888

to use localhost:8888 as socks proxy.

i did the patch against tsocks-1.8beta5.

http://www.ba-horb.de/~i06015/tsocks-1.8-envsrv.patch

cheers,
fabian