Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #15358

Closed (moved)
(moved)
Open
Created Mar 18, 2015 by Mike Perry@mikeperry

Provide control port event+command for network connectivity info

For #11222 (moved), it would be useful to have a control port event and GETINFO command to learn Tor's current opinion about overall network connectivity, so we can try to differentiate censorship from general network outage.

One potential source of this network liveness info is via circuit_build_times_network_is_live() and circuit_build_times_network_close(). There may be other pieces of Tor that try to decide if the network is up too, though. I seem to recall athena working on some piece of code that needed to do this, but I can't remember the ticket.

Alternatively, there may be more accurate platform-specific mechanisms we could use instead, I bet. Most OSes have a notion of if it's interfaces are connected and sending/receiving packets recently. OS info may prove more useful for this use case than the CBT code is.

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