]> git.ipfire.org Git - thirdparty/tor.git/commit
Make tor_ersatz_socketpair work on IPv6-only systems
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Thu, 19 Nov 2015 08:08:22 +0000 (19:08 +1100)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Thu, 19 Nov 2015 08:08:22 +0000 (19:08 +1100)
commit53ec840bdfa3dfa421b3cecd7a90a3cd5e39d15c
treeff4f2d78fcd675db1bd390e8fd2f3750c952077a
parent913fbf8f2f9eea36ccef6100608295d8c8ce449a
Make tor_ersatz_socketpair work on IPv6-only systems

(But it won't work on some systems without IPv4/IPv6 localhost
(some BSD jails) by design, to avoid creating sockets on routable
IP addresses. However, those systems likely have the AF_UNIX socketpair,
which tor prefers.)

Fixes bug #17638; bugfix on a very early tor version,
earlier than 22dba27d8dd5 (23 Nov 2004) / svn:r2943.

Patch by "teor".
changes/bug17638-ipv6-ersatz-socketpair [new file with mode: 0644]
src/common/compat.c
src/test/test_util.c