Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Arti Arti
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 230
    • Issues 230
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • ArtiArti
  • Merge requests
  • !245

Expose and collect bootstrap status information from tor-chanmgr and tor-dirmgr

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Nick Mathewson requested to merge nickm/arti:bootstrap_reporting into main Jan 18, 2022
  • Overview 5
  • Commits 3
  • Pipelines 1
  • Changes 12

This branch adds functionality, based on postage::watch, to export bootstrap status information from tor-dirmgr and tor-chanmgr. I expect that the content of the information will change in the future, so I've made the interfaces somewhat opaque.

Implements a first cut of #96 (closed), though we will need to refine it in the future.

Some of the information that we collect in this branch is more than strictly needed for the bootstrap data that we expose right now. I hope this isn't confusing: I think that in the future we'll probably move to collect less, or use the data that we collect in a more sophisticated way, or some of each.

I've done a trick in tor-chanmgr to avoid creating events too frequently, since otherwise it would lead to many spurious changes. If we decide to make that change elsewhere too, I think we can safely do so in a later commit.

As it stands, this branch isn't completely useful on its own, since there is no way currently to get an un-bootstrapped TorClient. It will require #293 (closed) for that. (@eta, please let me know if the changes this makes to TorClient will conflict with your plans there.)

NOTE: Please see the individual commit messages for more information about design rationale, tradeoffs, and future work.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bootstrap_reporting