[tor-bugs] #8662 [Torperf]: Make Torperf log circuit failures

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 29 22:50:12 UTC 2013


#8662: Make Torperf log circuit failures
-------------------------+--------------------------------------------------
 Reporter:  karsten      |          Owner:                   
     Type:  enhancement  |         Status:  needs_information
 Priority:  normal       |      Milestone:                   
Component:  Torperf      |        Version:                   
 Keywords:               |         Parent:                   
   Points:               |   Actualpoints:                   
-------------------------+--------------------------------------------------

Comment(by mikeperry):

 JSON sounds like a good choice here for maximum extensibility and machine-
 readability.

 Later down the road, we may want some info on stream reliability and
 timeout data, too. JSON will make it easier to add those, too.

 However, one area where you'll need to take care is how to handle grouping
 multiple failures. Based on the above example, it looks like you intend
 all circuits related to a fetch to be encoded in the same top-level JSON
 object for the fetch? Or do you intend to have separate objects for each
 failure?

 Related: How does Torperf currently handle streams that detach from a
 circuit and get retried on another circuit? This can happen for example if
 you get an EXITPOLICY or HOSTUNREACH relay reason back before
 establishment, or if you hit the stream timeout. Probably some other cases
 too.

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


More information about the tor-bugs mailing list