]> git.ipfire.org Git - thirdparty/tor.git/commit
Set IPV6_V6ONLY on listener sockets bound to IPv6 addresses.
authorNick Mathewson <nickm@torproject.org>
Tue, 31 Jan 2012 21:09:49 +0000 (16:09 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 31 Jan 2012 21:09:49 +0000 (16:09 -0500)
commitdd68d596cdf68999c0cb4c0caf594d8580eaba40
tree4b90dfb5841d0c5ccce86705c546107e4187fade
parentd487d6f6d897c82f3bf741b73abca8a7a2b49d43
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.
changes/bug4760 [new file with mode: 0644]
src/or/connection.c