aboutsummaryrefslogtreecommitdiff
path: root/doc/tor-spec.txt
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-08-27 22:45:10 +0000
committerRoger Dingledine <arma@torproject.org>2003-08-27 22:45:10 +0000
commitc8401a30ae6de4258496b899a7e58f3714eea9d6 (patch)
tree64d8012981792d42fe830a1a2680ca7a63dfdf62 /doc/tor-spec.txt
parent7ae853b04cac5296109a4a3fba206ee97285b634 (diff)
downloadtor-c8401a30ae6de4258496b899a7e58f3714eea9d6.tar
tor-c8401a30ae6de4258496b899a7e58f3714eea9d6.tar.gz
remove op_port from the spec also
svn:r420
Diffstat (limited to 'doc/tor-spec.txt')
-rw-r--r--doc/tor-spec.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt
index 0e6d3ec8d..5ba4a468f 100644
--- a/doc/tor-spec.txt
+++ b/doc/tor-spec.txt
@@ -19,7 +19,6 @@ TODO: (very soon)
K -- a key for a symmetric cypher
a|b -- concatenation of 'a' with 'b'.
- a[i:j] -- Bytes 'i' through 'j'-1 (inclusive) of the string a.
All numeric values are encoded in network (big-endian) order.
@@ -568,22 +567,20 @@ which reveals the downstream node.
(Unless otherwise noted, tokens on the same line are space-separated.)
Router ::= Router-Line Public-Key Signing-Key? Exit-Policy NL
-Router-Line ::= "router" address ORPort OPPort APPort DirPort bandwidth
- NL
+Router-Line ::= "router" address ORPort APPort DirPort bandwidth NL
Public-key ::= a public key in PEM format NL
Signing-Key ::= "signing-key" NL signing key in PEM format NL
Exit-Policy ::= Exit-Line*
Exit-Line ::= ("accept"|"reject") string NL
-ORport ::= port where the router listens for other routers (speaking cells)
-OPPort ::= where the router listens for onion proxies (speaking cells)
+ORport ::= port where the router listens for routers/proxies (speaking cells)
APPort ::= where the router listens for applications (speaking socks)
DirPort ::= where the router listens for directory download requests
bandwidth ::= maximum bandwidth, in bytes/s
Example:
-router moria.mit.edu 9001 9011 9021 9031 100000
+router moria.mit.edu 9001 9021 9031 100000
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAMBBuk1sYxEg5jLAJy86U3GGJ7EGMSV7yoA6mmcsEVU3pwTUrpbpCmwS
7BvovoY3z4zk63NZVBErgKQUDkn3pp8n83xZgEf4GI27gdWIIwaBjEimuJlEY+7K