aboutsummaryrefslogtreecommitdiff
path: root/dir-list-spec.txt
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-01-16 00:14:40 +1000
committerteor <teor@torproject.org>2020-01-16 00:14:40 +1000
commite99deb888e172d01268b542f85b5af31497c1825 (patch)
treed5da6f7a2842bc7ce0479b8a1bcb58712f77e1ac /dir-list-spec.txt
parentff165e0f449d09ee3c872016e5abc35cf75e918c (diff)
parent33c70fcd2e724ce7bf8835fbf766f6aee355bb87 (diff)
downloadtorspec-e99deb888e172d01268b542f85b5af31497c1825.tar.gz
torspec-e99deb888e172d01268b542f85b5af31497c1825.zip
Merge remote-tracking branch 'tor-github/pr/99'
Diffstat (limited to 'dir-list-spec.txt')
-rw-r--r--dir-list-spec.txt30
1 files changed, 22 insertions, 8 deletions
diff --git a/dir-list-spec.txt b/dir-list-spec.txt
index c118040..f0dccbb 100644
--- a/dir-list-spec.txt
+++ b/dir-list-spec.txt
@@ -85,6 +85,8 @@
2.1.0 - Adds a source list comment to the header.
+ 3.0.0 - Modifies the format of the source list comment.
+
1.4. Future Plans
Tor also has an auth_dirs.inc file, but it is not yet in this format.
@@ -200,19 +202,31 @@
The current timestamp format is YYYYMMDDHHMMSS, as an integer.
- "/*" SP+ "source=" Keyword SP+ "*/" SP* NL
+ "/*" SP+ "source=" Keyword ("," Keyword)* SP+ "*/" SP* NL
[Zero or one time.]
- The source of the directory entries in the list.
+ A list of the sources of the directory entries in the list.
+
+ As of version 3.0.0, the possible sources are:
+ * "offer-list" - the fallback_offer_list file in the fallback-scripts
+ repository.
+ * "descriptor" - one or more signed descriptors, each containing an
+ "offer-fallback-dir" line. This feature will be
+ implemented in ticket #24839.
+ * "fallback" - a fallback_dirs.inc file from a tor repository.
+ Used in check_existing mode.
+
+ Before #24839 is implemented, the default is "offer-list". During the
+ transition to signed offers, it will be "descriptor,offer-list".
+ Afterwards, it will be "descriptor".
- As of version 2.1.0, the sources are:
- * "whitelist" - the fallback.whitelist file in the fallback-scripts
- repository. This is the default.
- * "fallback" - a fallback_dirs.inc file from a tor repository.
- Used in check_existing mode.
+ In version 2.1.0, only one source name was allowed after "source=",
+ and the deprecated "whitelist" source name was used instead of
+ "offer-list".
- This line was added in version 2.1.0 of this specification.
+ This line was added in version 2.1.0 of this specification. The format
+ of this line was modified in version 3.0.0 of this specification.
"/*" SP+ key_value SP+ "*/" SP* NL