Commit 911f155f authored by Nick Mathewson's avatar Nick Mathewson 🐻
Browse files

Make default exit policy reject 127.*:*


svn:r902
parent 41bb7172
......@@ -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");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment