[or-cvs] move default exit policy into config files

Roger Dingledine arma at seul.org
Wed Oct 22 07:56:14 UTC 2003


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

Modified Files:
	moria1-orrc moria2-orrc moria3-orrc sample-server-torrc.in 
Log Message:
move default exit policy into config files


Index: moria1-orrc
===================================================================
RCS file: /home/or/cvsroot/src/config/moria1-orrc,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- moria1-orrc	21 Oct 2003 09:49:20 -0000	1.15
+++ moria1-orrc	22 Oct 2003 07:56:11 -0000	1.16
@@ -10,3 +10,5 @@
 # List of routers
 RouterFile ../config/dirservers
 
+ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*
+

Index: moria2-orrc
===================================================================
RCS file: /home/or/cvsroot/src/config/moria2-orrc,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- moria2-orrc	21 Oct 2003 09:49:20 -0000	1.15
+++ moria2-orrc	22 Oct 2003 07:56:11 -0000	1.16
@@ -10,3 +10,5 @@
 # List of routers
 RouterFile ../config/dirservers
 
+ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*
+

Index: moria3-orrc
===================================================================
RCS file: /home/or/cvsroot/src/config/moria3-orrc,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- moria3-orrc	21 Oct 2003 09:49:20 -0000	1.15
+++ moria3-orrc	22 Oct 2003 07:56:11 -0000	1.16
@@ -10,3 +10,5 @@
 # List of routers
 RouterFile ../config/dirservers
 
+ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*
+

Index: sample-server-torrc.in
===================================================================
RCS file: /home/or/cvsroot/src/config/sample-server-torrc.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- sample-server-torrc.in	21 Oct 2003 09:49:20 -0000	1.4
+++ sample-server-torrc.in	22 Oct 2003 07:56:11 -0000	1.5
@@ -3,20 +3,24 @@
 # The directory for keeping all the config/data for this node
 DataDirectory @LOCALSTATEDIR@/lib/tor
 # A unique handle for this node
-Nickname moria4
+Nickname moria
 # The fqdn for this node
 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
-SocksPort 9024 # listening for socks-speaking connections
+ORPort 9001 # listening for cell-speaking connections
+SocksPort 9050 # listening for socks-speaking connections
 #DirPort 0
 
-# Leave this set, or we'll be treated like a client.
-OnionRouter 1
-
 # List of routers. Tor nodes start out knowing about the directory
 # servers, and from them they get a list of currently up nodes.
 RouterFile @CONFDIR@/dirservers
+
+# A comma-separated list of exit policies. They're considered in
+# order, first match wins.
+ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*
+
+# Leave this set, or we'll be treated like a client.
+OnionRouter 1
 



More information about the tor-commits mailing list