Make default exit policy reject 127.*:*

svn:r902
This commit is contained in:
Nick Mathewson 2003-12-13 03:37:25 +00:00
parent 41bb717241
commit 911f155f94

View File

@ -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 *:25,accept *:*");
options->ExitPolicy = tor_strdup("reject *:25,reject 127.0.0.1/8:*,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");