Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #19460

Closed (moved)
Open
Opened Jun 20, 2016 by George Kadianakis@asn

Improve consensus handling of clients with skewed clocks

It is my understanding that we aim to support clients with skewed clocks.

I open this ticket for a few suggestions on improving consensus handling by clock skewed clients. It might be worth opening more tickets for better support of clock skewed clients in other parts of the protocol as well. The ideas of this ticket came up while working on prop224.

a) We might want to start accepting consensuses whose valid_after date is slightly in the future (maybe an hour or two max). We are already flexible towards old consensuses (we accept consenuses up to 24 hours old), so maybe we should be flexible in the other direction as well. This should help with slightly backwards-skewed clients.

Security wise, handling future consensuses is in some way safer than handling old consensuses (since these are replayable).

b) We might want to improve our logging when receiving ultra old consensuses. Right now we fail bootstrap silently if we receive a consensus with a valid_until older than 24 hours. This affects clients with clocks skewed forward, and they never learn what the problem is.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: unspecified
Milestone
Tor: unspecified
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#19460