[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:21:59 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 nickm):

 rransom is right -- Removing the ! from strcasecmpend() is completely
 wrong.  The strcmp() family return 0 on equality: your patch makes
 everything *except* the members of AutomapHostsSuffixes get mapped.

 The torsocks issue would appear to be a torsocks bug where it doesn't like
 the 127.192/10 address family.

 As for Tor, I still think that the problem is what I said before:

 > So, this seems to be happening just because the block in
 connection_ap_handshake_rewrite_and_attach() that handles automapping
 takes place *before* the one that calls addressmap_rewrite. Unfortunately,
 this is some pretty ugly code: we need to think more about whether it's
 safe to reorder them, and if not, what to do instead.

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


More information about the tor-bugs mailing list