[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #12651 [Onionoo]: Details documents of non-running nodes may contain "running":true



#12651: Details documents of non-running nodes may contain "running":true
-------------------------+--------------------------
     Reporter:  karsten  |      Owner:  karsten
         Type:  defect   |     Status:  needs_review
     Priority:  normal   |  Milestone:
    Component:  Onionoo  |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+--------------------------

Comment (by karsten):

 This bug doesn't only affect the "running" field, but also others:

 {{{
 https://onionoo.torproject.org/details?fields=guard_probability&running=false&limit=10

 {"relays_published":"2014-07-19 11:00:00",
 "relays":[
 {},
 {"guard_probability":0.0},
 {"guard_probability":0.0},
 {"guard_probability":0.0},
 {},
 {},
 {"guard_probability":5.421985E-6},
 {},
 {},
 {"guard_probability":0.0}
 ],
 "bridges_published":"2014-07-19 10:37:05",
 "bridges":[
 ]}
 }}}

 In theory, the `"guard_probability"` field should be "Omitted if the relay
 is not running", says the spec.  In short, the details JSON documents of
 non-running relays must be rewritten.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12651#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs