[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torspec/master] dir-spec: The ns consensus isn't explicitly ns



commit d97f8d980be01bda3f6122fc6220406f4592a717
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date:   Mon Nov 12 21:51:43 2018 +0000

    dir-spec: The ns consensus isn't explicitly ns
    
    tor does not generate ns consensuses that are explicitly labelled as ns
    consensuses. This updates the spec to make the flavor portion optional,
    and to allow the assumption to be made that if a flavor is omitted from
    the "network-status-version" line then it is "ns".
    
    One "flavour" was also turned into a "flavor" for consistency.
---
 dir-spec.txt | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/dir-spec.txt b/dir-spec.txt
index 8da28c4..df824e6 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -2511,7 +2511,7 @@
    A minority of voting authorities that set AuthDirHasIPv6Connectivity will
    drop unreachable IPv6 ORPorts from the full consensus. Consensus method 27
    in 0.3.3.x puts IPv6 ORPorts in the microdesc consensus, so that
-   authorities can drop unreachable IPv6 ORPorts from all consensus flavours.
+   authorities can drop unreachable IPv6 ORPorts from all consensus flavors.
    Consensus method 28 removes IPv6 ORPorts from microdescriptors.
 
    "Stable" -- A router is 'Stable' if it is active, and either its Weighted
@@ -3208,16 +3208,15 @@
    "network-status-version" where version is 3 or higher, and the flavor
    is a string consisting of alphanumeric characters and dashes:
 
-      "network-status-version" SP version SP flavor NL
+      "network-status-version" SP version [SP flavor] NL
 
 3.9.1. ns consensus
 
-   The ns consensus flavor is equivalent to the unflavored consensus
-   except for its first line which states its consensus flavor name:
-
-    "network-status-version" SP version SP "ns" NL
-
-        [At start, exactly once.]
+   The ns consensus flavor is equivalent to the unflavored consensus.
+   When the flavor is omitted from the "network-status-version" line,
+   it should be assumed to be "ns". Some implementations may explicitly
+   state that the flavor is "ns" when generating consensuses, but should
+   accept consensuses where the flavor is omitted.
 
 3.9.2. Microdescriptor consensus
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits