Revert "config: Make clients tell dual-stack exits they prefer IPv6"
commit66d5292ee6a173b21e5a54a669e8e584c6781e3a
authorDavid Goulet <dgoulet@torproject.org>
Tue, 7 Jul 2020 16:05:27 +0000 (7 12:05 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 7 Jul 2020 16:58:41 +0000 (7 12:58 -0400)
tree940c723a30a39bc61df4bdf4e4dce9141c9c4e3a
parentd4c79cae76536673184ffd4f6116bcd07fd0b1f5
Revert "config: Make clients tell dual-stack exits they prefer IPv6"

This reverts commit bf2a399fc0d90df76e091fa3259f7c1b8fb87781.

Don't set by default the prefer IPv6 feature on client ports because it breaks
the torsocks use case. The SOCKS resolve command is lacking a mechanism to ask
for a specific address family (v4 or v6) thus prioritizing IPv6 when an IPv4
address is asked on the resolve SOCKS interface resulting in a failure.

Tor Browser explicitly set PreferIPv6 so this should not affect the majority
of our users.

Closes #33796

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/ticket33796 [new file with mode: 0644]
doc/tor.1.txt
src/app/config/config.c
src/test/test_config.c