summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-06-05 20:54:53 +0000
committerNick Mathewson <nickm@torproject.org>2007-06-05 20:54:53 +0000
commit0a27f02b9c5082c6dffcdd2e1e324f4f516d9ab6 (patch)
tree331be7abbb30097726451c3ba3cb27079b26b7ab
parent210beff55a17643d54c0d7142d9662a97d8fd51d (diff)
downloadtor-0a27f02b9c5082c6dffcdd2e1e324f4f516d9ab6.tar.gz
tor-0a27f02b9c5082c6dffcdd2e1e324f4f516d9ab6.zip
r13267@catbus: nickm | 2007-06-05 16:54:20 -0400
Man page and small tweaks for last patch. svn:r10505
-rw-r--r--doc/tor.1.in5
-rw-r--r--src/or/or.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/tor.1.in b/doc/tor.1.in
index 6b068c467d..cf6a05a6ac 100644
--- a/doc/tor.1.in
+++ b/doc/tor.1.in
@@ -121,6 +121,11 @@ This directive can be specified multiple times to bind to multiple
addresses/ports.
.LP
.TP
+\fBControlSocket \fR\fIPath\fP
+Like ControlPort, but listens on a Unix domain socket, rather than a TCP
+socket. (Unix and Unix-like systems only.)
+.LP
+.TP
\fBHashedControlPassword \fR\fIhashed_password\fP
Don't allow any connections on the control port except when the other process
knows the password whose one-way hash is \fIhashed_password\fP. You can
diff --git a/src/or/or.h b/src/or/or.h
index a46b4440d0..6c073d6ee1 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1831,8 +1831,8 @@ typedef struct {
int TransPort;
int NatdPort; /**< Port to listen on for transparent natd connections. */
int ControlPort; /**< Port to listen on for control connections. */
- config_line_t * ControlSocket; /**< Unix Domain Socket to listen on
- * for control connections. */
+ config_line_t *ControlSocket; /**< List of Unix Domain Sockets to listen on
+ * for control connections. */
int DirPort; /**< Port to listen on for directory connections. */
int DNSPort; /**< Port to listen on for DNS requests. */
int AssumeReachable; /**< Whether to publish our descriptor regardless. */