From 8ab26650ee5ae26230a10eb35a7c686875bb419a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 10 Sep 2004 18:54:21 +0000 Subject: [PATCH] Fix documentation about how not to be an OP svn:r2342 --- doc/tor.1.in | 4 +++- src/config/torrc.sample.in | 2 +- 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