EtiennePerot / parcimonie.sh

Refresh your GnuPG keyring without disclosing your whole contact list to the world
Do What The F*ck You Want To Public License
225 stars 15 forks source link

torsocks 2.0 compatibility #6

Closed mroq closed 10 years ago

mroq commented 10 years ago

hi, torsocks 1.3 or whatever has been superseded by 2.0 - the configuration file syntax changed, and it doesn't support regular SOCKS anymore, but only tor. so no need for the protocol bit.

thanks for this, i love the simplicity

EtiennePerot commented 10 years ago

Is it possible to detect what version of torsocks is installed, and generate a file that works with it? I am assuming that people are running this script as a service and wouldn't notice the breakage easily. I have torsocks 1.whatever (doesn't really look like it really has a version number) and it doesn't seem to have a --version flag or other. Does version 2.0 have such a thing?

DomT4 commented 10 years ago

Seems to.

# torsocks --version                                                                           [~]
Torsocks 2.0.0
mroq commented 10 years ago

i would rather not support two versions - as for why, see https://lists.torproject.org/pipermail/tor-dev/2014-October/007680.html

your README suggestion makes a lot of sense, i'll change that

EtiennePerot commented 10 years ago

OK, that's fair. Thanks!