[tor-bugs] #1826 [Tor Relay]: Sending packets after RELAY_END

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Aug 13 20:13:26 UTC 2010


#1826: Sending packets after RELAY_END
-----------------------+----------------------------------------------------
 Reporter:  mwenge     |       Owner:                    
     Type:  defect     |      Status:  new               
 Priority:  normal     |   Milestone:  Tor: 0.2.2.x-final
Component:  Tor Relay  |     Version:  Tor: unspecified  
 Keywords:             |      Parent:                    
-----------------------+----------------------------------------------------

Comment(by mwenge):

 Replying to [comment:6 arma]:
 > Interesting. My hope is that the exit relay packages and sends 1000
 cells, then it receives the stream end cells, *then* it receives the extra
 sendmes you're talking about. If so, it wouldn't send any more cells for
 the streams that it had already ended.

 On reflection, that's exactly what it appears to be doing. It receives the
 RELAY_END cells and send exactly 1000 more cells along the circuit - it
 keeps pumping until the window is used up. Withholding SENDMEs at that
 stage of the game has no effect in the testing I've done. And I think that
 proves the exit is just flushing what it had already written to the queue.

 This problem doesn't seem to happen on the one or two fast circuits I've
 watched. Which reinforces the likelihood that case 4 is not happening.

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


More information about the tor-bugs mailing list