diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-17 11:42:22 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-17 11:42:22 +0000 |
commit | 6cf09a5dc00e6bec528565075be5924c86d9486c (patch) | |
tree | 165e363aef9760fcf74941deed77f412dd29a752 /src | |
parent | 92a44fddb1d12d59cecdb86df9380c62fb6bd305 (diff) | |
download | tor-6cf09a5dc00e6bec528565075be5924c86d9486c.tar tor-6cf09a5dc00e6bec528565075be5924c86d9486c.tar.gz |
people with no torrc allow unverified middle/rendezvous nodes by default
svn:r2259
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 3d1c89e2b..60f1a42c6 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -439,6 +439,10 @@ static int config_assign_defaults(or_options_t *options) { /* set them up as a client only */ options->SocksPort = 9050; + options->AllowUnverifiedNodes = smartlist_create(); + smartlist_add(options->AllowUnverifiedNodes, "middle"); + smartlist_add(options->AllowUnverifiedNodes, "rendezvous"); + config_free_lines(options->ExitPolicy); options->ExitPolicy = config_line_prepend(NULL, "ExitPolicy", "reject *:*"); |