Skip to content

Commit

Permalink
Tor has never supported versions in the hidden-service-dir descriptor…
Browse files Browse the repository at this point in the history
… line

Instead, we use the HSDir "proto" versions, or default to version 2.

Closes 25284.
  • Loading branch information
teor2345 committed Mar 29, 2018
1 parent 353b51e commit 43c2f78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dir-spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43c2f78

Please sign in to comment.