From e1815226f1199ee4d6caba9e8897c20ac8d92269 Mon Sep 17 00:00:00 2001 From: teor Date: Tue, 4 Feb 2020 19:23:53 +1000 Subject: Prop 312: Avoid some address detection state As suggested by Nick Mathewson. Part of 33073. --- proposals/312-relay-auto-ipv6-addr.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'proposals/312-relay-auto-ipv6-addr.txt') diff --git a/proposals/312-relay-auto-ipv6-addr.txt b/proposals/312-relay-auto-ipv6-addr.txt index a6d89e4..9fbd64d 100644 --- a/proposals/312-relay-auto-ipv6-addr.txt +++ b/proposals/312-relay-auto-ipv6-addr.txt @@ -368,14 +368,16 @@ Ticket: #33073 Tor already ignores private IPv4 addresses in directory headers. We propose to also ignore private IPv6 addresses in directory headers. If all IPv4 and IPv6 addresses in directory headers are private, address resolution should - pause, and return a temporary error. + return a temporary error. Whenever address resolution fails, tor should warn the operator to set the Address torrc option for IPv4 and IPv6. (If IPv4 is available, and only - IPv6 is missing, the log should be at notice level.) + IPv6 is missing, the log should be at notice level.) These logs may need to + be rate-limited. - Address resolution should continue the next time tor receives a directory - header containing a public IPv4 or IPv6 address. + The next time tor receives a directory header containing a public IPv4 or + IPv6 address, tor should use that address for reachability checks. If the + reachability checks succeed, tor should use that address in its descriptor. 3.2.6. Disabling IPv6 Address Resolution -- cgit v1.2.3-54-g00ecf