[or-cvs] r11146: clean up the cookieauth stuff (in tor/trunk: doc src/or)

arma at seul.org arma at seul.org
Thu Aug 16 19:27:31 UTC 2007


Author: arma
Date: 2007-08-16 15:27:31 -0400 (Thu, 16 Aug 2007)
New Revision: 11146

Modified:
   tor/trunk/doc/tor.1.in
   tor/trunk/src/or/config.c
Log:
clean up the cookieauth stuff


Modified: tor/trunk/doc/tor.1.in
===================================================================
--- tor/trunk/doc/tor.1.in	2007-08-16 19:16:12 UTC (rev 11145)
+++ tor/trunk/doc/tor.1.in	2007-08-16 19:27:31 UTC (rev 11146)
@@ -166,7 +166,7 @@
 If this option is set to 1, don't allow any connections on the control port
 except when the connecting process knows the contents of a file named
 "control_auth_cookie", which Tor will create in its data directory.  This
-authentication methods should only be used on systems with good filesystem
+authentication method should only be used on systems with good filesystem
 security. (Default: 0)
 .LP
 .TP
@@ -1181,7 +1181,10 @@
 .LP
 .TP
 .B \fIDataDirectory\fP/control_auth_cookie
-Used for cookie authentication with the controller. Regenerated on startup.  See control-spec.txt for details.  Only used when cookie authentication is enabled.
+Used for cookie authentication with the controller. Location can be
+overridden by the CookieAuthFile config option. Regenerated on startup.
+See control-spec.txt for details.  Only used when cookie authentication
+is enabled.
 .LP
 .TP
 .B \fIDataDirectory\fP/keys/*

Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2007-08-16 19:16:12 UTC (rev 11145)
+++ tor/trunk/src/or/config.c	2007-08-16 19:27:31 UTC (rev 11146)
@@ -152,9 +152,8 @@
   VAR("ControlPort",         UINT,     ControlPort,          "0"),
   VAR("ControlSocket",       LINELIST, ControlSocket,        NULL),
   VAR("CookieAuthentication",BOOL,     CookieAuthentication, "0"),
-  VAR("CookieAuthFileGroupReadable",BOOL,  CookieAuthFileGroupReadable, "0"),
+  VAR("CookieAuthFileGroupReadable",BOOL,CookieAuthFileGroupReadable, "0"),
   VAR("CookieAuthFile",      STRING,   CookieAuthFile,       "0"),
-  VAR("CookieAuthentication",BOOL,     CookieAuthentication, "0"),
   VAR("DataDirectory",       STRING,   DataDirectory,        NULL),
   OBSOLETE("DebugLogFile"),
   VAR("DirAllowPrivateAddresses",BOOL, DirAllowPrivateAddresses, NULL),



More information about the tor-commits mailing list