mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
cd2121a126
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> |
||
---|---|---|
.. | ||
contrib | ||
HACKING | ||
asciidoc-helper.sh | ||
building-tor-msvc.txt | ||
include.am | ||
state-contents.txt | ||
tor-doxygen.css | ||
tor-gencert.1.txt | ||
tor-print-ed-signing-cert.1.txt | ||
tor-resolve.1.txt | ||
tor.1.txt | ||
torify.1.txt | ||
torrc_format.txt | ||
TUNING |