aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-06 07:15:06 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-06 07:15:06 +0000
commit8de470cf690da38069766d827b5fd0a2a13960fe (patch)
treeafd526e3a8ee9c6f17f8c228f87f05f1a46ded91 /doc
parent3ff63b6f4e7a6be2183124c6b3e6d9aeb70f029a (diff)
downloadtor-8de470cf690da38069766d827b5fd0a2a13960fe.tar.gz
tor-8de470cf690da38069766d827b5fd0a2a13960fe.zip
Add "GETINFO/desc-annotations/id/<OR digest>" so controllers can
ask about source, timestamp of arrival, purpose, etc. We need something like this to help Vidalia not do GeoIP lookups on bridge addresses. svn:r12687
Diffstat (limited to 'doc')
-rw-r--r--doc/spec/control-spec.txt4
-rw-r--r--doc/spec/proposals/126-geoip-reporting.txt3
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt
index 83b35feb77..dcb4ffa4c3 100644
--- a/doc/spec/control-spec.txt
+++ b/doc/spec/control-spec.txt
@@ -371,6 +371,10 @@ $Id$
"desc/id/<OR identity>" or "desc/name/<OR nickname>" -- the latest
server descriptor for a given OR, NUL-terminated.
+ "desc-annotations/id/<OR identity>" -- outputs the annotations string
+ (source, timestamp of arrival, purpose, etc) for the corresponding
+ descriptor. [First implemented in 0.2.0.13-alpha.]
+
"extra-info/digest/<digest>" -- the extrainfo document whose digest (in
hex) is <digest>. Only available if we're downloading extra-info
documents.
diff --git a/doc/spec/proposals/126-geoip-reporting.txt b/doc/spec/proposals/126-geoip-reporting.txt
index 88b484e349..02d9bc76d0 100644
--- a/doc/spec/proposals/126-geoip-reporting.txt
+++ b/doc/spec/proposals/126-geoip-reporting.txt
@@ -148,8 +148,7 @@ Status: Open
that might want to map its relay locations. The best answer is that it
should learn the router annotations, with a new controller 'getinfo'
command:
- "GETINFO router-annotations/id/<OR identity>" or
- "GETINFO router-annotations/name/<OR nickname>"
+ "GETINFO desc-annotations/id/<OR identity>"
which would respond with something like
@downloaded-at 2007-11-29 08:06:38
@source "128.31.0.34"