aboutsummaryrefslogtreecommitdiff
path: root/dir-spec.txt
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2018-03-30 07:16:59 +1100
committerteor <teor2345@gmail.com>2018-03-30 07:16:59 +1100
commit43c2f78f0238e2cccd9f58d630f6f441f4504feb (patch)
treef8ec65cef5873ea5c1fa3fcb9efafaf1ccf4d8a6 /dir-spec.txt
parent353b51e25752b022115b8b3ae2f1d8e057ebb9fb (diff)
downloadtorspec-43c2f78f0238e2cccd9f58d630f6f441f4504feb.tar.gz
torspec-43c2f78f0238e2cccd9f58d630f6f441f4504feb.zip
Tor has never supported versions in the hidden-service-dir descriptor line
Instead, we use the HSDir "proto" versions, or default to version 2. Closes 25284.
Diffstat (limited to 'dir-spec.txt')
-rw-r--r--dir-spec.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/dir-spec.txt b/dir-spec.txt
index bc17913..e27d89a 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -711,14 +711,14 @@
[Versions before 0.2.7.2-alpha did not include a SHA256 digest.]
[Versions before 0.2.0.1-alpha don't recognize this field at all.]
- "hidden-service-dir" *(SP VersionNum) NL
+ "hidden-service-dir" NL
[At most once.]
Present only if this router stores and serves hidden service
- descriptors. If any VersionNum(s) are specified, this router
- supports those descriptor versions. If none are specified, it
- defaults to version 2 descriptors.
+ descriptors. This router supports the descriptor versions declared
+ in the HSDir "proto" entry. If there is no "proto" entry, this
+ router supports version 2 descriptors.
"protocols" SP "Link" SP LINK-VERSION-LIST SP "Circuit" SP
CIRCUIT-VERSION-LIST NL