[tor-bugs] #7440 [Tor]: Path Bias code should count circuit destructions as failures

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Nov 11 00:09:26 UTC 2012


#7440: Path Bias code should count circuit destructions as failures
-----------------------------------------+----------------------------------
 Reporter:  mikeperry                    |          Owner:  mikeperry         
     Type:  defect                       |         Status:  new               
 Priority:  major                        |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor                          |        Version:                    
 Keywords:  MikePerry201211, tor-client  |         Parent:                    
   Points:                               |   Actualpoints:                    
-----------------------------------------+----------------------------------
 Right now, the path bias code counts any circuit that succeeds as a
 success. However, this is incorrect. Circuits can still be tagged *after*
 they succeed, by embedding the tag in a RELAY_BEGIN or RELAY_RESOLVE.

 Clients should therefore decrement a guard's success count and increment
 the failure count for any circuit that is destroyed after successful
 construction, but hasn't successfully carried any streams.

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


More information about the tor-bugs mailing list