[tor-bugs] #6232 [Analysis]: Make entropy-over-time graph

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Jul 25 13:45:57 UTC 2012


#6232: Make entropy-over-time graph
-------------------------+--------------------------------------------------
 Reporter:  arma         |          Owner:                
     Type:  enhancement  |         Status:  needs_revision
 Priority:  normal       |      Milestone:                
Component:  Analysis     |        Version:                
 Keywords:               |         Parent:  #6460         
   Points:               |   Actualpoints:                
-------------------------+--------------------------------------------------

Comment(by gsathya):

 Replying to [comment:42 karsten]:

 > > Is there a next step to this ticket? From my notes from the Tor dev
 meeting, we still need to -
 > >
 > > 1. Make this runnable every 3 hours
 > >
 > Right.  The goal here would be to add graphs to the metrics website.
 The script would first rsync consensuses and server descriptors from
 metrics and then process only the new consensuses to update the local .csv
 file.  metrics-web would then use the .csv file to generate graphs based
 on user input.

 Cool. I think atagar mentioned that stem can keep track of read consensus
 files, I'll take a look at this now.

 > > 1. Make it read files in subdirs
 > That's for consensus files, right?  We don't really need that feature
 anymore.
 Yeah.
 > But I'm not sure if my file system will like me anymore if I move a few
 years of server descriptors into a single directory without sub
 directories.  I'll try to find out.
 Ok.

 > > 1. Find different metrics-
 > > 1. Legislative diversity - based on countries
 > > 1. Organizational diversity - based on Family
 > > 1. Financial diversity - ??
 > > 1. Physical location diversity - ??
 > > 1. Network diversity - Subnets
 > Right.  We already have legislative and network diversity, and
 organizational diversity is doable.  I don't see how we would come up with
 financial or physical diversity metrics.  I'd say it's safe to ignore
 those.

 Ok.
 > But let's step back: all our metrics consist of three components:
 >
 > - (1a) based on consensus weights vs. (1b) based on advertised bandwidth
 > - weighting bandwidth values by (2a) guard or (2b) exit position, or
 (2c) considering unweighted bandwidth
 > - aggregating nodes by (3a) country, (3b) AS, (3c) family, or (3d)
 comparing single nodes
 >
 > That's 2 * 3 * 4 = 24 possible combinations.  We have implemented five
 of them.  For example, in arma's first comment on #6443 he's asking for
 advertised bandwidths in the exit position for single relays.  We don't
 have those numbers yet.  Want to add the remaining 19 combinations, each
 of them with entropy and max entropy?

 Looks like #6443 is using code from #5755, which is all Java. That would
 mean I'd have to rewrite it in py or just continue in Java which would
 essentially mean you'd have to rewrite all my Java code again to make it
 work ;). Should I pick some other metrics ticket?

 > (Note that we don't have a single metric based on advertised bandwidth
 yet.)

 Yes, I was wondering about this. Why are we using the bandwidth and not
 the advertised bandwidth?

 > > 1. Give weights to every metric
 > What does that mean?
 >
 It means give different weights to these metrics while calculating the
 total entropy -
 1. Legislative diversity - based on countries
 2. Organizational diversity - based on Family
 3. Financial diversity - ??
 4. Physical location diversity - ??
 5. Network diversity - Subnets

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


More information about the tor-bugs mailing list