[tor-bugs] #16020 [Onionoo]: new field: measured flag

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Aug 16 05:56:23 UTC 2015


#16020: new field: measured flag
-----------------------------+--------------------------
     Reporter:  cypherpunks  |      Owner:
         Type:  enhancement  |     Status:  needs_review
     Priority:  normal       |  Milestone:
    Component:  Onionoo      |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------

Comment (by cypherpunks):

 I've got a question about the semantics of the measured flag for non-
 running relays.

 Total stats from 2015-08-16 04:00:
 {{{
 +----------+---------+
 | measured | #relays |
 +----------+---------+
 |     NULL |     956 |
 |        0 |     338 |
 |        1 |    6659 |
 +----------+---------+
 }}}

 First I thought onionoo does not provide the measured flag for all non-
 running relays, but there are also non-running relays with measured set to
 'True' and 'False'.

 Lets look at an example (non-running relay, no measured flag data in
 details document, but the last known bw entry was actually based on bwauth
 data) from relays_published '2015-08-16 04:00:00':

 {{{
 {"nickname":"96ed5c5","fingerprint":"C8FB6DB9BE327A05F5B29A2FFC240DACDB3C2967","or_addresses":["62.108.36.173:443"],"last_seen":"2015-08-14
 15:00:00","last_changed_address_or_port":"2015-04-20
 14:00:00","first_seen":"2014-05-27
 22:00:00","running":false,"flags":["Fast","Running","Stable","Valid"],"country":"de","country_name":"Germany","latitude":51.0,"longitude":9.0,"as_number":"AS30962","as_name":"comtrance
 GmbH","consensus_weight":10500,"host_name":"62.108.36.173","last_restarted":"2015-08-04
 14:40:05","bandwidth_rate":1073741824,"bandwidth_burst":1073741824,"observed_bandwidth":0,"advertised_bandwidth":0,"exit_policy":["reject
 *:*"],"exit_policy_summary":{"reject":["1-65535"]},"contact":"admin <tor-
 d0t-p-at-trickhieber.de>","platform":"Tor 0.2.6.10 on
 Linux","recommended_version":true,"hibernating":true},
 }}}

 From collector data: (taken from last_seen timestamp)
 https://collector.torproject.org/recent/relay-
 descriptors/consensuses/2015-08-14-15-00-00-consensus
 {{{
 r 96ed5c5 yPttub4yegX1spov/CQNrNs8KWc Cv7197uSXYANO54Oz+WfYMCZtK8
 2015-08-14 14:33:02 62.108.36.173 443 0
 s Fast Running Stable Valid
 v Tor 0.2.6.10
 w Bandwidth=10500
 }}}

 5 BWAuths provided measurement data.

 Why does that relay have no 'measured' flag in onionoo's details document?

 thanks!

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


More information about the tor-bugs mailing list