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

Re: [tor-bugs] #2129 [Tor]: Allow Tor client functionality even when we hibernate



#2129: Allow Tor client functionality even when we hibernate
-------------------------+--------------------------------------------------
 Reporter:  arma         |          Owner:                    
     Type:  enhancement  |         Status:  needs_revision    
 Priority:  normal       |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor          |        Version:                    
 Keywords:  tor-relay    |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------
Changes (by nickm):

  * status:  needs_review => needs_revision


Comment:

 Big stuff:

 It looks like what the branch does now is to change it so that instead of
 marking all listeners when we start to hibernate, we only mark the OR
 listeners.  But there's more work to do.

 In hibernate_go_dormant:
    * We'll need to shut down the OR connections that don't have
 origin_circuit_t circuits on them, but leave the others open.  Right now
 it kills all the OR connections.
    * For the OR connections that we *do* keep, we'll need to kill all the
 circuits that aren't ours.
    * For the OR connections that we do keep, we'll need to reject any
 circuit creation attempts on them while we're hibernating.  (We didn't
 need to reject these attempts before, since we weren't leaving OR
 connections open at all.)
    * In 0.2.5, we need to close EXT_OR listeners too.

 Generally:
    * We'll need to figure what to do with bandwidth that clients use while
 we're hibernating.  Should we count it?  If the clients use enough, the
 server might never wake up.
    * We'll want this behavior to be controlled by a torrc option.

 Small stuff:
    * Looks like the indentation doesn't match the rest of Tor.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2129#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs