#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 nickm):

 Replying to [comment:5 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.

 exitconn->begincell_flags is set in connection_exit_begin_conn().

 EXIT_PURPOSE_RESOLVE is supposed to be set in
 connection_exit_begin_resolve().

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8380#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to