]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add some more documentation
authorArturo Filastò <art@torproject.org>
Thu, 24 Nov 2011 09:28:38 +0000 (10:28 +0100)
committerNick Mathewson <nickm@torproject.org>
Wed, 30 Nov 2011 19:54:15 +0000 (14:54 -0500)
doc/tor.1.txt
src/or/config.c

index 22c8e88062ca1d6a8944e92f45d1d887c8ec619e..c73b8d326e0124be92d17a965477c9379253e742 100644 (file)
@@ -960,7 +960,10 @@ The following options are useful only for clients (that is, if
 **Tor2webMode** **0**|**1**::
     When this option is set, Tor connects to hidden services
     **non-anonymously**.  This option also disables client connections to
-    non-hidden-service hostnames through Tor.  (Default: 0)
+    non-hidden-service hostnames through Tor. It **must only** be used when
+    running a tor2web Hidden Service web proxy.
+    To enable this option the compile time flag --enable-tor2webmode must be
+    specified. (Default: 0)
 
 SERVER OPTIONS
 --------------
index 1dd5ed72c4ef0ae631ecbdc63bdb39f956960006..adfde8138abbd6343a984525945d230ad4b2b558 100644 (file)
@@ -1310,7 +1310,8 @@ options_act(const or_options_t *old_options)
   if (options->Tor2webMode) {
     log_err(LD_CONFIG, "This copy of Tor was not compiled to run in "
             "'tor2web mode'. It cannot be run with the Tor2webMode torrc "
-            "option enabled.");
+            "option enabled. To enable Tor2webMode recompile with the "
+            "--enable-tor2webmode option.");
     return -1;
   }
 #endif