Commit 6cf09a5d authored by Roger Dingledine's avatar Roger Dingledine
Browse files

people with no torrc allow unverified middle/rendezvous nodes by default

parent 92a44fdd
......@@ -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");
options->ExitPolicy = config_line_prepend(NULL, "ExitPolicy", "reject *:*");
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