Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 316
    • Issues 316
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #17728
Closed
Open
Created Dec 01, 2015 by teor@teor

Use NETINFO handshake rather than date header to check time with authorities

tor currently checks its clock against the directory authorities by reading the HTTP date header in the directory documents.

In legacy/trac#15775 (moved), we allow clients to bootstrap using fallback directories, rather than authorities.

In legacy/trac#4483 (moved), we make multiple connections, and use the first connection that starts downloading. If there are multiple connections downloading, we favour authority connections, so that tor can still get a clock check.

But if tor used the date from the TLS handshake, it could get directory documents from a fallback directory, and abort authority connections sooner. This would place less load on the authorities.

This would be similar to the tlsdate implementation: https://github.com/ioerror/tlsdate

Edited: Look at the netinfo cell, not the TLS handshake. -- nickm

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking