summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-09-10 18:54:21 +0000
committerNick Mathewson <nickm@torproject.org>2004-09-10 18:54:21 +0000
commit8ab26650ee5ae26230a10eb35a7c686875bb419a (patch)
treeb6e77ec5d5b4873e9d78cc4c2607fabcbb24bd67
parent45fb420c96b7cd26b46c2f9c8462a41ba5bacdc2 (diff)
downloadtor-8ab26650ee5ae26230a10eb35a7c686875bb419a.tar.gz
tor-8ab26650ee5ae26230a10eb35a7c686875bb419a.zip
Fix documentation about how not to be an OP
svn:r2342
-rw-r--r--doc/tor.1.in4
-rw-r--r--src/config/torrc.sample.in2
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/tor.1.in b/doc/tor.1.in
index 91dc6dc664..df338c2264 100644
--- a/doc/tor.1.in
+++ b/doc/tor.1.in
@@ -128,7 +128,9 @@ A list of preferred nodes to use for the rendezvous point, if possible.
A list of nodes to never use when choosing a rendezvous point.
.TP
\fBsocksport \fR\fIPORT\fP
-Bind to this port to listen for connections from socks-speaking applications.
+Bind to this port to listen for connections from SOCKS-speaking applications.
+Set this to 0 if you don't want to allow application connections. (Default:
+9050)
.TP
\fBsocksbindaddress \fR\fIIP\fP
Bind to this address to listen for connections from socks-speaking applications. (Default: 127.0.0.1) You can also specify a port (e.g. 192.168.0.1:9100). This directive can be specified multiple times to bind to multiple addresses/ports.
diff --git a/src/config/torrc.sample.in b/src/config/torrc.sample.in
index e43c512b45..9156f979db 100644
--- a/src/config/torrc.sample.in
+++ b/src/config/torrc.sample.in
@@ -4,7 +4,7 @@
# servers, and from them they get a list of currently up nodes.
RouterFile @CONFDIR@/dirservers
-# Comment out if you don't want to allow applications to connect.
+# Replace this with "SocksPort 0" if you don't want clients to connect.
SocksPort 9050
SocksBindAddress 127.0.0.1 # accept connections only from localhost
#SocksBindAddress 192.168.0.1:9100 # listen on a chosen IP/port