[tor-dev] Multithreaded crypto on Tor

teor teor2345 at gmail.com
Mon Jun 29 00:27:27 UTC 2015


> Date: Sat, 27 Jun 2015 20:44:02 -0700
> From: Cory Pruce <corypruce at gmail.com>
> To: tor-dev at lists.torproject.org
> Subject: [tor-dev] Multithreaded crypto on Tor
> Message-ID: <558F6D82.2010400 at gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi!
> 
> Let me start by introducing myself. My name is Cory Pruce, am an
> Information Technology - Information Security Master's student at
> Carnegie Mellon, and would like to get more involved in Tor! I have done
> a bit of programming in C and have a pretty substantial crypto
> background. I'm not in the Google summer of code but would really like
> to complete this project :D (see screenshot) Please let me know if
> anyone is currently working on this and if Nick, David, or anyone would
> like to give me some advice and be someone I can bounce ideas off of :-)
> 
> Thanks and I hope to hear back soon!
> 
> - Cory
> 
> P.S. I have cloned the repo and have been looking through relay.* and
> cpuworker.* files. I just would like to speak with someone before I jump
> in :p

Hi Cory,

Multithreaded crypto is a *very* popular request on the tor-relays mailing list, as many relays have multiple cores, and significant network bandwidth. Tor limits the number of relays per IPv4 address to 2 to mitigate sybil attacks, so the best way for relay operators to increase their throughput is multithreaded crypto.

I'm not familiar with the specifics of tor's multithreading implementation, but please contact me if you need assistance setting up a local test network. I've made some recent changes to the chutney test tool which allow throughput to be measured. These changes work on Linux and OS X, but they're still under review, and the git branch isn't as organised as I would like.

teor

teor2345 at gmail dot com
pgp 0xABFED1AC
https://gist.github.com/teor2345/d033b8ce0a99adbc89c5

teor at blah dot im
OTR D5BE4EC2 255D7585 F3874930 DB130265 7C9EBBC7

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20150629/64170a0e/attachment.sig>


More information about the tor-dev mailing list