diff options
author | teor <teor@torproject.org> | 2020-01-13 20:25:40 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-01-15 22:44:19 +1000 |
commit | ed8452b9e85385579ea902777d19ec0252b4e4c5 (patch) | |
tree | 935f8f9c3f6ded6c3138d36c8e401adab606326b /proposals/306-ipv6-happy-eyeballs.txt | |
parent | a78e23a053415a2aa498ff611e4131762a264d53 (diff) | |
download | torspec-ed8452b9e85385579ea902777d19ec0252b4e4c5.tar.gz torspec-ed8452b9e85385579ea902777d19ec0252b4e4c5.zip |
Prop 306: Improve ConnectionAttemptDelay design
Have a single ConnectionAttemptDelay option, with a default value
of 250 msec based on RFC 8305.
Part of 29801.
Diffstat (limited to 'proposals/306-ipv6-happy-eyeballs.txt')
-rw-r--r-- | proposals/306-ipv6-happy-eyeballs.txt | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/proposals/306-ipv6-happy-eyeballs.txt b/proposals/306-ipv6-happy-eyeballs.txt index 25381ad..3d5c92c 100644 --- a/proposals/306-ipv6-happy-eyeballs.txt +++ b/proposals/306-ipv6-happy-eyeballs.txt @@ -145,17 +145,15 @@ Ticket: https://trac.torproject.org/projects/tor/ticket/29801 connections should be 250 msec. This is to avoid the overhead from tunneled IPv6 connections. - The Minimum Connection Attempt Delay should not be dynamically adjusted - as it adds privacy risks. This value should be fixed at 10 ms as per - RFC 8305 and could be adjusted using this proposed consensus parameter: + The Connection Attempt Delay should not be dynamically adjusted, as it adds + privacy risks. This value should be fixed, and could be manually adjusted + using this torrc option or consensus parameter: - * ConnectionAttemptDelay N msec + * ConnectionAttemptDelay N [msec|second] - Where N is the number of milliseconds for the network-wide Minimum - Connection Attempt Delay. - - The Maximum Connection Attempt Delay should also not be dynamically adjusted - for privacy reasons, but the maximum should be higher than the RFC 8305 + The Minimum and Maximum Connection Attempt Delays should also not be + dynamically adjusted for privacy reasons. The Minimum should be fixed at + 10 msec as per RFC 8305. But the maximum should be higher than the RFC 8305 recommendation of 2 seconds. For Tor, we should make this timeout value 30 seconds to match Tor's existing timeout. @@ -178,8 +176,8 @@ Ticket: https://trac.torproject.org/projects/tor/ticket/29801 * ClientPreferIPv6ORPort 0 (for load-balancing reasons so we don't overload IPv6-only guards) - * ConnectionAttemptDelay 10 (for 10 msec, the minimum delay between - IPv4 and IPv6) + * ConnectionAttemptDelay 250 msec (the recommended delay between IPv4 + and IPv6, as per RFC 8305) One thing to note is that clients should be able to connect with the above options on IPv4-only, dual-stack, and IPv6-only networks, and they should @@ -252,9 +250,10 @@ Ticket: https://trac.torproject.org/projects/tor/ticket/29801 option if the proposed default doesn't work for some clients. (Section 2.3.) - * Consensus Parameter ConnectionAttemptDelay (Section 3.3) - We will need - this if the Minimum Connection Attempt Delay needs to be dynamically - adjusted, for instance, if clients often fail IPv6 connections + * ConnectionAttemptDelay torrc option and consensus parameter. We will need + this option if the Connection Attempt Delay needs to be manually + adjusted, for instance, if clients often fail IPv6 connections. + (Section 3.3.) * IPv4, IPv6, and Prop306 connection Statistics. While optional, this may be useful for debugging and reliability testing, and metrics on IPv4 vs |