[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] people with no torrc allow unverified middle/rendezvous nod...



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	config.c 
Log Message:
people with no torrc allow unverified middle/rendezvous nodes by default


Index: config.c
===================================================================
RCS file: /home/or/cvsroot/src/or/config.c,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- config.c	17 Aug 2004 07:33:06 -0000	1.139
+++ config.c	17 Aug 2004 11:42:22 -0000	1.140
@@ -439,6 +439,10 @@
   /* 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 *:*");