diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-01-31 16:09:49 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-01-31 16:09:49 -0500 |
commit | dd68d596cdf68999c0cb4c0caf594d8580eaba40 (patch) | |
tree | 4b90dfb5841d0c5ccce86705c546107e4187fade /changes/bug4760 | |
parent | d487d6f6d897c82f3bf741b73abca8a7a2b49d43 (diff) | |
download | tor-dd68d596cdf68999c0cb4c0caf594d8580eaba40.tar tor-dd68d596cdf68999c0cb4c0caf594d8580eaba40.tar.gz |
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.
Diffstat (limited to 'changes/bug4760')
-rw-r--r-- | changes/bug4760 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug4760 b/changes/bug4760 new file mode 100644 index 000000000..ea8d16edb --- /dev/null +++ b/changes/bug4760 @@ -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. |