mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
people with no torrc allow unverified middle/rendezvous nodes by default
svn:r2259
This commit is contained in:
@@ -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 *:*");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user