[tor-bugs] #14132 [Torsocks]: Add SocksSocket support to torsocks

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 8 15:28:40 UTC 2015


#14132: Add SocksSocket support to torsocks
----------------------------------------+-------------------------
 Reporter:  ioerror                     |          Owner:  dgoulet
     Type:  enhancement                 |         Status:  new
 Priority:  normal                      |      Milestone:
Component:  Torsocks                    |        Version:
 Keywords:  isolation, security, socks  |  Actual Points:
Parent ID:                              |         Points:
----------------------------------------+-------------------------
 In Paris, dgoulet and I started to write some basic torsocks support for
 SocksSocket (#12585) - in an ideal world, we'd have a Tor with a
 SocksSocket running by default. This would allow torsocks to do useful
 things by default - namely - any app can be instantly torified without
 worries about firewalls, users can be isolated from different socks
 proxies by uid, etc. Basically, I think it means that torsocks could
 default to SocksSocket, if built on a SocksSocket supporting platform.

 I think for changes, we'd want to do the following:

   Add a configuration (in /etc/torsocks.conf ) option for the default
 SocksSocket location
     eg: /var/lib/tor/SockSocket
   stat() the default SocksSocket file location
     if we find a SockSocket, we switch to AF_UNIX for all communications
       normal torsocks failures from here out
     if we don't find a SocksSocket
       fail hard? fail soft?
   if we fail soft, switch to the default _server_ configured
     if that fails, give an error and fail hard

 dgoulet - do you still have the patch we started to write in paris?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14132>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list