[tor-bugs] #10331 [Onionoo]: Provide per-bridge usage statistics in Onionoo

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 11 08:00:45 UTC 2014


#10331: Provide per-bridge usage statistics in Onionoo
-----------------------------+---------------------
     Reporter:  karsten      |      Owner:  karsten
         Type:  enhancement  |     Status:  closed
     Priority:  minor        |  Milestone:
    Component:  Onionoo      |    Version:
   Resolution:  implemented  |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+---------------------
Changes (by karsten):

 * status:  assigned => closed
 * resolution:   => implemented


Comment:

 This is now implemented and deployed.  Here's a sample clients document
 (https://onionoo.torproject.org/clients?lookup=DE6397A047ABE5F78B4C87AF725047831B221AAB)
 in the deployed format:

 {{{
 {"relays_published":"2014-03-11 07:00:00",
 "relays":[
 ],
 "bridges_published":"2014-03-11 06:37:04",
 "bridges":[
 {"fingerprint":"DE6397A047ABE5F78B4C87AF725047831B221AAB",
 "average_clients":{
 "1_week":{"first":"2014-03-04 12:00:00","last":"2014-03-10
 12:00:00","interval":86400,"factor":0.077587187,"count":7,"values":[954,998,986,906,967,939,962],"countries":{"bd":0.0103,"de":0.0141,"gb":0.0238,"in":0.0188,"ir":0.5333,"ru":0.0188,"sy":0.0613,"tr":0.0104,"ua":0.0120,"us":0.0894},"transports":{"obfs2":0.9825,"obfs3":0.0141},"versions":{"v4":1.0000}},
 "1_month":{"first":"2014-02-09 12:00:00","last":"2014-03-10
 12:00:00","interval":86400,"factor":0.139049349,"count":30,"values":[485,458,493,536,null,null,524,576,607,622,null,635,null,566,774,999,945,690,656,674,683,650,590,532,557,550,505,539,524,536],"countries":{"ca":0.0110,"cn":0.0157,"gb":0.0145,"in":0.1103,"ir":0.3656,"ru":0.0144,"se":0.0999,"sy":0.0454,"us":0.0599},"transports":{"obfs2":0.6798},"versions":{"v4":1.0000}},
 "3_months":{"first":"2013-12-09 12:00:00","last":"2014-03-10
 12:00:00","interval":86400,"factor":0.139049349,"count":92,"values":[282,316,311,285,391,null,465,null,null,432,542,661,655,615,578,550,499,521,570,547,523,533,539,450,314,309,345,340,339,367,351,362,380,369,347,347,373,362,298,null,null,316,348,393,420,430,412,358,441,499,525,516,428,366,373,384,371,354,349,374,432,null,485,458,493,536,null,null,524,576,607,622,null,635,null,566,774,999,945,690,656,674,683,650,590,532,557,550,505,539,524,536],"countries":{"in":0.1610,"ir":0.1713,"nl":0.0141,"se":0.2574,"sy":0.0186,"us":0.0245},"transports":{"obfs2":0.2788},"versions":{"v4":0.9515}},
 "1_year":{"first":"2013-05-14 00:00:00","last":"2014-03-10
 00:00:00","interval":172800,"factor":0.123398448,"count":151,"values":[482,435,458,416,431,487,390,357,340,302,291,343,453,399,412,400,null,254,361,395,364,436,406,null,518,509,509,394,359,364,344,405,428,null,421,377,399,398,392,388,484,410,456,478,466,448,393,372,376,430,397,424,359,362,356,351,332,378,383,462,360,333,292,242,252,257,217,228,254,327,296,338,324,321,354,298,321,298,326,null,357,313,287,298,286,305,288,291,306,296,342,359,323,308,362,367,389,348,277,null,271,247,282,334,330,330,336,460,524,480,678,716,635,575,629,595,557,351,386,398,402,422,391,414,336,351,418,479,434,529,587,447,427,408,408,500,531,586,null,620,695,716,621,999,922,750,751,632,624,589,599],"countries":{"cn":0.0248,"gb":0.0221,"in":0.1986,"ir":0.0759,"nl":0.0708,"se":0.1348,"us":0.0149},"transports":{"obfs2":0.1098},"versions":{"v4":0.3749}}}
 }
 ]}
 }}}

 I'm not convinced yet that the `"countries"`, `"transports"`, and
 `"versions"` fields are the way to go.  They make these history objects
 quite distinct from the other history objects, which makes it harder to
 re-use code in Onionoo clients.  I marked these fields as BETA in the
 protocol specification.  Maybe we'll want to do something better there.
 Let's see.

 Feature is implemented, changing it deserves a new ticket.  closing.

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


More information about the tor-bugs mailing list