[tor-bugs] #8043 [Torsocks]: various torsocks/ttdnsd errors and discrepancies
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Mar 17 15:31:58 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:
----------------------+-----------------------------------------------------
Comment(by mr-4):
Replying to [comment:1 sysrqb]:
> Hi mr4, sorry for the delayed response.
Better late than never...
> 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.
Could this be "harmonised"? In other words, to look for the same
environment variable, instead of mucking about with ttdnsd/torsocks
startup scripts?
> 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)
> }}}
Nope! I get a warning from tor that it is receiving an IP address (as
oppose to host name), so torsocks/ttdnsd definitely connects to the tor
instance.
> 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?
The latest source, fetched from the git repos of both ttdnsd and torsocks
at the time I made this report. My OS is Linux (Fedora). I compile and
build the rpm on x64 (quadcore CPU), but the tor/ttdnsd/torsocks packages
are run on a separate old P2 machine with about 256MB RAM.
I did attempt another try about two weeks ago, but, again, hit a brick
wall and gave up at the end. If you need any assistance with this, please
let me know.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8043#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list