[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
Fri Nov 23 14:38:55 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: minor | Milestone: Tor: unspecified
Component: Tor | Version: Tor: unspecified
Keywords: tor-client | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Comment(by aagbsn):
Replying to [comment:2 nickm]:
> Is this in fact doing a resolve, or a direct request? If it's doing a
direct connection attempt, this is indeed a bug.
The socks connection is to [scrubbed]:0, which suggests a resolve IIRC.
The debug log indicates that it fails at:
{{{
connection_edge.c:1266 (0f9524dbd0590c62a31b7d783a2ecbea7dbdcd37):
if (SOCKS_COMMAND_IS_RESOLVE(socks->command)) {
/* if it's a resolve request, fail it right now, rather than
* building all the circuits and then realizing it won't work. */
log_warn(LD_APP,
"Resolve requests to hidden services not allowed.
Failing.");
}}}
>If it's doing a resolve, I'm not sure what your desired behavior is here.
What should the behavior be for trying to look up the IP for a .onion
address? What IP address should it give in return?
Ideally whatever IP a request for a hidden service would normally return?
I'm afraid I assumed that clients always did a lookup for xyz.onion and
Tor made this work transparently.
>
> Maybe "automaphostsonresolve" will do what you want here?
>
> (If you have automaphostsonresolve turned on, but this isn't working,
that might also be a bug.)
Yep, see my torrc above.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7555#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list