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
  • Issues
  • #179
Closed
Open
Issue created Oct 07, 2021 by Nick Mathewson@nickm🌻Owner

Keep track of "the last time we were verifiably online"

We need a very efficient way to keep track of when we were last verifiably online.

In our parlance, we count as "verifiably online" whenever we successfully complete a TLS handshake with a remote address, or read read data from a remote TLS stream.

This mechanism needs to be "very efficient" because even fast timer mechanisms can be too slow if we're calling them on every read. Note that this mechanism doesn't need to be very accurate, however: we don't need more than a couple of seconds of resolution here.

tor-guardmgr want this information, and other diagnostic tools may as well.

f30b2280 was a commit (now reverted) that added a mechanism sort of like this.

Assignee
Assign to
Time tracking