aboutsummaryrefslogtreecommitdiff
path: root/dir-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-02-09 08:40:33 -0500
committerNick Mathewson <nickm@torproject.org>2018-02-09 08:40:33 -0500
commit9ddf104ae43c0a1eb88d617cf1a4513af8930561 (patch)
tree8941e7341e1acf93362b95d2950b002da3ee52f0 /dir-spec.txt
parent6a649ca3f34c404c3be9107f63bb1011126facc1 (diff)
downloadtorspec-9ddf104ae43c0a1eb88d617cf1a4513af8930561.tar.gz
torspec-9ddf104ae43c0a1eb88d617cf1a4513af8930561.zip
Add a graf about fingerprinting anonymous directory connections.
Diffstat (limited to 'dir-spec.txt')
-rw-r--r--dir-spec.txt15
1 files changed, 10 insertions, 5 deletions
diff --git a/dir-spec.txt b/dir-spec.txt
index 003e400..ece2991 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -3636,11 +3636,16 @@
- "x-tor-lzma" -- The lzma compression algorithm, with a "preset"
value no higher than 6.
- Clients SHOULD use Accept-Encoding to indicate which of the above
- compression algorithms they support. If they omit it (as Tor clients
- did before 0.3.1.1-alpha), then the server should serve only "deflate"
- or "identity" encoded documents, based on the presence or absence of
- the ".z" suffix on the requested URL.
+ Clients SHOULD use Accept-Encoding on most directory requests to indicate
+ which of the above compression algorithms they support. If they omit it
+ (as Tor clients did before 0.3.1.1-alpha), then the server should serve
+ only "deflate" or "identity" encoded documents, based on the presence or
+ absence of the ".z" suffix on the requested URL.
+
+ Note that for anonymous directory requests (that is, requests made over
+ multi-hop circuits, like those for onion service lookups) implementations
+ SHOULD NOT advertise any Accept-Encoding values other than deflate. To do
+ so would be to create a fingerprinting opportunity.
When receiving multiple documents, clients MUST accept compressed
concatenated documents and concatenated compressed documents as