aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamian Johnson <atagar@torproject.org>2012-08-04 19:57:22 -0700
committerDamian Johnson <atagar@torproject.org>2012-08-04 19:57:22 -0700
commit904d3d45583e9f916c74fab77784184defe53598 (patch)
treefb56f398e12edbd899c9661cd6e372c20c9aa990
parent460ab170f2a3ba941803f2665c24b0bcee2d9849 (diff)
downloadtorspec-904d3d45583e9f916c74fab77784184defe53598.tar.gz
torspec-904d3d45583e9f916c74fab77784184defe53598.zip
Clarifications for extrainfo desc transport lines
Couple clarifications from discussions with asn... 1. The 'transportname' in descriptor lines are unique As discussed on ticket #6257, George is fine with the 'transportname' being unique per a descriptor. This is useful to me because I can now model this as a 'transportname => attributes' hash which will be more user friendly. 2. The transport name can appear on non-bridges Though this attribute only makes sense for bridges, it can appear on the extrainfo descriptors for non-bridges as well. Actually, we already have one in the wild... extra-info toorvoid 0B37323298FF98CD86ED404895BB27B7426E8AE1 published 2012-08-04 12:19:13 transport obfs2 83.212.96.201:33570
-rw-r--r--dir-spec.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/dir-spec.txt b/dir-spec.txt
index f88ceb3..c18efcf 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -891,7 +891,12 @@
[Any number.]
Signals that the router supports the 'transportname' pluggable
- transport in IP address 'address' and TCP port 'port'.
+ transport in IP address 'address' and TCP port 'port'. A single
+ descriptor MUST not have more than one transport line with the
+ same 'transportname'.
+
+ Pluggable transports are only relevant to bridges, but these entries
+ can appear in non-bridge relays as well.
"router-signature" NL Signature NL
[At end, exactly once.]