[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] people with no torrc allow unverified middle/rendezvous nod...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] people with no torrc allow unverified middle/rendezvous nod...
- From: arma@seul.org (Roger Dingledine)
- Date: Tue, 17 Aug 2004 07:42:24 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 17 Aug 2004 07:42:41 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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 *:*");