From 6cf09a5dc00e6bec528565075be5924c86d9486c Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 17 Aug 2004 11:42:22 +0000 Subject: people with no torrc allow unverified middle/rendezvous nodes by default svn:r2259 --- src/or/config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 *:*"); -- cgit v1.2.3