[tor-bugs] #8380 [Tor]: DNS A records returned when asking for AAAA

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 2 16:49:33 UTC 2014


#8380: DNS A records returned when asking for AAAA
-------------------------+-------------------------------------------------
     Reporter:  dhill    |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor      |    Version:  Tor: unspecified
   Resolution:           |   Keywords:  DNSPort dns ipv6 tor-client
Actual Points:           |  025-deferrable 025-triaged
       Points:           |  Parent ID:
-------------------------+-------------------------------------------------

Comment (by nickm):

 It doesn't take the last address; it takes the first one.
 {{{
     } else if (tor_addr_family(&addr->addr) == AF_INET6) {
       if (!addr_ipv6 && conn->ipv6_traffic_ok) {
         addr_ipv6 = addr;
       }
     }
 }}}
 Note how it doesn't set addr_ipv6 unless addr_ipv6 was previously NULL.

 Will revisit other questions once the tests are done.

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


More information about the tor-bugs mailing list