dirmngr cygwin resolv.conf

john doe johndoe65534 at mail.com
Wed Jul 4 08:01:34 CEST 2018


On 7/4/2018 4:05 AM, NIIBE Yutaka wrote:
> Werner Koch <wk at gnupg.org> wrote:
>> ... on Windows.  Actually I developed the fallback on Windows becuase
>> there it is easier to install the Tor browser.  Anyway, Gniibe probably
>> found and fixed the problem in our DNS resolver.  I suggest to wait for
>> the next release - probably next week.
> 
> That's not for Cygwin on Windows, but for GNU/Linux.
> 
> In dirmngr, the DNS resolver using Tor assumes that it returns
> ECONNREFUSED when Tor doesn't run at 9050, then, it tries to the port
> 9150.
> 
> There was a bug of the DNS resolver.  When there are multiple
> "nameserver" in /etc/resolv.conf, it should try all.  It was fixed, but
> this fix had a side effect for ECONNREFUSED fallback mechanism for using
> Tor.  This was fixed on Monday.
> 
> 
> For the particular issue for Cygwin, it seems that connect(2) in Cygwin
> environment may return EPERM instead of ECONNREFUSED.  I suspect this.
> 

I'm willing to confirm that but I'm not sure how I would do that!?

-- 
John Doe



More information about the Gnupg-users mailing list