mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Set IPV6_V6ONLY on listener sockets bound to IPv6 addresses.
If we don't do this, [::] can be interpreted to mean all v4 and all v6 addresses. Found by dcf. Fixes bug 4760. See RFC 3493 section 5.3 for more info.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
o Minor bugfixes:
|
||||
- When binding to an IPv6 address, set the IPV6_V6ONLY socket
|
||||
option, so that the IP stack doesn't decide to use it for IPv4
|
||||
too. Fixes bug 4760; bugfix on 0.2.3.9-alpha.
|
||||
Reference in New Issue
Block a user