[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #8380 [Tor]: DNS A records returned when asking for AAAA
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs