diff options
author | David Goulet <dgoulet@torproject.org> | 2021-11-02 09:34:03 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-11-03 09:51:46 -0400 |
commit | 6e8e1a4e6ff249afd32e7851989ba3d79df9d5b2 (patch) | |
tree | 92e0c56b0db8d61b70b198ca4ed66693ce38742b /changes | |
parent | 77f5bfa60e0030d6c26eb01ea5fb1a04e0b2d6bb (diff) | |
download | tor-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 'changes')
-rw-r--r-- | changes/ticket40494 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/ticket40494 b/changes/ticket40494 new file mode 100644 index 0000000000..a0e6c38443 --- /dev/null +++ b/changes/ticket40494 @@ -0,0 +1,5 @@ + o Minor bugfixes (relay): + - Reject IPv6-only DirPorts. Our reachability self-test forces DirPorts to + be IPv4, but our configuration parser allowed them to be IPv6-only, + which led to an assertion failure. Fixes bug 40494; bugfix on + 0.4.5.1-alpha. |