]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
protover: Vote for additional protocols to be required/recommended
authorNick Mathewson <nickm@torproject.org>
Tue, 25 Mar 2025 19:06:12 +0000 (15:06 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 25 Mar 2025 19:13:12 +0000 (15:13 -0400)
Note that the changes here will require all relays
to be 0.4.7.4-alpha or later, which is lower than
our current lowest-supported relay version.

Part of #40836.

changes/ticket40836 [new file with mode: 0644]
src/core/or/protover.c

diff --git a/changes/ticket40836 b/changes/ticket40836
new file mode 100644 (file)
index 0000000..d16cfa7
--- /dev/null
@@ -0,0 +1,15 @@
+  o Minor features (required protocols):
+    - Directory authorities now vote to require relays to support certain
+      protocols, all of which have been implemented since 0.4.7.4-alpha or
+      earlier.
+      These include improved support for connecting to relays on IPv6,
+      NtorV3, running as a rate-limited introduction point,
+      authenticated SENDMEs, and congestion control.
+      Part of ticket 40836.
+
+  o Minor features (recommended protocols):
+    - Directory authorities now vote to recommend that clients
+      support certain protocols beyond those that are required.
+      These include improved support for connecting to relays on IPv6,
+      NtorV3, and congestion control.
+      Part of ticket 40836.
index 175bfbdab0c5383bd48e6891b3c5cc91e8cbc9fe..cc80827293ce57ad88b65974d5eb16074fb9b4ae 100644 (file)
@@ -521,8 +521,8 @@ protover_get_supported_protocols(void)
 const char *
 protover_get_recommended_client_protocols(void)
 {
-  return "Cons=2 Desc=2 DirCache=2 HSDir=2 HSIntro=4 HSRend=2 "
-         "Link=4-5 Microdesc=2 Relay=2";
+  return "Cons=2 Desc=2 DirCache=2 FlowCtrl=1-2 HSDir=2 HSIntro=4 HSRend=2 "
+         "Link=4-5 Microdesc=2 Relay=2-4";
 }
 
 /** Return the recommended relay protocols list that directory authorities
@@ -530,8 +530,8 @@ protover_get_recommended_client_protocols(void)
 const char *
 protover_get_recommended_relay_protocols(void)
 {
-  return "Cons=2 Desc=2 DirCache=2 HSDir=2 HSIntro=4 HSRend=2 "
-         "Link=4-5 LinkAuth=3 Microdesc=2 Relay=2";
+  return "Cons=2 Desc=2 DirCache=2 FlowCtrl=1-2 HSDir=2 HSIntro=4-5 HSRend=2 "
+         "Link=4-5 LinkAuth=3 Microdesc=2 Relay=2-4";
 }
 
 /** Return the required client protocols list that directory authorities
@@ -547,8 +547,8 @@ protover_get_required_client_protocols(void)
 const char *
 protover_get_required_relay_protocols(void)
 {
-  return "Cons=2 Desc=2 DirCache=2 HSDir=2 HSIntro=4 HSRend=2 "
-         "Link=4-5 LinkAuth=3 Microdesc=2 Relay=2";
+  return "Cons=2 Desc=2 DirCache=2 FlowCtrl=1-2 HSDir=2 HSIntro=4-5 HSRend=2 "
+         "Link=4-5 LinkAuth=3 Microdesc=2 Relay=2-4";
 }
 
 /*