diff options
author | Roger Dingledine <arma@torproject.org> | 2003-12-13 02:52:54 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-12-13 02:52:54 +0000 |
commit | 865173d7a126c242f2c2120e0fe95a675d171998 (patch) | |
tree | e5c909f3ce9d783b0131210cab2e1690b95e4cdf /src/config | |
parent | f37f7daa2f0aa3bc981ec3147e171281370f5741 (diff) | |
download | tor-865173d7a126c242f2c2120e0fe95a675d171998.tar.gz tor-865173d7a126c242f2c2120e0fe95a675d171998.zip |
put the default exit policy in place
svn:r900
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/moria1-orrc | 2 | ||||
-rw-r--r-- | src/config/moria2-orrc | 2 | ||||
-rw-r--r-- | src/config/moria3-orrc | 2 | ||||
-rw-r--r-- | src/config/torrc.in | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/config/moria1-orrc b/src/config/moria1-orrc index 5504aae92d..f20f5f4e69 100644 --- a/src/config/moria1-orrc +++ b/src/config/moria1-orrc @@ -8,5 +8,5 @@ DirPort 9031 # List of routers RouterFile ../config/dirservers -ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:* +ExitPolicy 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 *:* diff --git a/src/config/moria2-orrc b/src/config/moria2-orrc index 2d8303efbe..be53688007 100644 --- a/src/config/moria2-orrc +++ b/src/config/moria2-orrc @@ -8,5 +8,5 @@ DirPort 9032 # List of routers RouterFile ../config/dirservers -ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:* +ExitPolicy 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 *:* diff --git a/src/config/moria3-orrc b/src/config/moria3-orrc index da4ed37167..b80fe2f23a 100644 --- a/src/config/moria3-orrc +++ b/src/config/moria3-orrc @@ -8,5 +8,5 @@ DirPort 9033 # List of routers RouterFile ../config/dirservers -ExitPolicy reject 127.0.0.1:*,reject 18.244.0.188:25,accept *:* +ExitPolicy 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 *:* diff --git a/src/config/torrc.in b/src/config/torrc.in index f3b63efa0a..4409f1c3fd 100644 --- a/src/config/torrc.in +++ b/src/config/torrc.in @@ -21,5 +21,5 @@ SocksBindAddress 127.0.0.1 # accept connections only from localhost ## A comma-separated list of exit policies. They're considered in ## order, first match wins. -#ExitPolicy reject 127.0.0.1:*,accept *:* +#ExitPolicy 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 *:* |