#683808 proxychains tries to look up DNS for Tor onion addresses

#683808#5
Date:
2012-08-04 08:47:44 UTC
From:
To:
If I try to use a program (for example, socat) to connect to a Tor onion
address, it fails with the following error:

[~]nyuszika7h@cadoth> proxychains socat -
TCP:p4fsi4ockecnea7l.onion:6667
ProxyChains-3.1 (http://proxychains.sf.net)
|DNS-request| p4fsi4ockecnea7l.onion
|S-chain|-<>-127.0.0.1:9050-<><>-4.2.2.2:53-<><>-OK
|DNS-response|: p4fsi4ockecnea7l.onion is not exist
2012/08/04 10:45:34 socat[6591.18446744073531561728] E
getaddrinfo("p4fsi4ockecnea7l.onion", "(null)", {1,0,1,6}, {}): Unknown
error

Using the same address works with torsocks:

[1][~]nyuszika7h@cadoth> torsocks socat -
TCP:p4fsi4ockecnea7l.onion:6667
:asimov.freenode.net NOTICE * :*** Looking up your hostname...
:asimov.freenode.net NOTICE * :*** Checking Ident
:asimov.freenode.net NOTICE * :*** No Ident response
:asimov.freenode.net NOTICE * :*** Couldn't look up your hostname
QUIT
ERROR :Closing Link: 127.0.0.1 (Client Quit)
[~]nyuszika7h@cadoth>

Note: The [1] in the prompt is the exit code of proxychains.

#683808#10
Date:
2012-08-04 09:30:34 UTC
From:
To:
Where this issue (683805— Spelling mistake |DNS-response|:
4ockecnea7l.onion is not exist ) happens can be seen in bug #683808.

#683808#15
Date:
2012-08-05 12:47:05 UTC
From:
To:
Hi,
[...]

Thank you for reporting the bug. I cannot forward it to the upstream
right now since development is stopped in 2006 but in future the bug
might be forwarded if there is new upstream.

#683808#20
Date:
2013-06-05 21:11:19 UTC
From:
To:
There are two forks.

8 months ago:
https://github.com/haad/proxychains

1 month ago:
https://github.com/rofl0r/proxychains

Is one of them qualified as new upstream?

#683808#25
Date:
2013-12-16 23:05:47 UTC
From:
To:
This bug is actually fixed in a second mentioned fork,
https://github.com/rofl0r/proxychains-ng

I've checked it  on ubuntu saucy.
Package was proxychains-ng version 4.5 from deb package that was build
by launchpad autobuilder.