diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-12-13 03:37:25 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-12-13 03:37:25 +0000 |
commit | 911f155f94bfd0bbbd2c3720fbdabd580fca13f4 (patch) | |
tree | 9dab3c841f46e0bac92ddeabb2a711bd9a300589 /src/or/config.c | |
parent | 41bb7172412d31d1d2a2f5665fd633bc4fb36773 (diff) | |
download | tor-911f155f94bfd0bbbd2c3720fbdabd580fca13f4.tar.gz tor-911f155f94bfd0bbbd2c3720fbdabd580fca13f4.zip |
Make default exit policy reject 127.*:*
svn:r902
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 2ee6889620..a1e6296828 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 *: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"); |