[tor-bugs] #30216 [Metrics/Library]: Add bandwidth file parser to metrics-lib

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


#30216: Add bandwidth file parser to metrics-lib
-------------------------------------------------+-------------------------
 Reporter:  irl                                  |          Owner:  karsten
     Type:  enhancement                          |         Status:
                                                 |  accepted
 Priority:  Medium                               |      Milestone:
Component:  Metrics/Library                      |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-bwauth,tor-dirauth,metrics-      |  Actual Points:
  roadmap-2019-q2                                |
Parent ID:  #21378                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 Replying to [ticket:30216 irl]:
 > Ideally we can parse both 1.0.0 and 1.4.0 files, but I'm not sure that
 we have any of the versions in between that would ever end up in our
 archive.

 Most bandwidth authority operators keep bandwidth file archives on disk.
 You might see some 1.1.0, 1.2.0, or 1.3.0 files in longclaw's and bastet's
 archives.

 But a well-written 1.4.0 parser should be able to handle all the previous
 versions. The fields that were added after 1.0.0 are all marked as
 optional, or marked with the version they were introduced in. (Hopefully
 both, but let us know if we've made a mistake.)

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


More information about the tor-bugs mailing list