[tor-bugs] #21377 [Core Tor/Tor]: DirAuths should expose bwauth bandwidth files

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 15 02:37:18 UTC 2019


#21377: DirAuths should expose bwauth bandwidth files
-------------------------------------------------+-------------------------
 Reporter:  tom                                  |          Owner:  juga
     Type:  enhancement                          |         Status:
                                                 |  merge_ready
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.4.0.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-dirauth, metrics, tor-bwauth,    |  Actual Points:
  035-removed-20180711, 040-roadmap-proposed     |
Parent ID:  #25925                               |         Points:
 Reviewer:  ahf                                  |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 Replying to [comment:57 juga]:
 > Replying to [comment:51 teor]:
 > > Maybe the best place for this test is in stem?
 > > We could open a ticket for a stem integration test that tests
 bandwidth files.
 > > Do you think this test is worth adding? Will it catch future bugs?
 >
 > I talked with atagar in #tor-dev, and there'd be the same problem in
 stem, it does not run a test network. Maybe it can be mocked all that
 dirauth needs before serving the bandwidth file, but i didn't see and easy
 way to do it.

 Why do you think we need a test network?

 Replying to [comment:51 teor]:
 > We don't need a test network, we just need a single tor instance.
 > We have some tor integration tests already:
 > https://gitweb.torproject.org/tor.git/tree/src/test/test_rebind.sh
 >
 > But we would need to configure the tor instance as a directory
 authority. So we would need to run tor-gencert to generate the authority
 keys. And require stem.

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


More information about the tor-bugs mailing list