diff options
author | Roger Dingledine <arma@torproject.org> | 2004-02-18 03:56:12 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-02-18 03:56:12 +0000 |
commit | 7562a62ef098900858c8b71dbaf955a52963367a (patch) | |
tree | 5df3a4b4d0d7349e32868a8deb7c4a4045ee1823 /src/config | |
parent | c9d9b9b2a78fddcad5998ef46ad79d86658c3191 (diff) | |
download | tor-7562a62ef098900858c8b71dbaf955a52963367a.tar.gz tor-7562a62ef098900858c8b71dbaf955a52963367a.zip |
Get rid of the notion of a separate default default exit policy.
Create ExitPolicyPrepend config parameter, to customize the default
exit policy.
svn:r1103
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/torrc.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/config/torrc.in b/src/config/torrc.in index 35077af7a2..183b091b80 100644 --- a/src/config/torrc.in +++ b/src/config/torrc.in @@ -19,7 +19,13 @@ SocksBindAddress 127.0.0.1 # accept connections only from localhost #ORPort 9001 # where to listen for cell-speaking connections #ORBindAddress 0.0.0.0 # accept connections from anywhere -## A comma-separated list of exit policies. They're considered in -## order, first match wins. -#ExitPolicy reject 0.0.0.0/8,reject 169.254.0.0/16,reject 127.0.0.0/8,reject 192.168.0.0/16,reject 10.0.0.0/8,reject 172.16.0.0/12,accept *:20-22,accept *:53,accept *:79-80,accept *:110,accept *:143,accept *:443,accept *:873,accept *:1024-65535,reject *:* +## A comma-separated list of exit policies. Define this if you +## want to *augment* the default exit policy. +## These entries are considered before the default exit policy. +#ExitPolicyPrepend accept 18.244.0.188:25 + +## A comma-separated list of exit policies. Define this if you +## want to *replace* the default exit policy. +## They're considered in order, first match wins. +#ExitPolicy reject *:* |