tor-resolve: Don't automatically refuse .onion addresses.
commit298dc95dfd84877f1e231426322c02240303815e
authorNick Mathewson <nickm@torproject.org>
Thu, 18 Jun 2009 15:08:10 +0000 (18 11:08 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 18 Jun 2009 15:08:10 +0000 (18 11:08 -0400)
tree22c0fd1b094b7fb6c47353ef6e623bd5ee238e14
parent3847f54945933a11d14053b80427f268ffcfd8ad
tor-resolve: Don't automatically refuse .onion addresses.

If the Tor is running with AutomapHostsOnResolve set, it _is_
reasonable to do a DNS lookup on a .onion address.  So instead we make
tor-resolve willing to try to resolve anything.  Only if Tor refuses
to resolve it do we suggest to the user that resolving a .onion
address may not work.

Fix for bug 1005.
ChangeLog
src/tools/tor-resolve.c