[tor-bugs] #29056 [Core Tor/Stem]: Implement bandwidth file parser and formater

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 14 00:26:24 UTC 2019


#29056: Implement bandwidth file parser and formater
---------------------------+--------------------------
 Reporter:  juga           |          Owner:  juga
     Type:  defect         |         Status:  assigned
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:  tor-bwauth     |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+--------------------------

Comment (by teor):

 Replying to [comment:4 atagar]:
 > Thanks teor! I'd be happy to proceed with the parser part of this now.
 It's fine if there's spec tweaks up until our next Stem release, which is
 a very long ways out. That said, I'll hold off on the downloader component
 until #21377 has been merged since I need that for an end-to-end test.
 >
 > To proceed with making a parser I need a copy of a bandwidth authority
 file for our unit tests. Per chance does anyone have one handy?

 You should have three files in your unit tests:
 * a format version 1.0 file from Torflow,
 * a format version 1.1 file from sbws 0.1.0 to 1.0.0
 * a format version 1.2 file from sbws 1.0.3 and later
 https://gitweb.torproject.org/torspec.git/tree/bandwidth-file-
 spec.txt#n543

 I've noticed some minor spec issues, I'll open child tickets for them.

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


More information about the tor-bugs mailing list