aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-12-27 06:50:07 +0000
committerRoger Dingledine <arma@torproject.org>2008-12-27 06:50:07 +0000
commit5519e633ec4c48c5e547554ff750db1aab835cc7 (patch)
tree90b8cd8079bf9c4d1f0c25bd5e3c1365b07ec2f0 /doc
parent0c5e03fa21ecdc5f484b8cef18fcbb611349b47f (diff)
downloadtor-5519e633ec4c48c5e547554ff750db1aab835cc7.tar.gz
tor-5519e633ec4c48c5e547554ff750db1aab835cc7.zip
New controller event "clients_seen" to report a geoip-based summary
of which countries we've seen clients from recently. Now controllers like Vidalia can show bridge operators that they're actually making a difference. svn:r17796
Diffstat (limited to 'doc')
-rw-r--r--doc/TODO.external4
-rw-r--r--doc/spec/control-spec.txt25
2 files changed, 25 insertions, 4 deletions
diff --git a/doc/TODO.external b/doc/TODO.external
index 789de5f18c..ec23f99126 100644
--- a/doc/TODO.external
+++ b/doc/TODO.external
@@ -138,8 +138,8 @@ E - Vidalia improvements
- Figure out a plan for presenting other Tor status warning events.
- Move Polipo into the main Vidalia -dev bundle.
- Vidalia displays by-country user summary for bridge operators
-R * Tor sends a status event or something so Vidalia knows what
- to display
+ o Tor sends a status event or something so Vidalia knows what
+ to display: "clients_seen"
M - Network scanning and network health
- Implement some initial automated scans.
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt
index 4d1a7eb514..093bf20a56 100644
--- a/doc/spec/control-spec.txt
+++ b/doc/spec/control-spec.txt
@@ -1284,8 +1284,7 @@ $Id$
{Controllers may want to warn the user if this event occurs; further
action is generally not possible.}
- COSENSUS_ARRIVED
-
+ CONSENSUS_ARRIVED
Tor has received and validated a new consensus networkstatus.
(This event can be delayed a little while after the consensus
is received, if Tor needs to fetch certificates.)
@@ -1566,6 +1565,28 @@ $Id$
These events apply only to streams entering Tor (such as on a SOCKSPort,
TransPort, or so on). They are not generated for exiting streams.
+4.1.14. Per-country client stats
+
+ The syntax is:
+ "650" SP "CLIENTS_SEEN" SP TimeStarted SP CountrySummary CRLF
+
+ We just generated a new summary of which countries we've seen clients
+ from recently. The controller could display this for the user, e.g.
+ in their "relay" configuration window, to give them a sense that they
+ are actually being useful.
+
+ Currently only bridge relays will receive this event, but once we figure
+ out how to sufficiently aggregate and sanitize the client counts on
+ main relays, we might start sending these events in other cases too.
+
+ TimeStarted is a quoted string indicating when the reported summary
+ counts from (in GMT).
+
+ The CountrySummary keyword has as its argument a comma-separated
+ set of "countrycode=count" pairs. For example,
+ 650-CLIENTS_SEEN TimeStarted="Thu Dec 25 23:50:43 EST 2008"
+ 650 CountrySummary=us=16,de=8,uk=8
+
5. Implementation notes
5.1. Authentication