[tor-bugs] #9778 [Onionoo]: Adding votes documents to Onionoo

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 19 10:09:37 UTC 2013


#9778: Adding votes documents to Onionoo
-------------------------+-------------------------
 Reporter:  karsten      |          Owner:  karsten
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:
Component:  Onionoo      |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+-------------------------
 A few weeks ago, I changed the web output of the consensus-health checker
 to not display relay flags anymore.  Here's an archived example (with
 broken CSS, sorry for that):

 https://people.torproject.org/~karsten/volatile/consensus-
 health-2013-08-12-07-00-00.html

 The main reason was that the page loads forever, which makes the remaining
 information on the page less useful.  Though this will soon be irrelevant,
 because I'm planning to shut down the consensus health website entirely in
 favor of Damian's Python consensus-health checker.

 We should try to rescue all information from that page that we want to
 keep.  Roger says on IRC that he's interested in the flags that the
 directory authorities assign to a relay in a vote.

 I wonder if we should add a new document type to Onionoo that contains
 useful information from votes, like flags and measured bandwidths.  (I
 briefly thought about adding more stuff to details documents, but they're
 already pretty overloaded right now.)  Here's how a votes document could
 look like for gabelmoo:

 {{{
 {
     "relays_published": "2013-09-19 09:00:00",
     "relays": [
         {
             "nickname": "gabelmoo",
             "fingerprint": "F2044413DAC2E02E3D6BCF4735A19BCA1DE97281",
             "flags": {
                 "Faravahar": [
                     "Authority",
                     "HSDir",
                     "Running",
                     "Stable",
                     "V2Dir",
                     "Valid"
                 ],
                 "dannenberg": [
                     "Authority",
                     "HSDir",
                     "Running",
                     "Stable",
                     "V2Dir",
                     "Valid"
                 ],
                 "dizum": [
                     "Authority",
                     "HSDir",
                     "Running",
                     "Stable",
                     "V2Dir",
                     "Valid"
                 ],
                 "gabelmoo": [
                     "Authority",
                     "Named",
                     "Running",
                     "V2Dir",
                     "Valid"
                 ],
                 "maatuska": [
                     "Authority",
                     "HSDir",
                     "Running",
                     "Stable",
                     "V2Dir",
                     "Valid"
                 ],
                 "moria1": [
                     "Authority",
                     "HSDir",
                     "Running",
                     "Stable",
                     "V2Dir",
                     "Valid"
                 ],
                 "tor26": [
                     "Authority",
                     "HSDir",
                     "Named",
                     "Running",
                     "Stable",
                     "V2Dir",
                     "Valid"
                 ],
                 "urras": [
                     "Authority",
                     "HSDir",
                     "Running",
                     "Stable",
                     "V2Dir",
                     "Valid"
                 ]
             },
             "measured": {
                 "moria1": 9
             }
         }
     ],
     "bridges_published": "2013-09-19 08:37:03",
     "bridges": []
 }
 }}}

 What else might be worth adding to these documents?  Here's what moria1
 thinks about gabelmoo:

 {{{
 r gabelmoo 8gREE9rC4C49a89HNaGbyh3pcoE goM6QETDkFBEjjhRURvUUn2QDkU
 2013-09-18 22:01:15 212.112.245.170 443 80
 s Authority HSDir Running Stable V2Dir Valid
 v Tor 0.2.5.0-alpha-dev
 w Bandwidth=20 Measured=9
 p reject 1-65535
 m 8,9,10,11,12,13,14,15 sha256=lLaUe8rgCb1VRPKWKSC7dP+DLae6r62FyIOh/6+Mm8c
 m 16,17 sha256=he0Eot/jfJv/uxqCnUFjkTLLbLbiwRtWIae9s0gyUYU
 }}}

 phw, rndm: If I add these documents to Onionoo, would you want to include
 them in relay detail pages of Atlas and Globe?  Would you expect the data
 format to be different?  Would you want less/more information from votes?

 wfn: I think it makes sense to add these documents to good-old-Java-
 Onionoo, so that there's just one more document type that your shiny-new-
 Python-Onionoo can treat like summary, details, bandwidth, and weights
 documents.  Does that work for you?

 arma: Is there anything missing in this proposal that you'd want to have
 included?

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


More information about the tor-bugs mailing list