[tor-bugs] #8043 [Torsocks]: various torsocks/ttdnsd errors and discrepancies

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Mar 10 20:38:42 UTC 2013


#8043: various torsocks/ttdnsd errors and discrepancies
----------------------+-----------------------------------------------------
 Reporter:  mr-4      |          Owner:                   
     Type:  defect    |         Status:  needs_information
 Priority:  normal    |      Milestone:                   
Component:  Torsocks  |        Version:                   
 Keywords:            |         Parent:                   
   Points:            |   Actualpoints:                   
----------------------+-----------------------------------------------------
Changes (by sysrqb):

  * status:  new => needs_information


Comment:

 Hi mr4, sorry for the delayed response.

 1) ttdnsd could use some love.

 2) Torsocks retrieves the path to the config file from from
 TORSOCKS_CONF_FILE, as you've discovered. The man page needs to be
 updated.

 3) ttdnsd still looks for the path in TSOCK_CONF_FILE, so if you want to
 use both, as you've found, you need to set both variables.

 4) The Torsocks output shows that it wasn't able to connect to the
 instance of Tor that is listening on 19050

 {{{
 07:41:01 libtorsocks(2611): Connecting to 127.0.0.1 port 19050
 07:41:01 libtorsocks(2611): Connect returned -1, errno is 115
 07:41:01 libtorsocks(2611): Error 2 attempting to connect to SOCKS server
 (No such file or directory)
 }}}

 5) I just spent some time and familiarized myself with the ttdnsd code and
 I don't see a code path to create that output. According to the git repo,
 there should be a line stating why/when the connection to 8.8.8.8
 transitioned from either CONNECTING -> DEAD or CONNECTED -> DEAD (state
 0). Neither are present. =\

 6) On the other hand, after review the Torsocks code for (4), I may have
 found a bug that would cause (5).

 Can you provide us some additional info about you OS, the version of
 Torsocks and ttdnsd you used?

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


More information about the tor-bugs mailing list