summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-12-13 02:53:35 +0000
committerRoger Dingledine <arma@torproject.org>2003-12-13 02:53:35 +0000
commit41bb7172412d31d1d2a2f5665fd633bc4fb36773 (patch)
tree212717f00fd115d31db33a2c1c97a3cdf8a9bc16 /src
parent865173d7a126c242f2c2120e0fe95a675d171998 (diff)
downloadtor-41bb7172412d31d1d2a2f5665fd633bc4fb36773.tar.gz
tor-41bb7172412d31d1d2a2f5665fd633bc4fb36773.zip
reasonably permissive exit policy if you don't set one
svn:r901
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index a5da0166b8..2ee6889620 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -252,7 +252,7 @@ void init_options(or_options_t *options) {
options->LogLevel = tor_strdup("warn");
options->ExitNodes = tor_strdup("");
options->EntryNodes = tor_strdup("");
- options->ExitPolicy = tor_strdup("reject 127.0.0.1:*");
+ options->ExitPolicy = tor_strdup("reject *:25,accept *:*");
options->SocksBindAddress = tor_strdup("127.0.0.1");
options->ORBindAddress = tor_strdup("0.0.0.0");
options->DirBindAddress = tor_strdup("0.0.0.0");