[tor-bugs] #5940 [Tor Relay]: Figure out own IPv6 address

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon May 21 14:40:35 UTC 2012


#5940: Figure out own IPv6 address
-------------------------+--------------------------------------------------
 Reporter:  ln5          |          Owner:     
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:     
Component:  Tor Relay    |        Version:     
 Keywords:  ipv6         |         Parent:     
   Points:               |   Actualpoints:     
-------------------------+--------------------------------------------------
 A relay should be able to figure out if the system has got an IPv6
 address configured, just like what's done for IPv4.

 From #5146:

   Should we turn resolve_my_address() into resolve_my_addresses() and
   teach it about IPv6? get_interface_address6() used here needs some
   work for #4806 too.

 A few thoughts:

 - resolve_my_address() looks at options->Address.  What should
   'Address' mean now that a relay doesn't have one single address any
   more?

 - get_interface_address() says "This address should only be used in
   checking whether our address has changed" but is actually used by
   resolve_my_address() in the case where we fail to resolve our
   hostname.  Does get_interface_address6() need more work or should we
   just add a comment to where we use it in a non-recommended way?

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


More information about the tor-bugs mailing list