[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 13:17:50 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):

 diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
 index 9563ca6..60df13e 100644
 --- a/src/or/connection_edge.c
 +++ b/src/or/connection_edge.c
 @@ -1831,7 +1831,7 @@
 connection_ap_handshake_rewrite_and_attach(entry_connection_t *conn,
        !tor_inet_aton(socks->address, &addr_tmp) &&
        options->AutomapHostsOnResolve && options->AutomapHostsSuffixes) {
      SMARTLIST_FOREACH(options->AutomapHostsSuffixes, const char *, cp,
 -                      if (!strcasecmpend(socks->address, cp)) {
 +                      if (strcasecmpend(socks->address, cp)) {
                          automap = 1;
                          break;
                        });

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7555#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list