Publish transports that bind on IPv6 addresses
Currently, pt_get_extra_info_descriptor_string()
uses router_pick_published_address()
to retrieve our external IP address so that it can write it in our extra-info descriptor along with the TCP port that our transport listens on.
The bad news are that router_pick_published_address()
only returns IPv4 addresses, and we will probably have to refactor it, or do something like this:
~~ https://gitweb.torproject.org/tor.git/blob/ebf30613ea41bbed3340851e839da9b7db4351c5:/src/or/router.c#l1775 ~~
(wrong commit reference)
for IPv6 addresses.
Not sure if this can get in 0.2.4.x. I guess it depends on how quickly we implement it, and how complex the changes are going to be.