[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.4.x-final
Component: Tor | Version: Tor: unspecified
Keywords: DNSPort dns ipv6 tor-client 024-deferrable | Parent:
Points: | Actualpoints:
--------------------------------------------------------+-------------------
Comment(by ln5):
While testing #8475 (by trying to connect to ipv6.google.com using a
chutney network running master) I found out that
set_exitconn_info_from_resolve() won't return an IPv6 address unless
either exitconn->base_.purpose == EXIT_PURPOSE_RESOLVE or
exitconn->begincell_flags & BEGIN_FLAG_IPV6_OK != 0.
The former doesn't seem to happen when trying to connect and the
latter doesn't, from grepping code, seem to ever happen.
Commits 2889bd26 and 0f899518 seem to be the relevant ones
implementing this. I don't really understand the reason for the
is_resolve logic (and more). If Nick can spot an error here, great! if
not, I'll try ot wrap my head around this at a later time.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8380#comment:5>
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