[tor-bugs] #33240 [Core Tor/Tor]: Prop 312: 3.2.4. Use Own Hostname IPv6 Addresses
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Feb 11 03:36:30 UTC 2020
#33240: Prop 312: 3.2.4. Use Own Hostname IPv6 Addresses
--------------------------------+--------------------------------
Reporter: teor | Owner: teor
Type: enhancement | Status: assigned
Priority: Medium | Milestone: Tor: 0.4.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: prop312, ipv6
Actual Points: | Parent ID: #33049
Points: 1 | Reviewer:
Sponsor: Sponsor55-must |
--------------------------------+--------------------------------
If they don't have usable Address, ORPort, or interface addresses, relays
(and bridges) should get their local hostname, look
up its addresses, and use them as its IPv4 and IPv6 addresses.
We propose to use the same underlying lookup functions to look up the IPv4
and IPv6 addresses for:
* the Address torrc option (see section 3.2.1), and
* the local hostname.
However, OS APIs typically only return a single hostname.
The hostname lookup should ignore private addresses on public relays. If
multiple IPv4 or IPv6 addresses are returned, the first public address
from
each family should be used.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33240>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list