[metrics-bugs] #30218 [Metrics/CollecTor]: Add bandwidth files archiving to CollecTor

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 18 01:29:09 UTC 2019


#30218: Add bandwidth files archiving to CollecTor
-------------------------------------------------+-------------------------
 Reporter:  irl                                  |          Owner:
                                                 |  metrics-team
     Type:  enhancement                          |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Metrics/CollecTor                    |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-bwauth,tor-dirauth,metrics-      |  Actual Points:
  roadmap-2019-q2                                |
Parent ID:  #21378                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 The bandwidth file is read by an authority to create its vote at VA-
 DistSeconds-VoteSeconds:
 https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n302

 That's around HH:50 (and when there's no consensus, HH:20) on the
 authority's UTC clock.

 So you should get the bandwidth file that the authority is about to use
 for the vote if you start fetching it at HH:49 and HH:19.

 After you fetch the vote, you can check bandwidth-file-digest, and re-
 fetch the bandwidth file if it does not match.

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


More information about the metrics-bugs mailing list