[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8658: a potential syntax for the EVENT_MISC_* events. needs a bett (tor/trunk/doc)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r8658: a potential syntax for the EVENT_MISC_* events. needs a bett (tor/trunk/doc)
- From: arma@xxxxxxxx
- Date: Sun, 8 Oct 2006 19:24:26 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sun, 08 Oct 2006 19:24:34 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: arma
Date: 2006-10-08 19:24:26 -0400 (Sun, 08 Oct 2006)
New Revision: 8658
Modified:
tor/trunk/doc/control-spec.txt
Log:
a potential syntax for the EVENT_MISC_* events.
needs a better name, and maybe needs a better syntax too.
Modified: tor/trunk/doc/control-spec.txt
===================================================================
--- tor/trunk/doc/control-spec.txt 2006-10-08 23:20:43 UTC (rev 8657)
+++ tor/trunk/doc/control-spec.txt 2006-10-08 23:24:26 UTC (rev 8658)
@@ -208,7 +208,7 @@
or none.
NOTE: "EXTENDED" is only supported in Tor 0.1.1.9-alpha or later.
- XXX Need to describe what each event does and is for -RD
+ Each event is described in more detail in Section 4.1.
3.5. AUTHENTICATE
@@ -809,7 +809,7 @@
BytesRead = 1*DIGIT
BytesWritten = 1*DIGIT
-4.1.5. Log message
+4.1.5. Log messages
The syntax is:
"650" SP Severity SP ReplyText
@@ -844,6 +844,32 @@
[First added in 0.1.2.2-alpha.]
+4.1.10. Misc other events
+
+ Syntax:
+ "650" SP Type SP Action SP Arguments
+ Type = "MISC_CLIENT" / "MISC_SERVER"
+ Action and Arguments (if any) are described below.
+
+ Actions for MISC_CLIENT events can be as follows:
+
+ CIRCUIT_ESTABLISHED means that Tor is able to establish circuits
+ for client use. This event will only be sent if we just built a
+ circuit that changed our mind -- that is, prior to this event we
+ didn't know whether we could establish circuits.
+
+ CLOCK_JUMPED means that Tor spent enough time without CPU cycles
+ that it has closed all its circuits and will establishing them
+ anew. This typically happens when a laptop goes to sleep and then
+ wakes up again. It also happens when the system is swapping so
+ heavily that Tor is starving. The Arguments line is this case is
+ a single non-negative integer representing the number of seconds
+ Tor thinks it was unconscious for.
+
+ Actions for MISC_SERVER events can be as follows:
+
+
+
5. Implementation notes
5.1. Authentication