From b9cd5c28482e393be16d432fd1e66a01c60e5f49 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 25 Mar 2025 15:06:12 -0400 Subject: [PATCH] protover: Vote for additional protocols to be required/recommended 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 | 15 +++++++++++++++ src/core/or/protover.c | 12 ++++++------ 2 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 changes/ticket40836 diff --git a/changes/ticket40836 b/changes/ticket40836 new file mode 100644 index 0000000000..d16cfa7539 --- /dev/null +++ b/changes/ticket40836 @@ -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. diff --git a/src/core/or/protover.c b/src/core/or/protover.c index 175bfbdab0..cc80827293 100644 --- a/src/core/or/protover.c +++ b/src/core/or/protover.c @@ -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"; } /* -- 2.47.2