GNU bug report logs -
#24212
please add SOCKS support and enforced TCP to enable DNS resolution through Tor
Previous Next
Full log
View this message in rfc822 format
Werner Koch writes ("Re: bug#24212: please add SOCKS support and enforced TCP to enable DNS resolution through Tor"):
> On Fri, 12 Aug 2016 23:14, ijackson <at> chiark.greenend.org.uk said:
> > I have some concerns about the patch series, though. Will you be at
>
> Still? I revised it back then according to your requests.
After a conversation with Daniel, I now intend to make some changes
myself, based loosely on 59371e4c138fa9fde27352d4d35e3f321d41d4e4
(in gnupg/upstream-for-work).
Changes I intend to make are:
* In the configuration and initialisation code, replace the Tor
specific configuration knowledge with a resolv.conf option to use
any SOCKS server, called something like `socks_server' or
`adns_socks_server'. The value would be an IPv4/IPV6 literal, plus
port number; or, alternatively, a pathname (for use with AF_UNIX,
SOCK_STREAM).
My understanding is that whatever in Tor is using adns generates
its own private resolv.conf anyway; and there is no need for
general adns clients to be able to specify, as such, use of Tor.
(If /all/ adns clients on a host should use the Tor server via
SOCKS, then putting the socks configuration in the host-wide
resolv.conf would be appropriate.)
Does that make sense ?
* Drop the whitespace patch. Instead, include a patch to
.gitattributes to suppress git's moaning.
I don't have an easy way to test this code. If I send you a reference
to a git branch, would you be able to test it for me ?
Thanks,
Ian.
--
Ian Jackson <ijackson <at> chiark.greenend.org.uk> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.
This bug report was last modified 8 years and 285 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.