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.