commit b415b25d7e64d68cf1a018c83cdf0ddf44d30da6
Author: Damian Johnson <ata...@torproject.org>
Date:   Fri Aug 5 09:01:05 2016 -0700

    Give an example of curling directory information
    
    I do this all the time when checking things, and could be a useful trick for
    Stem users to know too.
---
 docs/tutorials/mirror_mirror_on_the_wall.rst | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/docs/tutorials/mirror_mirror_on_the_wall.rst 
b/docs/tutorials/mirror_mirror_on_the_wall.rst
index 3f80db0..9d018fc 100644
--- a/docs/tutorials/mirror_mirror_on_the_wall.rst
+++ b/docs/tutorials/mirror_mirror_on_the_wall.rst
@@ -80,6 +80,22 @@ Listing the current relays in the Tor network is as easy 
as...
 .. literalinclude:: /_static/example/current_descriptors.py
    :language: python
 
+If you want to see what the raw descriptors look like you can also curl this
+information from the DirPort of directory authorities and mirrors...
+
+::
+
+  % curl 128.31.0.34:9131/tor/server/all
+  router Unnamed 83.227.81.207 9001 0 9030
+  identity-ed25519
+  -----BEGIN ED25519 CERT-----
+  AQQABj3aAV7JzKHjSJjocve8jvnMwmy/Pv2HsSKoymeepddNBU5iAQAgBABw1VVB
+  965QDxs+wicWj4vNXMKIkKCN4gQhvzqG2UxsgmkaQlsKiEMrIxrzwlazP6od9+hi
+  WZKl3tshd0ekgUB6AAKwlvsrxl9wfy0G/Bf8PVsBftvNCWPwLR4pI3nibQU=
+  -----END ED25519 CERT-----
+  master-key-ed25519 cNVVQfeuUA8bPsInFo+LzVzCiJCgjeIEIb86htlMbII
+  ...
+
 .. _where-can-i-get-past-descriptors:
 
 Where can I get past descriptors?



_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to