summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-17 12:38:37 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-17 12:38:37 +0000
commitdf9c8feac782c9feebad3a0fc7cc5eb7068bccf2 (patch)
treead090affe0b93f33441afeddda27990a33f32464 /doc
parentb5a7347db50ad76e8e1aaf6a6a88f733c202ca37 (diff)
downloadtor-df9c8feac782c9feebad3a0fc7cc5eb7068bccf2.tar.gz
tor-df9c8feac782c9feebad3a0fc7cc5eb7068bccf2.zip
Commit fixes for several pending tor core tasks: document all DOCDOCed functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value.
svn:r3769
Diffstat (limited to 'doc')
-rw-r--r--doc/TODO12
-rw-r--r--doc/control-spec.txt14
-rw-r--r--doc/tor.1.in13
3 files changed, 20 insertions, 19 deletions
diff --git a/doc/TODO b/doc/TODO
index 2da42fdae6..ddcf4d4d62 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -38,7 +38,9 @@ N . Switch to libevent
o Implement patch, if so.
- Implement Tor side once patch is accepted.
o Check return from event_set, event_add, event_del.
- - Keep pushing to get a windows patch accepted.
+ o Keep pushing to get a windows patch accepted.
+ - After about 26 March, check back with Niels; he should be back
+ by then.
Security:
- Make sure logged info is "safe"ish.
@@ -72,13 +74,13 @@ N . Implement pending controller features.
- EXTENDCIRCUIT
R - revised circ selection stuff.
- Implement controller interface.
- . ATTACHSTREAM
+ o ATTACHSTREAM
o Make streams have an 'unattached and not-automatically-attachable'
state. ("Controller managed.")
o Add support to put new streams into this state rather than try to
attach them automatically. ("Hidden" config option.)
o Implement 'attach stream X to circuit Y' logic.
- - Time out never-attached streams.
+ o Time out never-attached streams.
o If we never get a CONNECTED back, we should put the stream back in
CONTROLLER_WAIT, not in CIRCUIT_WAIT.
- Tests for new controller features
@@ -101,9 +103,9 @@ R o HTTPS proxy for OR CONNECT stuff. (For outgoing SSL connections to
(Turns out, if package_raw_inbuf fails, it *can't* send an end cell.)
o Check for any place where we can close an edge connection without
sending an end; see if we should send an end.
-N . Feed end reason back into SOCK5 as reasonable.
+ o Feed end reason back into SOCK5 as reasonable.
R o cache .foo.exit names better, or differently, or not.
-N - make !advertised_server_mode() ORs fetch dirs less often.
+ o make !advertised_server_mode() ORs fetch dirs less often.
N - Clean up NT service code even more. Document it. Enable it by default.
Make sure it works.
diff --git a/doc/control-spec.txt b/doc/control-spec.txt
index 57ac1f5036..cb3fb178c2 100644
--- a/doc/control-spec.txt
+++ b/doc/control-spec.txt
@@ -346,8 +346,6 @@ the message.
3.15 ATTACHSTREAM (Type 0x000E)
- [Proposal; not finalized]
-
Sent from the client to the server. The message body contains two fields:
Stream ID [4 octets]
Circuit ID [4 octets]
@@ -367,8 +365,6 @@ the message.
3.16 POSTDESCRIPTOR (Type 0x000F)
- [Proposal; not finalized]
-
Sent from the client to the server. The message body contains one field:
Descriptor [NUL-terminated string]
@@ -383,10 +379,8 @@ the message.
3.17 FRAGMENTHEADER (Type 0x0010)
- [Proposal; not finalized]
-
Sent in either direction. Used to encapsulate messages longer than 65535
- bytes long.
+ bytes in length.
Underlying type [2 bytes]
Total Length [4 bytes]
@@ -403,10 +397,12 @@ the message.
3.18 FRAGMENT (Type 0x0011)
- [Proposal; not finalized]
-
Data [Entire message]
+ See FRAGMENTHEADER for more information
+
+3.19
+
4. Implementation notes
4.1. There are four ways we could authenticate, for now:
diff --git a/doc/tor.1.in b/doc/tor.1.in
index b81e89731b..4583a4d3d9 100644
--- a/doc/tor.1.in
+++ b/doc/tor.1.in
@@ -114,11 +114,14 @@ security.
\fBDirFetchPeriod \fR\fIN\fR \fBseconds\fR|\fBminutes\fR|\fBhours\fR|\fBdays\fR|\fBweeks\fP
Every time the specified period elapses, Tor downloads a directory.
A directory contains a signed list of all known servers as well as
-their current liveness status. (Default: 1 hour)
-.TP
-\fBStatusFetchPeriod \fR\fIN\fR \fBseconds\fR|\fBminutes\fR|\fBhours\fR|\fBdays\fR|\fBweeks\fP
-Every time the specified period elapses, Tor downloads signed status
-information about the current state of known servers. (Default: 20 minutes.)
+their current liveness status. A value of "0 seconds" tells Tor to choose an
+appropriate default. (Default: 1 hour for clients, 20 minutes for servers.)
+.TP
+\fBStatusFetchPeriod \fR\fIN\fR \fBseconds\fR|\fBminutes\fR|\fBhours\fR|\fBdays\fR|\fBweeks\fP Every time the
+specified period elapses, Tor downloads signed status information about the
+current state of known servers. A value of "0 seconds" tells Tor to choose
+an appropriate default. (Default: 30 minutes for clients, 15 minutes for
+servers.) (Default: 20 minutes.)
.TP
\fBRendPostPeriod \fR\fIN\fR \fBseconds\fR|\fBminutes\fR|\fBhours\fR|\fBdays\fR|\fBweeks\fP
Every time the specified period elapses, Tor uploads any rendezvous