aboutsummaryrefslogtreecommitdiff
path: root/proposals/312-relay-auto-ipv6-addr.txt
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-02-03 21:59:58 +1000
committerteor <teor@torproject.org>2020-02-05 22:02:22 +1000
commit534114e2c3993a54211c6b268d7f9874194874f7 (patch)
treec6f16bfb46f24ef79794d9fb72909e064317ca1f /proposals/312-relay-auto-ipv6-addr.txt
parent77da452bd6eaf3d7326e1b61e469a0341a1b5375 (diff)
downloadtorspec-534114e2c3993a54211c6b268d7f9874194874f7.tar.gz
torspec-534114e2c3993a54211c6b268d7f9874194874f7.zip
Prop 312: Improve auto IPv6 ORPort section
Add information about binding to IPv4 and IPv6. Also do a slight reformat. Part of 33073.
Diffstat (limited to 'proposals/312-relay-auto-ipv6-addr.txt')
-rw-r--r--proposals/312-relay-auto-ipv6-addr.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/proposals/312-relay-auto-ipv6-addr.txt b/proposals/312-relay-auto-ipv6-addr.txt
index 4842d1b..47a7d6d 100644
--- a/proposals/312-relay-auto-ipv6-addr.txt
+++ b/proposals/312-relay-auto-ipv6-addr.txt
@@ -412,13 +412,22 @@ Ticket: #33073
torrc option. Relay operators can use the IPv4Only and IPv6Only options
to configure different ports for IPv4 and IPv6.
+ If an ORPort is configured, but there is no specific bind address, relays
+ may attempt to bind to all IPv4 and IPv6 addresses (or all interfaces).
+ Some operating systems expect applications to bind to IPv4 and IPv6
+ addresses using separate API calls. Others don't support binding only to
+ IPv4 or IPv6, and will bind to all addresses whenever there is no specified
+ IP address (in a single API call). Tor should support both styles of
+ networking API.
+
If both reachability checks succeed, relays should publish their IPv4 and
IPv6 ORPorts in their descriptor.
If only the IPv4 ORPort check succeeds, and the IPv6 address was guessed
- (rather than being explicitly configured), then relays should publish their
- IPv4 ORPort in their descriptor. (And log a notice about the failed IPv6
- ORPort reachability check.)
+ (rather than being explicitly configured), then relays should:
+ * publish their IPv4 ORPort in their descriptor,
+ * stop publishing their IPv6 ORPort in their descriptor, and
+ * log a notice about the failed IPv6 ORPort reachability check.
3.3. Consequential Tor Client Changes