[tor-bugs] #7555 [Tor]: MapAddress from FQDN to .onion fails because resolve requests for hidden services are not allowed.
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Nov 24 14:02:33 UTC 2012
#7555: MapAddress from FQDN to .onion fails because resolve requests for hidden
services are not allowed.
------------------------+---------------------------------------------------
Reporter: aagbsn | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version: Tor: unspecified
Keywords: tor-client | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Comment(by aagbsn):
So, with this patch applied, why does torsocks complain when
AutomapHostsOnResolve is set, for any host?
{{{
$ torsocks nc google.com 80
05:53:37 libtorsocks(13692): connect: Connection is to a local address
(127.192.0.1), may be a TCP DNS request to a local DNS server so have to
reject to be safe. Please report a bug to
http://code.google.com/p/torsocks/issues/entry if this is preventing a
program from working properly with torsocks.
}}}
If AutomapHostsOnResolve is not set, attempts to connect to the MapAddress
mapped host fail as before:
{{{
torsocks openssl s_client -connect irc.oftc.net:6697
gethostbyname failure
connect:errno=2
}}}
{{{
Nov 24 05:58:49.000 [warn] Resolve requests to hidden services not
allowed. Failing.
}}}
Connections to other hosts (without a MapAddress line) succeed:
{{{
$ torsocks nc google.com 80
get /
HTTP/1.0 400 Bad Request
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7555#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list