module TorControl::Info::Status

Defined in:

get_info.cr

Constant Summary

AcceptedServerDescriptor = "status/accepted-server-descriptor"
BootstrapPhase = "status/bootstrap-phase"

Returns the most recent bootstrap phase status event sent. Specifically, it returns a string starting with either "NOTICE BOOTSTRAP ..." or "WARN BOOTSTRAP ...". Controllers should use this getinfo when they connect or attach to Tor to learn its current bootstrap state.

CircuitEstablished = "status/circuit-established"
ClientsSeen = "status/clients-seen"

A summary of which countries we've seen clients from recently, formatted the same as the CLIENTS_SEEN status event described in Section 4.1.14. This GETINFO option is currently available only for bridge relays.

EnoughDirInfo = "status/enough-dir-info"
FreshRelayDescs = "status/fresh-relay-descs"

Provides fresh server and extra-info descriptors for our relay. Note this is not the latest descriptors we've published, but rather what we would generate if we needed to make a new descriptor right now.

GoodServerDescriptor = "status/good-server-descriptor"
ReachabilitySucceeded = "status/reachability-succeeded"

"OR=" ("0"/"1") SP "DIR=" ("0"/"1") Combines status/reachability-succeeded/*; controllers MUST ignore unrecognized elements in this entry.

ReachabilitySucceededDir = "status/reachability-succeeded/dir"

0 or 1, depending on whether we've found our DirPort reachable. 1 if there is no DirPort, and therefore no need for a reachability check.

ReachabilitySucceededOr = "status/reachability-succeeded/or"

0 or 1, depending on whether we've found our ORPort reachable.

VersionCurrent = "status/version/current"

Status of the current version. One of: new, old, unrecommended, recommended, new in series, obsolete, unknown.

VersionRecommended = "status/version/recommended"

List of currently recommended versions.