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

[or-cvs] Provide dire warnings to any users who set DirServer; move ...



Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv20969/src/or

Modified Files:
	config.c 
Log Message:
Provide dire warnings to any users who set DirServer; move it out of torrc.sample and into torrc.complete.

Index: config.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.423
retrieving revision 1.424
diff -u -d -r1.423 -r1.424
--- config.c	21 Sep 2005 00:41:06 -0000	1.423
+++ config.c	23 Sep 2005 20:44:22 -0000	1.424
@@ -2101,6 +2101,7 @@
   if (!options->DirServers) {
     add_default_trusted_dirservers(options);
   } else {
+    log_fn(LOG_WARN, "You have used DirServer to specify directory authorities in your configuration.  This is potentially dangerous: it can make you look different from all other Tor users, and hurt your anonymity.  Even if you've specified the same authorities as Tor uses by default, the defaults could change in the future.  Be sure you know what you're doing.");
     for (cl = options->DirServers; cl; cl = cl->next) {
       if (parse_dir_server_line(cl->value, 1)<0)
         result = -1;