[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [webwml/master] Add 'Stem Descriptors' project idea



commit 07159d29f72deaf59be93dc0d4b7dc522d1f8d9b
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Thu Feb 2 10:05:21 2017 -0800

    Add 'Stem Descriptors' project idea
    
    Adding a project of my own to mentor this summer.
---
 getinvolved/en/volunteer.wml | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/getinvolved/en/volunteer.wml b/getinvolved/en/volunteer.wml
index b6c6011..6a372d2 100644
--- a/getinvolved/en/volunteer.wml
+++ b/getinvolved/en/volunteer.wml
@@ -568,6 +568,11 @@ meetings around the world.</li>
     Tor.
     </p>
 
+    <p>
+    <b>Project Ideas:</b><br />
+    <i><a href="#stemDescriptors">Stem Descriptors</a></i>
+    </p>
+
     <a id="project-txtorcon"></a>
     <h3><a href="https://txtorcon.readthedocs.io/en/latest/";>Txtorcon</a> (<a
     href="https://github.com/meejah/txtorcon";>code</a>, <a
@@ -901,6 +906,39 @@ ideas.
     </p>
     </li>
 
+    <a id="stemDescriptors"></a>
+    <li>
+    <b>Stem Descriptors</b>
+    <br>
+    Language: <i>Python</i>
+    <br>
+    Likely Mentors: <i>Damian Johnson (atagar)</i>
+    <p>
+    <a href="https://stem.torproject.org/";>Stem</a> is a Python library for working with tor. With it you can build applications on tor as well as learn information about the relay network. This project concerns this second capability.
+    </p>
+
+    <p>
+    Information about relays are published hourly in documents called <a href="https://stem.torproject.org/tutorials/mirror_mirror_on_the_wall.html";>descriptors</a>. With Stem you can download, parse, and validate all kinds of descriptor documents.
+    </p>
+
+    <p>
+    Ideas welcome! You're encouraged to brainstorm improvements we can make to this space but here's a few to get you started...
+    </p>
+
+  <ul>
+    <li><p><b><a href="https://trac.torproject.org/projects/tor/ticket/11045";>Validate signatures in the consensus</a></b>. Stem has the ability to validate cryptographic signatures in several descriptor types but not the consensus.</p></li>
+    <li><p><b><a href="https://trac.torproject.org/projects/tor/ticket/21086";>Migrate from pycrypto to a supported library</a></b>. Stem presently uses pycrypto for signature validation but it's no longer maintained. We should evaluate options and move to whatever whavever the cool kids are using nowadays.</p></li>
+    <li><p><b><a href="https://trac.torproject.org/projects/tor/ticket/18856";>Retrieve descriptors over tor's ORPort</a></b>. Tor relays commonly provide two ports, an <b>ORPort</b> which is used by clients and a <b>DirPort</b> which is obsolete nowadays but in the past was used by tor to download descriptors. Stem still uses tor's DirPort to retrieve descriptors, but it would be neat if we could download from the ORPort instead.</p>
+      <p>This requires implementing part of tor's communication protocol. Depending how complicated this is it might be neat to expand this task to allow the full construction of circuits, allowing client usage of tor without the C executable. Keep in mind though that this later bit hasn't been investigated and might be a pipe dream. ;P</p></li>
+    <li><p><b>Improve performance of reading descriptors</b>. Stem <a href="https://stem.torproject.org/tutorials/mirror_mirror_on_the_wall.html#are-there-any-other-parsing-libraries";>isn't the only descriptor parsing library</a> and sadly is the slowest. Tricks like lazy loading have substantially improved our performance but no doubt a dedicated effort to profile Stem would find more low hanging fruit.</p></li>
+  </ul>
+
+
+    <p>
+    <b>As part of applying for this project please get your hands wet with the codebase by contributing some patches for <a href="https://stem.torproject.org/faq.html#how-do-i-get-started";>Stem</a>!</b>
+    </p>
+    </li>
+
     <a id="stegotorus"></a>
     <li>
     <b>Make Stegotorus deployment ready</b>



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