summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-12-25 03:42:38 +0000
committerNick Mathewson <nickm@torproject.org>2006-12-25 03:42:38 +0000
commit58ae3cd64831d64779afa4ef2291ad969059eb4b (patch)
treea32c32fd2b0d3fa264607c324491ed5bc96174ff /doc
parent3ab84c5f48231e8df2b27df97a8f342e526b0220 (diff)
downloadtor-58ae3cd64831d64779afa4ef2291ad969059eb4b.tar.gz
tor-58ae3cd64831d64779afa4ef2291ad969059eb4b.zip
r11713@Kushana: nickm | 2006-12-24 22:42:08 -0500
Better handling of internal addresses wrt X-Your-Address-Is (never believe them; never provide them.) Also, report something useful for X-Your-Address-Is with one-hop tunneled connections. svn:r9191
Diffstat (limited to 'doc')
-rw-r--r--doc/TODO2
-rw-r--r--doc/dir-spec.txt4
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/TODO b/doc/TODO
index 9742e58522..5b63e0d74b 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -63,6 +63,8 @@ R - handle connect-dir streams that don't have a chosen_exit_name set.
key=value syntax. so we could have a 'tor' version, but we
could also have a 'conn' version, a 'dir' version, etc down
the road. and one day maybe the 'tor' key would be deprecated.
+ o Give the right answer for X-Your-Address-Is on tunneled directory
+ connections.
o Document .noconnect addresses...
A new file 'address-spec.txt' that describes .exit, .onion,
diff --git a/doc/dir-spec.txt b/doc/dir-spec.txt
index c72cf331e8..207d4a5199 100644
--- a/doc/dir-spec.txt
+++ b/doc/dir-spec.txt
@@ -854,6 +854,10 @@ $Id$
Servers MAY include an X-Your-Address-Is: header, whose value is the
apparent IP address of the client connecting to them (as a dotted quad).
+ For directory connections tunneled over a BEGIN_DIR stream, servers SHOULD
+ report the IP from which the circuit carrying the BEGIN_DIR stream reached
+ them. [Servers before version 0.1.2.5-alpha reported 127.0.0.1 for all
+ BEGIN_DIR-tunneled connections.]
Servers SHOULD disable caching of multiple network statuses or multiple
router descriptors. Servers MAY enable caching of single descriptors,