Browse Source

update docs to reflect a bit more reality

svn:r252
Roger Dingledine 21 years ago
parent
commit
f8c6339979
3 changed files with 26 additions and 5 deletions
  1. 6 0
      doc/CLIENTS
  2. 2 1
      doc/TODO
  3. 18 4
      doc/tor-spec.txt

+ 6 - 0
doc/CLIENTS

@@ -51,5 +51,11 @@ Probably tsocks doesn't behave well for behemoths like Mozilla.
 
     Part three: applications which support tor correctly
 
+http: Mozilla: set your socks4 proxy to be the onion proxy
+      privoxy: set your socks4a proxy to be the onion proxy
+ssh: tsocks ssh arma@18.244.0.188
+ftp: tsocks wget ftp://18.244.0.188/quux.tar --passive
+     Mozilla: set your socks4 proxy to be the onion proxy
+
 
 

+ 2 - 1
doc/TODO

@@ -114,7 +114,8 @@ NICK                    . OS X
 SPEC!!  - Non-clique topologies, clearer bandwidth management
         . Look at OR handshake in more detail
                 o Spec it
-                - Merge OR and OP handshakes?
+                - Merge OR and OP handshakes
+                        - But figure out how to indicate if we're OR?
                 - Periodic link key rotation. Spec?
         - More flexibility in node addressing
                 - Support IPv6 rather than just 4

+ 18 - 4
doc/tor-spec.txt

@@ -228,8 +228,8 @@ which reveals the downstream node.
 
         ACI (anonymous circuit identifier)    [2 bytes]
         Command                               [1 byte]
-        Sequence number (unused, set to 0)    [4 bytes]
         Length                                [1 byte]
+        Sequence number (unused, set to 0)    [4 bytes]
         Payload (padded with 0 bytes)         [248 bytes]
                                          [Total size: 256 bytes]
 
@@ -440,7 +440,7 @@ which reveals the downstream node.
    To create a new anonymized TCP connection, the OP sends a
    TOPIC_BEGIN data cell with a payload encoding the address and port
    of the destination host.  The payload format is:
-         ADDRESS | ',' | PORT | '\000'
+         ADDRESS | ':' | PORT | '\000'
    where ADDRESS may be a DNS hostname, or an IPv4 address in
    dotted-quad format; and where PORT is encoded in decimal.
 
@@ -524,6 +524,20 @@ which reveals the downstream node.
 
 7. Directories and routers
 
-[????]
-
+7.1. Router descriptor format.
+
+Line format : address ORPort OPPort APPort DirPort bandwidth(bytes/s)
+followed by the router's public key.
+ORport is where the router listens for other routers (speaking cells)
+OPPort is where the router listens for onion proxies (speaking cells)
+APPort is where the router listens for applications (speaking socks)
+DirPort is where the router listens for directory download requests
+
+Example:
+moria.mit.edu 9001 9011 9021 9031 100000
+-----BEGIN RSA PUBLIC KEY-----
+MIGJAoGBAMBBuk1sYxEg5jLAJy86U3GGJ7EGMSV7yoA6mmcsEVU3pwTUrpbpCmwS
+7BvovoY3z4zk63NZVBErgKQUDkn3pp8n83xZgEf4GI27gdWIIwaBjEimuJlEY+7K
+nZ7kVMRoiXCbjL6VAtNa4Zy1Af/GOm0iCIDpholeujQ95xew7rQnAgMA//8=
+-----END RSA PUBLIC KEY-----