[tor-bugs] #6341 [Tor Relay]: connection_or_flush_from_first_active_circuit() does wrong thing when ewma_enabled

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Sep 3 05:02:38 UTC 2012


#6341: connection_or_flush_from_first_active_circuit() does wrong thing when
ewma_enabled
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:                    
     Type:  defect     |         Status:  needs_review      
 Priority:  normal     |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by arma):

 Replying to [comment:34 robgjansen]:
 > From what I can tell, it seems to mostly be happening when the client
 has yet to 'bootstrap' to 100% (usually stuck at 50%: "Loading relay
 descriptors"). In this state clients seem to be getting several HTTP 404
 errors because the directory mirrors they selected to contact do not yet
 have the requested info. Circuits can't be built without an acceptable
 fraction of descriptors (75% of all descriptors and 50% of exit
 descriptors). The SOCKS connect then fails after the 2 minute
 SocksTimeout.
 >
 > To increase confidence in my suspicion, I ran a small test that resulted
 in 254 total SOCKS connection errors and 1833 total HTTP 404s. The same
 exact test after reducing FRAC_USABLE_NEEDED from .75 to .4 and
 FRAC_EXIT_USABLE_NEEDED from .5 to .2 resulted in 3 total SOCKS connection
 errors and 138 total HTTP 404s.

 Good find. I've opened #6752 for what I believe is the issue.

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


More information about the tor-bugs mailing list