|
|
[https://trac.torproject.org/projects/tor/wiki/doc/torsocks Back to torsocks...]
|
|
|
[Back to torsocks...](https://trac.torproject.org/projects/tor/wiki/doc/torsocks)
|
|
|
|
|
|
This page documents the history of torsocks leading up to the current version linked above... all its various old names, locations, authors... in one place.
|
|
|
|
... | ... | @@ -24,34 +24,34 @@ claws-mail |
|
|
* outdated: https://lists.nongnu.org/archive/html/gnewsense-users/2010-04/msg00131.html
|
|
|
|
|
|
|
|
|
== tsocks ==
|
|
|
This content imported from former location: [wiki:doc/TSocksPatches]
|
|
|
## tsocks
|
|
|
This content imported from former location: [doc/TSocksPatches](doc/TSocksPatches)
|
|
|
|
|
|
|
|
|
'''The current torsocks code is found here: [https://gitweb.torproject.org/torsocks.git/] .''' Everything below is historical and preserved for that purpose.
|
|
|
**The current torsocks code is found here: [https://gitweb.torproject.org/torsocks.git/] .** Everything below is historical and preserved for that purpose.
|
|
|
|
|
|
|
|
|
The program [http://tsocks.sourceforge.net/ tsocks] shows promise as a wrapper script for making individual client applications work with Tor. Already, tsocks intercepts system calls that use the TCP stack and encapsulates them using SOCKS. However, there are a number of problems with tsocks. For example, tsocks does not intercept gethostbyname() system calls, leaking DNS requests in a manner that compromises the anonymity of Tor users. Additionally, tsocks contains a number of serious bugs, and it does not currently build on Mac OS X. For these reasons, we do not currently recommend that Tor users use tsocks. Nonetheless, we believe that it may be sufficient to create a new version of tsocks that carefully integrates all of the following patches:
|
|
|
The program [tsocks](http://tsocks.sourceforge.net/) shows promise as a wrapper script for making individual client applications work with Tor. Already, tsocks intercepts system calls that use the TCP stack and encapsulates them using SOCKS. However, there are a number of problems with tsocks. For example, tsocks does not intercept gethostbyname() system calls, leaking DNS requests in a manner that compromises the anonymity of Tor users. Additionally, tsocks contains a number of serious bugs, and it does not currently build on Mac OS X. For these reasons, we do not currently recommend that Tor users use tsocks. Nonetheless, we believe that it may be sufficient to create a new version of tsocks that carefully integrates all of the following patches:
|
|
|
|
|
|
1. [http://www.totalinfosecurity.com/patches/tor.php Patch from Total Information Security to resolve the DNS leakage problem and allow access to addresses with nonstandard hostnames (e.g. those ending in .onion).]
|
|
|
1. [Patch from Total Information Security to resolve the DNS leakage problem and allow access to addresses with nonstandard hostnames (e.g. those ending in .onion).](http://www.totalinfosecurity.com/patches/tor.php)
|
|
|
|
|
|
2. [http://marc.abramowitz.info/archives/2006/01/29/building-tsocks-on-mac-os-x/ Patch from Marc Abramowitz to allow tsocks to compile on Mac OS X.] (Host marc.abramowitz.info i no longer in DNS, so link is dead)
|
|
|
2. [Patch from Marc Abramowitz to allow tsocks to compile on Mac OS X.](http://marc.abramowitz.info/archives/2006/01/29/building-tsocks-on-mac-os-x/) (Host marc.abramowitz.info i no longer in DNS, so link is dead)
|
|
|
|
|
|
3. [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=239025 Patch from weasel to resolve an infinite loop that occurs when the server just disconnects when tsocks expects a reply.]
|
|
|
3. [Patch from weasel to resolve an infinite loop that occurs when the server just disconnects when tsocks expects a reply.](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=239025)
|
|
|
|
|
|
4. [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240429 Patch from weasel to intercept getpeername().]
|
|
|
4. [Patch from weasel to intercept getpeername().](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240429)
|
|
|
|
|
|
5. [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311805 Patch from Roderick Schertler to fix a minor bug in the documentation.]
|
|
|
5. [Patch from Roderick Schertler to fix a minor bug in the documentation.](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311805)
|
|
|
|
|
|
6. [http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/tsocks/ Some patches offered by the FreeBSD ports maintainers.]
|
|
|
6. [Some patches offered by the FreeBSD ports maintainers.](http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/tsocks/)
|
|
|
|
|
|
7. [http://archives.seul.org/or/dev/Apr-2006/msg00002.html Patch from Roger Dingledine to only call 127.0.0.0/8 as local if the config file doesn't provide one.]
|
|
|
7. [Patch from Roger Dingledine to only call 127.0.0.0/8 as local if the config file doesn't provide one.](http://archives.seul.org/or/dev/Apr-2006/msg00002.html)
|
|
|
|
|
|
There is now a fork of tsocks specifically for use with Tor, called [http://code.google.com/p/torsocks/ torsocks].
|
|
|
There is now a fork of tsocks specifically for use with Tor, called [torsocks](http://code.google.com/p/torsocks/).
|
|
|
|
|
|
Torsocks contains [http://code.google.com/p/torsocks/source/browse/#svn/trunk/patches/ patches] 1, 3, 4, 5, 6 and 7 above. It also contains a number of [http://code.google.com/p/torsocks/source/browse/trunk/ChangeLog enhancements].
|
|
|
Torsocks contains [patches](http://code.google.com/p/torsocks/source/browse/#svn/trunk/patches/) 1, 3, 4, 5, 6 and 7 above. It also contains a number of [enhancements](http://code.google.com/p/torsocks/source/browse/trunk/ChangeLog).
|
|
|
|
|
|
Historically, there was also [http://imae.udg.edu/~rgarcia/tsocks/ Ruben Garcia's tsocks] incorporating the above patches, but that has now been deprecated for use with tor according to the link. It is still used by people who don't use tor but want to socksify an application.
|
|
|
Historically, there was also [Ruben Garcia's tsocks](http://imae.udg.edu/~rgarcia/tsocks/) incorporating the above patches, but that has now been deprecated for use with tor according to the link. It is still used by people who don't use tor but want to socksify an application.
|
|
|
|
|
|
|
|
|
|