move default exit policy into config files

svn:r654
This commit is contained in:
Roger Dingledine 2003-10-22 07:56:11 +00:00
parent c6b442a346
commit c35fc271d2
4 changed files with 16 additions and 6 deletions

View File

@ -10,3 +10,5 @@ OnionRouter 1
# List of routers # List of routers
RouterFile ../config/dirservers RouterFile ../config/dirservers
ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*

View File

@ -10,3 +10,5 @@ OnionRouter 1
# List of routers # List of routers
RouterFile ../config/dirservers RouterFile ../config/dirservers
ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*

View File

@ -10,3 +10,5 @@ OnionRouter 1
# List of routers # List of routers
RouterFile ../config/dirservers RouterFile ../config/dirservers
ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:*

View File

@ -3,20 +3,24 @@
# The directory for keeping all the config/data for this node # The directory for keeping all the config/data for this node
DataDirectory @LOCALSTATEDIR@/lib/tor DataDirectory @LOCALSTATEDIR@/lib/tor
# A unique handle for this node # A unique handle for this node
Nickname moria4 Nickname moria
# The fqdn for this node # The fqdn for this node
Address moria.seul.org 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 9001 # listening for cell-speaking connections
SocksPort 9024 # listening for socks-speaking connections SocksPort 9050 # listening for socks-speaking connections
#DirPort 0 #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 # List of routers. Tor nodes start out knowing about the directory
# servers, and from them they get a list of currently up nodes. # servers, and from them they get a list of currently up nodes.
RouterFile @CONFDIR@/dirservers 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