diff options
author | teor <teor@torproject.org> | 2020-04-28 13:20:11 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-28 13:20:11 +1000 |
commit | 2e67ae1c70436b949f5d23a67ba24a03b845defc (patch) | |
tree | 9ca0fb3c8d272d6c83b174d830733e68fc6ad827 /proposals/312-relay-auto-ipv6-addr.txt | |
parent | df3c4f559b8748c915ac7e86f07ad2c4a866711e (diff) | |
download | torspec-2e67ae1c70436b949f5d23a67ba24a03b845defc.tar.gz torspec-2e67ae1c70436b949f5d23a67ba24a03b845defc.zip |
Prop 312: Clarify torrc Address option
Clarify section 3.2.1. Make the Address torrc Option Support IPv6.
The list of possible configurations was incorrect.
Diffstat (limited to 'proposals/312-relay-auto-ipv6-addr.txt')
-rw-r--r-- | proposals/312-relay-auto-ipv6-addr.txt | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/proposals/312-relay-auto-ipv6-addr.txt b/proposals/312-relay-auto-ipv6-addr.txt index ba2ffcc..d78f95d 100644 --- a/proposals/312-relay-auto-ipv6-addr.txt +++ b/proposals/312-relay-auto-ipv6-addr.txt @@ -267,17 +267,28 @@ Ticket: #33073 multiple IPv4 or IPv6 addresses are returned, the first public address from each family should be used. - We should also support the following combinations: - A. IPv4 Address / hostname (for IPv6 only), - B. IPv6 Address / hostname (for IPv4 only), - C. IPv4 Address only / try to guess IPv6, then check its reachability - (see section 4.3.1 in [Proposal 311: Relay IPv6 Reachability]), and - D. IPv6 Address only / guess IPv4, then its reachability must succeed. - There are also similar configurations where a hostname is configured, but it - only provides IPv4 or IPv6 addresses. - - Combination C is the most common legacy configuration. We want to - support the following outcomes for legacy configurations: + We should support the following combinations of address literals and + hostnames: + + Legacy configurations: + A. No configured Address option + B. Address IPv4 literal + C. Address hostname (use IPv4 and IPv6 DNS addresses) + + New configurations: + D. Address IPv6 literal + E. Address IPv4 literal / Address IPv6 literal + F. Address hostname / Address hostname (use IPv4 and IPv6 DNS addresses) + G. Address IPv4 literal / Address hostname (only use IPv6 DNS addresses) + H. Address hostname (only use IPv4 DNS addresses) / Address IPv6 literal + + If we can't find an IPv4 or IPv6 address using the configured Address + options: + No IPv4: guess IPv4, and its reachability must succeed. + No IPv6: guess IPv6, publish if reachability succeeds. + + Combinations A and B are the most common legacy configurations. We want to + support the following outcomes for all legacy configurations: * automatic upgrades to guessed and reachable IPv6 addresses, * continuing to operate on IPv4 when the IPv6 address can't be guessed, and |