[tor-bugs] #18856 [Core Tor/Stem]: Talk with tor's ORPort

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 12 01:45:57 UTC 2017


#18856: Talk with tor's ORPort
---------------------------+------------------------
 Reporter:  atagar         |          Owner:  atagar
     Type:  enhancement    |         Status:  new
 Priority:  Low            |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Minor          |     Resolution:
 Keywords:  descriptor     |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------

Comment (by teor):

 Here's what I must implement to do this:
 * implement VERSIONS, NETINFO, and CREATE_FAST in python
 * implement KDF-TOR in python
 * implement "hybrid encryption" in python
 * send a BEGINDIR cell containing a directory request
 * decode RELAY_DATA cells
 * make sure the ORPort and DirPort responses match

 Here's what I really should implement:
 * sendme cells, so we can download more than 250kB of data
 * closing the circuit properly using a DESTROY cell

 Here are optional things that would be nice:
 * parse error responses rather than ignoring them
 * use the v5 link protocol to disable link padding
 * verify relay hashes match the fingerprint
 * other certificate verification
 * do TAP or ntor (needs onion keys)
 * use cryptography.hazmat.primitives.kdf.hkdf.HKDF for KDF-RFC5869
 * other protocol variations from tor-spec

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18856#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list