reasonably permissive exit policy if you don't set one

svn:r901
This commit is contained in:
Roger Dingledine 2003-12-13 02:53:35 +00:00
parent 865173d7a1
commit 41bb717241

View File

@ -252,7 +252,7 @@ void init_options(or_options_t *options) {
options->LogLevel = tor_strdup("warn"); options->LogLevel = tor_strdup("warn");
options->ExitNodes = tor_strdup(""); options->ExitNodes = tor_strdup("");
options->EntryNodes = 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->SocksBindAddress = tor_strdup("127.0.0.1");
options->ORBindAddress = tor_strdup("0.0.0.0"); options->ORBindAddress = tor_strdup("0.0.0.0");
options->DirBindAddress = tor_strdup("0.0.0.0"); options->DirBindAddress = tor_strdup("0.0.0.0");