[or-cvs] clean up and slightly document the config files

Roger Dingledine arma at seul.org
Sun Mar 16 04:40:19 UTC 2003


Update of /home/or/cvsroot/src/config
In directory moria.mit.edu:/home/arma/work/onion/cvs/src/config

Modified Files:
	dirservers moria1-orrc moria2-orrc moria3-orrc oprc routers.or 
	ts4-orrc 
Added Files:
	sample-orrc 
Log Message:
clean up and slightly document the config files


--- NEW FILE: sample-orrc ---
# Configuration file for a typical tor node

# A file containing this node's private key
PrivateKeyFile moria4-private

# Ports for various services. Comment out or set to 0 if you're not
# offering that service.
ORPort 9004
OPPort 9014
APPort 9024
#DirPort 0

# *** NO NEED TO EDIT BELOW THIS LINE ***

# List of routers. Tor nodes only know about the directory servers
# at the beginning, and from them they get a list of currently up nodes.
RouterFile ../config/dirservers

# Should paths tend to be very long (CoinWeight close to 1) or
# quite short (CoinWeight close to 0)?
CoinWeight 0.1

# Maximum number of sockets (of any sort) this node can have open
MaxConn 900


Index: dirservers
===================================================================
RCS file: /home/or/cvsroot/src/config/dirservers,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dirservers	18 Feb 2003 01:55:50 -0000	1.2
+++ dirservers	16 Mar 2003 04:40:16 -0000	1.3
@@ -1,7 +1,10 @@
 # List of directory servers.
 # Line format : address ORPort OPPort APPort DirPort bandwidth(bytes/s)
 # followed by the routers public key.
-# router-port is where the router is accepting connections from other routers.
+# ORport is where the router listens for other routers
+# 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
 
 # Router 1
 moria.mit.edu 9001 9011 9021 9031 1000000

Index: moria1-orrc
===================================================================
RCS file: /home/or/cvsroot/src/config/moria1-orrc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- moria1-orrc	18 Feb 2003 01:35:31 -0000	1.7
+++ moria1-orrc	16 Mar 2003 04:40:16 -0000	1.8
@@ -3,6 +3,7 @@
 # List of routers
 RouterFile ../config/routers.or
 
+# Be every role, including a directory server
 Role 63
 
 # Private key
@@ -18,6 +19,3 @@
 # Maximum number of connections.
 MaxConn 900
 
-# Which traffic shaping policy to use.
-# 
-TrafficShaping 1

Index: moria2-orrc
===================================================================
RCS file: /home/or/cvsroot/src/config/moria2-orrc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- moria2-orrc	18 Feb 2003 01:35:31 -0000	1.7
+++ moria2-orrc	16 Mar 2003 04:40:16 -0000	1.8
@@ -3,6 +3,7 @@
 # List of routers
 RouterFile ../config/routers.or
 
+# Be every role, including a directory server
 Role 63
 
 # Private key
@@ -18,6 +19,3 @@
 # Maximum number of connections.
 MaxConn 900
 
-# Which traffic shaping policy to use.
-# 
-TrafficShaping 1

Index: moria3-orrc
===================================================================
RCS file: /home/or/cvsroot/src/config/moria3-orrc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- moria3-orrc	18 Feb 2003 01:35:31 -0000	1.7
+++ moria3-orrc	16 Mar 2003 04:40:16 -0000	1.8
@@ -3,6 +3,7 @@
 # List of routers
 RouterFile ../config/routers.or
 
+# Be every role, including a directory server
 Role 63
 
 # Private key
@@ -18,6 +19,3 @@
 # Maximum number of connections.
 MaxConn 900
 
-# Which traffic shaping policy to use.
-# 
-TrafficShaping 1

Index: oprc
===================================================================
RCS file: /home/or/cvsroot/src/config/oprc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- oprc	18 Feb 2003 01:35:31 -0000	1.4
+++ oprc	16 Mar 2003 04:40:16 -0000	1.5
@@ -1,22 +1,27 @@
-# Configuration file for or
+# Configuration file for a typical or client
+# (listen for applications only)
 
-# List of routers
+# List of routers. Tor nodes only know about the directory servers
+# at the beginning, and from them they get a list of currently up nodes.
 RouterFile ../config/dirservers
 
-# Private key
-#PrivateKeyFile moria1-private
+# A file containing this node's private key, if applicable
+# (No need to specify one, since we're just a client)
+#PrivateKeyFile foo
 
+# Should paths tend to be very long (CoinWeight close to 1) or
+# quite short (CoinWeight close to 0)?
 CoinWeight 0.01
 
+# Ports for various services. Comment out if you're not running that
+# service.
 #ORPort 9001
 #OPPort 9011
 APPort 9050
 
-# Maximum number of connections.
+# Maximum number of sockets (of any sort) this node can have open
 MaxConn 900
 
+# Be a client: listen only for AP (socks) connections.
 Role 8
-# Which traffic shaping policy to use.
-# 
-#TrafficShaping 1
 

Index: routers.or
===================================================================
RCS file: /home/or/cvsroot/src/config/routers.or,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- routers.or	18 Feb 2003 01:55:50 -0000	1.11
+++ routers.or	16 Mar 2003 04:40:16 -0000	1.12
@@ -1,7 +1,10 @@
 # List of core onion routers in the network.
-# Line format : router-address router-port bandwidth(bytes/s) bandwidth(bytes/s)
+# Line format : address ORPort OPPort APPort DirPort bandwidth(bytes/s)
 # followed by the routers public key.
-# router-port is where the router is accepting connections from other routers.
+# ORport is where the router listens for other routers
+# 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
 
 # Router 1
 moria.mit.edu 9001 9011 9021 9031 1000000

Index: ts4-orrc
===================================================================
RCS file: /home/or/cvsroot/src/config/ts4-orrc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ts4-orrc	18 Feb 2003 01:35:31 -0000	1.2
+++ ts4-orrc	16 Mar 2003 04:40:16 -0000	1.3
@@ -15,7 +15,3 @@
 # Maximum number of connections.
 MaxConn 900
 
-# Which traffic shaping policy to use.
-# 
-TrafficShaping 1
-



More information about the tor-commits mailing list