소스 검색

APPort is now SocksPort

svn:r644
Roger Dingledine 20 년 전
부모
커밋
0e137e413f
7개의 변경된 파일5개의 추가작업 그리고 9개의 파일을 삭제
  1. 1 2
      doc/FAQ
  2. 2 2
      doc/tor-spec.txt
  3. 0 1
      src/config/moria1-orrc
  4. 0 1
      src/config/moria2-orrc
  5. 0 1
      src/config/moria3-orrc
  6. 1 1
      src/config/sample-server-torrc.in
  7. 1 1
      src/config/torrc.in

+ 1 - 2
doc/FAQ

@@ -48,9 +48,8 @@ for you.]
 
 The same executable ("or") functions as both client and server, depending
 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.
-* OPPort: onion proxies (client 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
   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.)
 
 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
 Onion-key ::= "onion-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
 
 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
 bandwidth ::= maximum bandwidth, in bytes/s
 

+ 0 - 1
src/config/moria1-orrc

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

+ 0 - 1
src/config/moria2-orrc

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

+ 0 - 1
src/config/moria3-orrc

@@ -3,7 +3,6 @@ DataDirectory moria3
 Nickname moria3
 
 ORPort 9003
-APPort 9023
 DirPort 9033
 
 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
 # offering that service.
 ORPort 9004 # listening for cell-speaking connections
-APPort 9024 # listening for socks-speaking connections
+SocksPort 9024 # listening for socks-speaking connections
 #DirPort 0
 
 # 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
 # service.
 #ORPort 9001
-APPort 9050
+SocksPort 9050