Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
62763a13
Commit
62763a13
authored
18 years ago
by
Roger Dingledine
Browse files
Options
Downloads
Patches
Plain Diff
take some more notes on status events we want
svn:r8728
parent
7d33c4b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/control-spec.txt
+29
-6
29 additions, 6 deletions
doc/control-spec.txt
with
29 additions
and
6 deletions
doc/control-spec.txt
+
29
−
6
View file @
62763a13
...
...
@@ -193,7 +193,8 @@ $Id$
EventCode = "CIRC" / "STREAM" / "ORCONN" / "BW" / "DEBUG" /
"INFO" / "NOTICE" / "WARN" / "ERR" / "NEWDESC" / "ADDRMAP" /
"AUTHDIR_NEWDESCS" / "DESCCHANGED"
"AUTHDIR_NEWDESCS" / "DESCCHANGED" / "STATUS_GENERAL" /
"STATUS_CLIENT" / "STATUS_SERVER"
Any events *not* listed in the SETEVENTS line are turned off; thus, sending
SETEVENTS with an empty body turns off all event reporting.
...
...
@@ -370,7 +371,7 @@ $Id$
have no guess, return a 551 error. (Added in 0.1.2.2-alpha)
"fingerprint" -- the contents of the fingerprint file that Tor
writes as a server
;
or a 551 if we're not a server currently.
writes as a server
,
or a 551 if we're not a server currently.
(Added in 0.1.2.3-alpha)
"circuit-status"
...
...
@@ -397,7 +398,7 @@ $Id$
[From 0.1.1.4-alpha to 0.1.1.10-alpha, this was called "helper-nodes".
Tor still supports calling it that for now, but support will be
removed in
the future
.]
removed in
0.1.3.x
.]
"accounting/enabled"
"accounting/hibernating"
...
...
@@ -907,6 +908,13 @@ $Id$
the controller can explain this to the user and encourage her to
file a bug report?
// unexpected dir response. behind a hotel/airport firewall?
// bad http or https proxy?
// clock is skewed
// (either from talking to a dir authority, or from perusing a
// network-status timestamp)
Actions for STATUS_CLIENT events can be as follows:
...
...
@@ -931,7 +939,12 @@ $Id$
down or otherwise not working, and might help to explain for the
user why Tor appears to be broken.
GUARD_NODES_CHANGED
BAD_HOSTNAME
// a nickname we asked for is unavailable. no need for this
// quite yet, since no end-user controllers let you configure that.
Actions for STATUS_SERVER events can be as follows:
...
...
@@ -939,6 +952,15 @@ $Id$
"address=IP"
"method=guessed/resolved/..."
// something about failing to parse our address?
// from resolve_my_address() in config.c
// hibernating
// sketchy libevent, sketchy OS, sketchy threading
// too many onions queued. threading problem or slow cpu?
CHECKING_REACHABILITY
"oraddress=IP:port"
"diraddress=IP:port"
...
...
@@ -948,12 +970,13 @@ $Id$
"oraddress=IP:port"
"diraddress=IP:port"
// dir authorities didn't like my descriptor
// eventdns statements. like, hijacked dns.
Controllers must tolerate hearing about status types and actions
that they don't recognize.
Controllers must tolerate hearing about actions that they don't
recognize.
5. Implementation notes
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment