Forráskód Böngészése

APPort is now SocksPort

svn:r644
Roger Dingledine 20 éve
szülő
commit
0e137e413f

+ 1 - 2
doc/FAQ

@@ -48,9 +48,8 @@ for you.]
 
 
 The same executable ("or") functions as both client and server, depending
 The same executable ("or") functions as both client and server, depending
 on which ports are specified in the configuration file. You can specify:
 on which ports are specified in the configuration file. You can specify:
-* APPort: client applications (eg privoxy, Mozilla) can speak socks to
+* SocksPort: client applications (eg privoxy, Mozilla) can speak socks to
   this port.
   this port.
-* OPPort: onion proxies (client onion routers) connect to this port.
 * ORPort: other onion routers connect to this port
 * ORPort: other onion routers connect to this port
 * DirPort: onion proxies and onion routers speak http to this port, to
 * DirPort: onion proxies and onion routers speak http to this port, to
   pull down a directory of which nodes are currently available.
   pull down a directory of which nodes are currently available.

+ 2 - 2
doc/tor-spec.txt

@@ -442,7 +442,7 @@ which reveals the downstream node.
 (Unless otherwise noted, tokens on the same line are space-separated.)
 (Unless otherwise noted, tokens on the same line are space-separated.)
 
 
 Router ::= Router-Line  Date-Line Onion-Key Link-Key Signing-Key  Exit-Policy Router-Signature NL
 Router ::= Router-Line  Date-Line Onion-Key Link-Key Signing-Key  Exit-Policy Router-Signature NL
-Router-Line ::= "router" nickname address ORPort APPort DirPort bandwidth NL
+Router-Line ::= "router" nickname address ORPort SocksPort DirPort bandwidth NL
 Date-Line ::= "published" YYYY-MM-DD HH:MM:SS NL
 Date-Line ::= "published" YYYY-MM-DD HH:MM:SS NL
 Onion-key ::= "onion-key"  NL  a public key in PEM format   NL
 Onion-key ::= "onion-key"  NL  a public key in PEM format   NL
 Link-key ::= "link-key"  NL  a public key in PEM format  NL
 Link-key ::= "link-key"  NL  a public key in PEM format  NL
@@ -454,7 +454,7 @@ Signature ::= "-----BEGIN SIGNATURE-----" NL
               Base-64-encoded-signature NL "-----END SIGNATURE-----" NL
               Base-64-encoded-signature NL "-----END SIGNATURE-----" NL
 
 
 ORport ::= port where the router listens for routers/proxies (speaking cells)
 ORport ::= port where the router listens for routers/proxies (speaking cells)
-APPort ::=  where the router listens for applications (speaking socks)
+SocksPort ::=  where the router listens for applications (speaking socks)
 DirPort ::= where the router listens for directory download requests
 DirPort ::= where the router listens for directory download requests
 bandwidth ::= maximum bandwidth, in bytes/s
 bandwidth ::= maximum bandwidth, in bytes/s
 
 

+ 0 - 1
src/config/moria1-orrc

@@ -3,7 +3,6 @@ DataDirectory moria1
 Nickname moria1
 Nickname moria1
 
 
 ORPort 9001
 ORPort 9001
-APPort 9021
 DirPort 9031
 DirPort 9031
 
 
 OnionRouter 1
 OnionRouter 1

+ 0 - 1
src/config/moria2-orrc

@@ -3,7 +3,6 @@ DataDirectory moria2
 Nickname moria2
 Nickname moria2
 
 
 ORPort 9002
 ORPort 9002
-APPort 9022
 DirPort 9032
 DirPort 9032
 
 
 OnionRouter 1
 OnionRouter 1

+ 0 - 1
src/config/moria3-orrc

@@ -3,7 +3,6 @@ DataDirectory moria3
 Nickname moria3
 Nickname moria3
 
 
 ORPort 9003
 ORPort 9003
-APPort 9023
 DirPort 9033
 DirPort 9033
 
 
 OnionRouter 1
 OnionRouter 1

+ 1 - 1
src/config/sample-server-torrc.in

@@ -10,7 +10,7 @@ Address moria.seul.org
 # Ports for various services. Comment out or set to 0 if you're not
 # Ports for various services. Comment out or set to 0 if you're not
 # offering that service.
 # offering that service.
 ORPort 9004 # listening for cell-speaking connections
 ORPort 9004 # listening for cell-speaking connections
-APPort 9024 # listening for socks-speaking connections
+SocksPort 9024 # listening for socks-speaking connections
 #DirPort 0
 #DirPort 0
 
 
 # Leave this set, or we'll be treated like a client.
 # Leave this set, or we'll be treated like a client.

+ 1 - 1
src/config/torrc.in

@@ -8,5 +8,5 @@ RouterFile @CONFDIR@/dirservers
 # Ports for various services. Comment out if you're not running that
 # Ports for various services. Comment out if you're not running that
 # service.
 # service.
 #ORPort 9001
 #ORPort 9001
-APPort 9050
+SocksPort 9050