aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-11-02 09:34:03 -0400
committerDavid Goulet <dgoulet@torproject.org>2021-11-03 09:51:46 -0400
commit6e8e1a4e6ff249afd32e7851989ba3d79df9d5b2 (patch)
tree92e0c56b0db8d61b70b198ca4ed66693ce38742b /doc
parent77f5bfa60e0030d6c26eb01ea5fb1a04e0b2d6bb (diff)
downloadtor-6e8e1a4e6ff249afd32e7851989ba3d79df9d5b2.tar.gz
tor-6e8e1a4e6ff249afd32e7851989ba3d79df9d5b2.zip
relay: Don't allow DirPort on non-IPv4
Our code doesn't allow it and so this prevents an assert() crash if the DirPort is for instance IPv6 only. Fixes #40494 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/tor.1.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/man/tor.1.txt b/doc/man/tor.1.txt
index 209900832f..7c0071500e 100644
--- a/doc/man/tor.1.txt
+++ b/doc/man/tor.1.txt
@@ -2803,7 +2803,8 @@ details.)
more than once, but only one advertised DirPort is supported: all
but one DirPort must have the **NoAdvertise** flag set. (Default: 0) +
+
- The same flags are supported here as are supported by ORPort.
+ The same flags are supported here as are supported by ORPort. This port can
+ only be IPv4.
[[DirPortFrontPage]] **DirPortFrontPage** __FILENAME__::
When this option is set, it takes an HTML file and publishes it as "/" on