[tor-bugs] #3516 [Tor Client]: Implement stream isolation backend logic for proposal 171

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jul 1 19:36:13 UTC 2011


#3516: Implement stream isolation backend logic for proposal 171
-------------------------+--------------------------------------------------
 Reporter:  nickm        |          Owner:                    
     Type:  enhancement  |         Status:  new               
 Priority:  normal       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client   |        Version:                    
 Keywords:               |         Parent:  #1865             
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------
 Part of proposal 171 will be looking at two streams and determining
 whether or not they can share a circuit. In order to make this efficient,
 we shouldn't do it as an O(n ** 2) operation, however: instead of
 comparing each stream with every other stream on a candidate circuit, we
 should:

    * annotate the circuit with a description of what streams may be
 attached to it,
    * compare the circuit's rules to any new stream we want to attach to
 the circuit,
    * and update the rules as needed when we attach a new stream.

 To do this efficiently, we'll need to design some data structures to
 represent a stream's isolation requirements and the isolation a circuit
 can provide.  We'll need some compare and update functions.

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


More information about the tor-bugs mailing list