aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-21 21:48:06 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-21 21:48:06 +0000
commita942441615af65a5e80f2d8c1348a4feb7a2ff62 (patch)
treeddfd5fa34fa1bcf11b1ce8b7187a259637c2c0ef /doc
parentb2cc52fa02d3a440f8969b6c616d5acc3c09e50f (diff)
downloadtor-a942441615af65a5e80f2d8c1348a4feb7a2ff62.tar
tor-a942441615af65a5e80f2d8c1348a4feb7a2ff62.tar.gz
r8872@Kushana: nickm | 2006-09-21 14:00:20 -0400
Implement server-side reverse DNS using eventdns. Add an option to routerdescs so we can tell which servers have eventdns enabled. svn:r8437
Diffstat (limited to 'doc')
-rw-r--r--doc/TODO8
-rw-r--r--doc/dir-spec.txt19
2 files changed, 23 insertions, 4 deletions
diff --git a/doc/TODO b/doc/TODO
index c65fd08d7..88708a058 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -100,13 +100,15 @@ d - Autodetect whether DNS is broken in this way.
d - Add option to use /etc/hosts?
d - Special-case localhost?
- Verify that it works on windows
-N - Make reverse DNS work.
- - Specify
+ . Make reverse DNS work.
+ o Specify
X Implement with dnsworkers
(There's no point doing this, since we will throw away dnsworkers once
eventdns is confirmed to work everywhere.)
o Implement in eventdns
- - Connect to resolve cells, server-side.
+ o Connect to resolve cells, server-side.
+ o Add element to routerinfo to note routers that aren't using eventdns,
+ so we can avoid sending them reverse DNS etc.
- Add client-side interface
- Performance improvements
diff --git a/doc/dir-spec.txt b/doc/dir-spec.txt
index 8c2bf7531..a211ebc09 100644
--- a/doc/dir-spec.txt
+++ b/doc/dir-spec.txt
@@ -254,7 +254,22 @@ $Id$
[We didn't start parsing these lines until Tor 0.1.0.6-rc; they should
be marked with "opt" until earlier versions of Tor are obsolete.]
-2.1. Nonterminals in routerdescriptors
+ "eventdns" bool NL
+
+ Declare whether this version of Tor is using the newer enhanced
+ dns logic. Versions of Tor without eventdns SHOULD not be used for
+ reverse hostname lookups.
+
+ [All versions of Tor before 0.1.2.2-alpha should be assumed to have
+ this option set to 0 if it is not present. All Tor versions at
+ 0.1.2.2-alpha or later should be assumed to have this option set to
+ 1 if it is not present. Until 0.1.2.1-alpha-dev, this option was
+ not generated, even when eventdns was in use. Versions of Tor
+ before 0.1.2.1-alpha-dev did not parse this option, so it should be
+ marked "opt". With some future version, the old 'dnsworker' logic
+ will be removed, rendering this option of historical interest only.]
+
+2.1. Nonterminals in router descriptors
nickname ::= between 1 and 19 alphanumeric characters, case-insensitive.
@@ -270,6 +285,8 @@ $Id$
ip6 ::= an IPv6 address, surrounded by square brackets.
num_ip6_bits ::= an integer between 0 and 128
+ bool ::= "0" | "1"
+
Ports are required; if they are not included in the router
line, they must appear in the "ports" lines.