tor/changes/ticket40494
David Goulet 6e8e1a4e6f 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>
2021-11-03 09:51:46 -04:00

6 lines
270 B
Plaintext

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.