[tor-bugs] #6498 [Metrics Website]: new metrics graph showing number of 100mbit exits

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Aug 22 10:32:37 UTC 2012


#6498: new metrics graph showing number of 100mbit exits
-----------------------------+----------------------------------------------
 Reporter:  arma             |          Owner:                
     Type:  project          |         Status:  needs_revision
 Priority:  normal           |      Milestone:                
Component:  Metrics Website  |        Version:                
 Keywords:  SponsorJ         |         Parent:                
   Points:                   |   Actualpoints:                
-----------------------------+----------------------------------------------

Comment(by karsten):

 Replying to [comment:20 arma]:
 > If this is the actual algorithm we'll use, 2.d. should be "is not in
 group 1". As you've specified it now, if there are 3 qualifying fast exits
 in a given /24, two of them make it into group 1 and zero of them make it
 into group 2. I think two of them should be in group 1 and the remaining
 one should be in group 2.

 Ah, the idea is that the third relay could be moved to a different /24 and
 then count as fast exit, too?  Indeed, then it makes sense to only remove
 group 1 relays from the group 2 results.

 > Other than that, sounds great!

 Great!

 gsathya, I think the easiest fix is to combine FastExitFilter and
 SameNetworkFilter by adding same_network as new parameter to
 FastExitFilter.  Otherwise, I don't see how we could implement the new
 case 2.  The cases would then be something along this:

 {{{
 if options.fast_exits_only:
     filters.append(FastExitFilter(bandwidth_rate = 95 * 125 * 1024,
                                   advertised_bandwidth = 5000 * 1024,
                                   ports = [80, 443, 554, 1755],
                                   same_network = True,
                                   inverse = False))
 if options.almost_fast_exits_only:
     filters.append(FastExitFilter(bandwidth_rate = 80 * 125 * 1024,
                                   advertised_bandwidth = 2000 * 1024,
                                   ports = [80, 443],
                                   same_network = False,
                                   inverse = False))
     filters.append(FastExitFilter(bandwidth_rate = 95 * 125 * 1024,
                                   advertised_bandwidth = 5000 * 1024,
                                   ports = [80, 443, 554, 1755],
                                   same_network = True,
                                   inverse = True))
 if options.fast_exits_only_any_network:
     filters.append(FastExitFilter(bandwidth_rate = 95 * 125 * 1024,
                                   advertised_bandwidth = 5000 * 1024,
                                   ports = [80, 443, 554, 1755],
                                   same_network = False,
                                   inverse = False))
 }}}

 In the meantime, I'll go extend the graph code and re-run it to handle the
 new case 2.

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


More information about the tor-bugs mailing list