summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArturo Filastò <art@torproject.org>2011-11-24 10:28:38 +0100
committerNick Mathewson <nickm@torproject.org>2011-11-30 14:54:15 -0500
commitdb648fe886fd8ae4f42bb13d0219ca7fa690bdc1 (patch)
tree2e945283221b8ea4078d77510d26fea1bba2caff
parent6db69d9d612462489600df641b91e6ae49dfd382 (diff)
downloadtor-db648fe886fd8ae4f42bb13d0219ca7fa690bdc1.tar.gz
tor-db648fe886fd8ae4f42bb13d0219ca7fa690bdc1.zip
Add some more documentation
-rw-r--r--doc/tor.1.txt5
-rw-r--r--src/or/config.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 22c8e88062..c73b8d326e 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -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
--------------
diff --git a/src/or/config.c b/src/or/config.c
index 1dd5ed72c4..adfde8138a 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -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