From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WG0WAYECLWAyEQAA0tVLHw (envelope-from ) for ; Wed, 17 Feb 2021 11:48:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ME5sOIACLWCMGwAAbx9fmQ (envelope-from ) for ; Wed, 17 Feb 2021 11:48:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5CBD4274E0 for ; Wed, 17 Feb 2021 12:48:16 +0100 (CET) Received: from localhost ([::1]:45728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCLJW-0000W1-H1 for larch@yhetil.org; Wed, 17 Feb 2021 06:48:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCLJK-0000Vn-Gh for bug-guix@gnu.org; Wed, 17 Feb 2021 06:48:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCLJK-000841-8u for bug-guix@gnu.org; Wed, 17 Feb 2021 06:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lCLJK-0005O7-7d for bug-guix@gnu.org; Wed, 17 Feb 2021 06:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46481: Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Feb 2021 11:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46481 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46481@debbugs.gnu.org X-Debbugs-Original-To: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Debbugs-Original-Cc: =?UTF-8?Q?L=C3=A9o?= Le Bouter , Tobias Geerinckx-Rice , 46481@debbugs.gnu.org Received: via spool by 46481-submit@debbugs.gnu.org id=B46481.161356243120632 (code B ref 46481); Wed, 17 Feb 2021 11:48:02 +0000 Received: (at 46481) by debbugs.gnu.org; 17 Feb 2021 11:47:11 +0000 Received: from localhost ([127.0.0.1]:42747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCLIV-0005Mi-7c for submit@debbugs.gnu.org; Wed, 17 Feb 2021 06:47:11 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:36824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCLIS-0005MY-PJ for 46481@debbugs.gnu.org; Wed, 17 Feb 2021 06:47:09 -0500 Received: from localhost (80-110-127-104.cgn.dynamic.surfer.at [80.110.127.104]) by dd26836.kasserver.com (Postfix) with ESMTPSA id AAA163362646; Wed, 17 Feb 2021 12:47:06 +0100 (CET) Date: Wed, 17 Feb 2021 12:47:02 +0100 From: Danny Milosavljevic Message-ID: <20210217124702.1e038a96@scratchpost.org> In-Reply-To: <87r1lf578r.fsf@nckx> References: <20210213033522.0196ffcf@scratchpost.org> <1cd8fa69fdfd4a90fcf38603e0421d0ba1b472a9.camel@zaclys.net> <87r1lf578r.fsf@nckx> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/_40EplMRwthcubaHua_DQn3"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lle-bout@zaclys.net Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 5CBD4274E0 X-Spam-Score: -3.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: z3PQWRQMbmUE --Sig_/_40EplMRwthcubaHua_DQn3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On Wed, 17 Feb 2021 11:16:52 +0100 Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote: > L=C3=A9o Le Bouter via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC= =9A > > Should we explicitly check if we are over an IPv6 connection=20 > > instead? That sounds very magical. I mean we can do it as a last resort, I guess. EPSV is supposed to work with both IPv4 and IPv6. > > Is that possible? =20 >=20 > My FTP knowledge is about two decades out of date: does an IPv6=20 > server (de facto) have to support EPSV? >=20 > The =E2=80=98right=E2=80=99 way would be to send the FEAT command, and ch= eck=20 > whether the server actually supports EPSV. A bit more=20 > heavy-weight than your heuristic. Good idea for a workaround, but your suggestion doesn't work with ftp.gnupg.org: CWD libgcrypt 250-This is the stable version of Libgcrypt.=20 250-For devlopment versions see ../alpha/libgcrypt/. 250 Directory change successful. FEAT 500 Syntax error, command unrecognized. HELP 502 Command not implemented. But this works: USER anonymous 331 Send e-mail address as password. PASS a@example.com 230 User logged in, proceed. EPSV 229 Entering Extended Passive Mode (|||41682|) And this works: 220 Service ready for new user. USER anonymous 331 Send e-mail address as password. PASS a@example.com 230 User logged in, proceed. CWD / 250 Directory change successful. EPSV 229 Entering Extended Passive Mode (|||40666|) And this works: 220 Service ready for new user. USER anonymous 331 Send e-mail address as password. PASS a@example.com 230 User logged in, proceed. CWD / 250 Directory change successful. CWD gcrypt [...] 250 Directory change successful. EPSV 229 Entering Extended Passive Mode (|||41707|) AND this works: 220 Service ready for new user. USER anonymous 331 Send e-mail address as password. PASS a@example.com 230 User logged in, proceed. CWD / 250 Directory change successful. CWD gcrypt [...] 250 Directory change successful. EPSV 229 Entering Extended Passive Mode (|||41358|) CWD libgcrypt 250-This is the stable version of Libgcrypt.=20 250-For devlopment versions see ../alpha/libgcrypt/. 250 Directory change successful. EPSV 229 Entering Extended Passive Mode (|||41308|) But this does not work: 220 Service ready for new user. USER anonymous 331 Send e-mail address as password. PASS a@example.com 230 User logged in, proceed. CWD / 250 Directory change successful. CWD gcrypt [...] 250 Directory change successful. CWD libgcrypt 250-This is the stable version of Libgcrypt.=20 250-For devlopment versions see ../alpha/libgcrypt/. 250 Directory change successful. EPSV Looks like a straightforward server bug to me. >250-Please contact ftpmaster@gnupg.org it you have any problems with Please contact ftpmaster@gnupg.org ! I would not suggest to complicate perfectly valid client code just because = the server does weird stuff--especially when those servers are GNU project serv= ers anyway. We can just talk to the server maintainers instead. --Sig_/_40EplMRwthcubaHua_DQn3 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmAtAjYACgkQ5xo1VCww uqXthwf/crbdWVA5R9dRcz5pSCraa4OHp21JwVXWoEw32ZuMm5liyKrjYPVtSsdy QzLjPJJK0MAHwAdQOmEiLJTOJjXnXxmqr2jlKvihanrDhWJvBUSukBmLrVikUrvY 2RGtOcbtlxE7WMsrfYkKqZ9r7cP4GwVSQkyasHGkegCSCo1ekB3mvGkbwPndQ2Z6 Ak4GKpnBs0nbqfWp7/eNfSvRI7qDrUdfDxyEtTgkPzvXNWSHWiO14H+1kZZ1Xgc3 jOrZQ39HmjQ9uQZKzQ1m7pZMlw0RKbVYKSl8PQdIlF/+3xqa+VXQ/C7jZv+0qT0I ZThg2H9r4dYXQ0abERJeaJocjlB2NQ== =wR3G -----END PGP SIGNATURE----- --Sig_/_40EplMRwthcubaHua_DQn3--