Skip to content
GitLab
  • Menu
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 136
    • Issues 136
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • Issues
  • #436
Closed
Open
Created Apr 08, 2022 by Nick Mathewson@nickm🎨Owner

Early rejection for consensus documents we would never accept as timely

If we are served a consensus document which we believe to be untimely, we won't accept it. But we'll read the whole dang thing anyway, even though the part of it declaring its lifespan is right near the beginning.

We could save wasted bandwidth by inspecting our consensus downloads early on, and aborting them with an error if, based on the first 1-4k, it looks like the prefix of an expired or not-yet-valid consensus.

Alternatively, if we see that the directory we're talking to is skewed by more than a certain amount, we might simply refuse to send it any consensus request at all, on the theory that any consensus it would accept, we wouldn't. (This alternative is now #466 (closed))

Related to #329 (closed).

Edited May 10, 2022 by Nick Mathewson
Assignee
Assign to
Time tracking