diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/TODO | 8 | ||||
-rw-r--r-- | doc/dir-spec.txt | 19 |
2 files changed, 23 insertions, 4 deletions
@@ -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 8c2bf75311..a211ebc095 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. |