From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127633 invoked by alias); 30 Aug 2018 15:07:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 127625 invoked by uid 89); 30 Aug 2018 15:07:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-99.5 required=5.0 tests=AWL,BAYES_40,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=30082018, 30.08.2018, EPERM, 9699919799 X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.130) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Aug 2018 15:07:29 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MWOFC-1gOenM12Mc-00XZR0 for ; Thu, 30 Aug 2018 17:07:26 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 7C085A8054C; Thu, 30 Aug 2018 17:07:25 +0200 (CEST) Date: Thu, 30 Aug 2018 23:41:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Cygwin Dirmngr and TBB for windows Message-ID: <20180830150725.GC6350@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <0d735703-6936-1b4a-74d0-f03692a8ddbd@mail.com> <6064620b-7ea1-0c46-d8f8-5de024909c69@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="64LDleNqNegJ4g97" Content-Disposition: inline In-Reply-To: <6064620b-7ea1-0c46-d8f8-5de024909c69@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SW-Source: 2018-08/txt/msg00386.txt.bz2 --64LDleNqNegJ4g97 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1869 On Aug 30 14:35, Marco Atzeri wrote: > Am 30.08.2018 um 11:30 schrieb john doe: > > On 7/11/2018 10:11 AM, john doe wrote: > > > Hi, > > >=20 > > > I'm trying to get Cygwin dirmngr to work with=C2=A0 Tor Browser for W= indows. > > >=20 > > > Following some discussion on the gnupg user list it looks like that > > > the connect(2) function in Cygwin does not return the proper error > > > code: > > >=20 > > > https://lists.gnupg.org/pipermail/gnupg-users/2018-July/060768.html > > >=20 > > > On the above link one of the dev suggest that connect(2) returns > > > EPERMS instead of ECONREFUSED. > > >=20 > > > If ECONREFUSED is not returned when port 9050 is queried the > > > fallback code in dirmngr will not be executed and port 9150 will > > > never be used. > > >=20 > > > Using dirmngr on Debian with TBBfor linux works as expected. > > >=20 > > > Can anyone confirm that and subcequently make Cygwin return the > > > proper error code? > > >=20 > > > Any help is appriciated. > > >=20 > >=20 > > As any one has been able to confirm that the issue is present in Cygwin > > code? > > I didn't see anything regarding this issue in the beta version of Cygwin > > or did I mist it? >=20 >=20 > a Simple Test Case will help to verify the claim. Full ACK. > connect is not expected to return EPERM > http://pubs.opengroup.org/onlinepubs/9699919799/functions/connect.html Cygwin does not explicitely generate EPERM anywhere near AF_INET/AF_INET6 code. Nor does a Winsock error exist which gets gonverted to EPERM. The *only* way to generate EPERM is if an underlying Winsock function=20 returns an error code not handled by Cygwin. I never encountered that case, though. Thus, a STC is highly appreciated. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --64LDleNqNegJ4g97 Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAluICC0ACgkQ9TYGna5E T6Bg7A/9EoxhcaouQN+CtepwybdG1mbpy6K5kn91WFbxAoDmd2+W/cDIbTRQFGMk 7+yE/cS3vJfXWxbX3gEfxKjtgoHNXn/57081rZXGJBhR9bnfROWBE4MD72IXjEFq qL4GgZ89J387rY/xL92eVisCcNZHn2OSI7b5FXiaK7eopX1dvj/XBFRlSEhctyrk v42/c0WmP+geG9zsippKhkaVSRvxCbjeaSo4OV4MyaW7DC7ltoTxiYkGQjlcD21D S6EiKMr+Z7B+xUzbPGgqsfXlsK43swgl7yVKhmNvNZSsHLGP62+9sSVstDLv6mIL iazgPy2k8wnyJpOSWTQsIJ2Uc9A3UypoGSv98sG6Jbp2UvbteamRMr6Jvr15EzWo 7ZwpSj1U+nbNG1K0DAsEKp4cjR7yZEVg1uJsDsgNQfMaZZgJEf9XDvQ2z3HnR2xx vYfCVEqlPXYkeOAdyq7rhazeTJvrARO+8udiKNob/8xLcwmwLwRazFC5mr+PCmNR 3uZYyZ0kFIvb8pUsoeTeLBNsL+kOatQXmpJvdB488J+GqhxfeCNB80Im4cCU6SPX MVJN7PVscKkBc+vdpaweI7qSAdrpeFIaf3J3DnbaShxVrgNBNruHtu88jSQIPQnr mMu27MELZ7drmdlAX1wv7CXra+4WH3cmXFBNz9Dyi0gQWdlKmFY= =KtPN -----END PGP SIGNATURE----- --64LDleNqNegJ4g97--