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

[or-cvs] r11237: Stop putting the authentication cookie in a file called "0" (in tor/trunk: . src/or)



Author: arma
Date: 2007-08-20 23:11:56 -0400 (Mon, 20 Aug 2007)
New Revision: 11237

Modified:
   tor/trunk/ChangeLog
   tor/trunk/src/or/config.c
Log:
Stop putting the authentication cookie in a file called "0"
in your working directory if you don't specify anything for the
new CookieAuthFile option. Reported by Matt Edman.


Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2007-08-20 22:40:09 UTC (rev 11236)
+++ tor/trunk/ChangeLog	2007-08-21 03:11:56 UTC (rev 11237)
@@ -15,11 +15,16 @@
     - Let directory authorities startup even when they can't generate
       a descriptor immediately, e.g. because they don't know their
       address.
+    - Stop putting the authentication cookie in a file called "0"
+      in your working directory if you don't specify anything for the
+      new CookieAuthFile option. Reported by Matt Edman.
+
   o Minor features (misc):
     - Optionally (if built with -DEXPORTMALLINFO) export the output
       of mallinfo via http, as tor/mallinfo.txt.  Only accessible
       from localhost.
 
+
 Changes in version 0.2.0.5-alpha - 2007-08-19
   o Removed features:
     - Version 1 directories are no longer generated in full. Instead,

Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2007-08-20 22:40:09 UTC (rev 11236)
+++ tor/trunk/src/or/config.c	2007-08-21 03:11:56 UTC (rev 11237)
@@ -153,7 +153,7 @@
   VAR("ControlSocket",       LINELIST, ControlSocket,        NULL),
   VAR("CookieAuthentication",BOOL,     CookieAuthentication, "0"),
   VAR("CookieAuthFileGroupReadable",BOOL,CookieAuthFileGroupReadable, "0"),
-  VAR("CookieAuthFile",      STRING,   CookieAuthFile,       "0"),
+  VAR("CookieAuthFile",      STRING,   CookieAuthFile,       NULL),
   VAR("DataDirectory",       STRING,   DataDirectory,        NULL),
   OBSOLETE("DebugLogFile"),
   VAR("DirAllowPrivateAddresses",BOOL, DirAllowPrivateAddresses, NULL),