tor/doc
David Goulet cd2121a126
client: Revert setting PreferIPv6 on by default
This change broke torsocks that by default is expecting an IPv4 for hostname
resolution because it can't ask tor for a specific IP version with the SOCKS5
extension.

PreferIPv6 made it that sometimes the IPv6 could be returned to torsocks that
was expecting an IPv4.

Torsocks is probably a very unique case because the runtime flow is that it
hijacks DNS resolution (ex: getaddrinfo()), gets an IP and then sends it back
for the connect() to happen.

The libc has DNS resolution functions that allows the caller to request a
specific INET family but torsocks can't tell tor to resolve the hostname only
to an IPv4 or IPv6 and thus by default fallsback to IPv4.

Reverting this change into 0.4.3.x series but we'll keep it in the 0.4.4.x
series in the hope that we add this SOCKS5 extension to tor for DNS resolution
and then change torsocks to use that.

Fixes #33804

Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-04-09 11:05:32 +10:00
..
contrib Fedora Core->Fedora; yum->dnf. 2016-03-11 09:13:33 -05:00
HACKING go in to fix one typo, end up fixing more 2020-02-03 23:21:58 -05:00
asciidoc-helper.sh Fix SC2086 warnings in asciidoc-helper.sh 2019-03-27 19:27:57 +02:00
building-tor-msvc.txt Updated building-tor-msvc.txt 2014-09-09 10:33:45 -04:00
include.am Doxygen: provide a style sheet 2019-11-05 13:50:01 -05:00
state-contents.txt Explain TransportProxy within doc/state-contents.txt. 2012-03-31 14:33:11 +02:00
tor-doxygen.css Doxygen: provide a style sheet 2019-11-05 13:50:01 -05:00
tor-gencert.1.txt tor-gencert.1: fix --passphrase-fd description 2016-06-25 16:48:42 +02:00
tor-print-ed-signing-cert.1.txt Make tor-print-ed-signing-cert output RFC1123 and unix timestamps as well 2019-07-10 11:36:26 +03:00
tor-resolve.1.txt Fix reference to socks-extensions.txt in tor-resolve manpage 2018-09-25 12:39:27 +03:00
tor.1.txt client: Revert setting PreferIPv6 on by default 2020-04-09 11:05:32 +10:00
torify.1.txt take some of the suggestions from cypherpunks on #6892 2017-05-30 14:17:49 -04:00
torrc_format.txt Fix torrc-format documentation corner cases 2017-09-12 16:32:56 -04:00
TUNING Updating OpenBSD section of doc/TUNING. 2015-02-01 19:52:54 +02:00