aboutsummaryrefslogtreecommitdiff
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
commite1eaa959c652ea902b0ea6607532ca5df878e56d (patch)
tree98e87a83b637e67e1ee0689c5db94971dd4df556
parent29759da2e725930efad525bcf32cf1816a4d7464 (diff)
downloadtorspec-e1eaa959c652ea902b0ea6607532ca5df878e56d.tar.gz
torspec-e1eaa959c652ea902b0ea6607532ca5df878e56d.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
-rw-r--r--control-spec.txt4
-rw-r--r--proposals/126-geoip-reporting.txt3
2 files changed, 5 insertions, 2 deletions
diff --git a/control-spec.txt b/control-spec.txt
index 83b35fe..dcb4ffa 100644
--- a/control-spec.txt
+++ b/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/proposals/126-geoip-reporting.txt b/proposals/126-geoip-reporting.txt
index 88b484e..02d9bc7 100644
--- a/proposals/126-geoip-reporting.txt
+++ b/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"