mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
reasonably permissive exit policy if you don't set one
svn:r901
This commit is contained in:
parent
865173d7a1
commit
41bb717241
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user