From unknown Sat Aug 09 13:21:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46481: "guix download" with ftp URL doesn't work on IPv6 network Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 13 Feb 2021 02:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46481 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46481@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.16131837703286 (code B ref -1); Sat, 13 Feb 2021 02:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2021 02:36:10 +0000 Received: from localhost ([127.0.0.1]:33285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAkn3-0000qv-Na for submit@debbugs.gnu.org; Fri, 12 Feb 2021 21:36:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:36250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAkmz-0000qk-3u for submit@debbugs.gnu.org; Fri, 12 Feb 2021 21:36:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAkmy-0002Jy-Sm for bug-guix@gnu.org; Fri, 12 Feb 2021 21:36:04 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:60554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAkmw-0001CI-UI for bug-guix@gnu.org; Fri, 12 Feb 2021 21:36:04 -0500 Received: from localhost (80-110-127-104.cgn.dynamic.surfer.at [80.110.127.104]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 567453363C3D for ; Sat, 13 Feb 2021 03:36:00 +0100 (CET) Date: Sat, 13 Feb 2021 03:35:57 +0100 From: Danny Milosavljevic Message-ID: <20210213033522.0196ffcf@scratchpost.org> 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_/jEwcOCcT3e=pLK3fZnPsKGE"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd26836.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --Sig_/jEwcOCcT3e=pLK3fZnPsKGE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I strongly suspect there to be some problem with the ftp client since that's the second file that doesn't work using guix download but does work using wget, on the same computer. $ guix download ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2 Starting download of /tmp/guix-file.tORPhj =46rom ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2... Throw to key `ftp-error' with args `(# "PASV" 425 = "You cannot use PASV on IPv6 connections. Use EPSV instead.\r")'. failed to download "/tmp/guix-file.tORPhj" from "ftp://ftp.denx.de/pub/u-bo= ot/u-boot-2021.01.tar.bz2" guix download: error: ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2: = download failed --Sig_/jEwcOCcT3e=pLK3fZnPsKGE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmAnOw0ACgkQ5xo1VCww uqW++gf/XAYNlmIyPqVcA8Gku+UlR8/QR0R1GAwESHTNyKrVxmQ7zyLKAyl9jzl5 J2eCw1udyT+j1erj+aAti3/IMtpPRb1iF696oBqooW/N+Jd7brOS6skDAqbPIR6t qNce1Dsnyi9eMQP1hf0fpUTOZbTNhIMAny/HSPqPokT4gS9G8eYTX3AI56VgDthE 6rT4yPPhLkJBgH4pUW6EDJi1JURNbnaBNw7BNMsV3ydi0oioph4PyYJ/AbYQFkHw OtleXvXvBkJWpH9mGHwhQisjb4YRG5SucRdDj/EmM7+FBhcy4Bev/ahTgw9OTA0e vTDzIAFZZXy0b7hWPx/pox+GzRaOTw== =7qum -----END PGP SIGNATURE----- --Sig_/jEwcOCcT3e=pLK3fZnPsKGE-- From unknown Sat Aug 09 13:21:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46481: "guix download" with ftp URL doesn't work on IPv6 network Resent-From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 14 Feb 2021 04:07: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: Danny Milosavljevic Cc: 46481@debbugs.gnu.org Received: via spool by 46481-submit@debbugs.gnu.org id=B46481.161327561026674 (code B ref 46481); Sun, 14 Feb 2021 04:07:02 +0000 Received: (at 46481) by debbugs.gnu.org; 14 Feb 2021 04:06:50 +0000 Received: from localhost ([127.0.0.1]:35348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lB8gM-0006wA-BK for submit@debbugs.gnu.org; Sat, 13 Feb 2021 23:06:50 -0500 Received: from mail-oln040092254035.outbound.protection.outlook.com ([40.92.254.35]:10984 helo=APC01-PU1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lB8gI-0006vv-P9 for 46481@debbugs.gnu.org; Sat, 13 Feb 2021 23:06:48 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mAfkMVpW+DryY6zJUrp2ZRvVRU84AQwe+WHKRMcEMvTMJNjPcTqxGZXC7ehqcgdsRVaqBWXiR6thE9X0moJ18F8ZYjEETxNDA4qmgLT3wRjosl/aYNjTbj+AmX8UobrK+4E+j3DDJXv0Qn61tuP0ANa8ggTTJCn4LzLi527Wd0P/CCU0t9h6aPMM5sx8BisvqkfUTguvBtlKKOQTx/4z7eDA4mleGOfPNLRtpmzhxgKIgPuTE5uSgtqF/ozbSl14UwC5C0GtsJdsTLDJQMW/3YzvkpGec9fu8Yo79ETTddbOjaCZxAfJ58p+ftfmhe+NLnsOhXbn+VwJS1X+sgeU3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LhHgWsWTR/h5fw7sg8a3i9hea4rpX4HGMgwfn5U3gnY=; b=H3Q2dp5N0v5qXPtUHNmwaxPf6zMBgT0Td6PozNl073+W/JCdTHWiL9x9wueu/dKmVmZ5CNQN11S8+otDvX9VCFdz1AufCO1FN34ffqXEVEjNmg7GQqruDH6B+nfdDp76bvdHfzR2Cb4neL2jUe6mijkDv6Yuow5+n07e7MPYiZj6hyKnn63MGhNwdUrP5PXsZpSH+qXUTMrVKVR2Y8l1IweXBv36QUUIJofxzjJ8V7fQ4C5t65xO9mFia44Lm50Hi2ApyG//0rKwgas74bNaq3k2JB/8bri/FIGjvQ9mWVa33b33Mw4DwSeug/eauZzzMBWHxIH/h5glsqQHBcUuBg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LhHgWsWTR/h5fw7sg8a3i9hea4rpX4HGMgwfn5U3gnY=; b=K4r5qfIDCUtx6pMxqNe0pRVSu5z6MRiW8sjLaubtvuOIlgheeM3pIpP7vYqAextVH0TxsmhMLzkqBFqYDaYippmGL4EoB8EmCyPmtJwqBRrssZ7Qv3xZNf+KVu1LfZUtyF4WqmOHIP6ZbizUlu7lI44gjB/VV+6EBho76ijXY3BW1ygommu3T7uqdxHBjQgKRN6RXUaoGgBj3dBtqW1JdWpxxwodlfQy+dwERAhHynS+3Eej53QNXmEAABd6JV2+OUzjIjT0VGuoxshanPV5DS+fLVh4/hmp3ZL9iocHgdlJXVaYKVkCUoXVWz5D1rovJ4XPLZBX5N0ZEuOWQob1sQ== Received: from SG2APC01FT030.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::52) by SG2APC01HT009.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.25; Sun, 14 Feb 2021 04:06:28 +0000 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (10.152.250.58) by SG2APC01FT030.mail.protection.outlook.com (10.152.250.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.25 via Frontend Transport; Sun, 14 Feb 2021 04:06:28 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:AA4E18A870D74A96F6C77D0B703D0EBDBB815E8EDB87F64A07B9B7F0D4B69043; UpperCasedChecksum:826C3044FF45FD18D39689F7042D69229496B0534BE6F66054C4CB29BBDF0E52; SizeAsReceived:7542; Count:46 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::4987:bbf2:2bff:6b22]) by OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::4987:bbf2:2bff:6b22%5]) with mapi id 15.20.3846.039; Sun, 14 Feb 2021 04:06:28 +0000 From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= References: <20210213033522.0196ffcf@scratchpost.org> Date: Sun, 14 Feb 2021 12:08:09 +0800 In-Reply-To: <20210213033522.0196ffcf@scratchpost.org> (Danny Milosavljevic's message of "Sat, 13 Feb 2021 03:35:57 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: multipart/mixed; boundary="=-=-=" X-TMN: [zkObiTjscdBDLa3+/hK8gkWo7Oypv0aWveh+N/tt5bbFTyk94OtVTE+S4Bhqlbkp] X-ClientProxiedBy: FRYP281CA0017.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10::27) To OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:ec::11) X-Microsoft-Original-Message-ID: <87eehjuw9i.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (2409:8a62:378:f4a0:2f1:f5ff:fe18:6bb) by FRYP281CA0017.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.12 via Frontend Transport; Sun, 14 Feb 2021 04:06:26 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 16a2e6a3-d541-42d2-68da-08d8d09de715 X-MS-TrafficTypeDiagnostic: SG2APC01HT009: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S2cRhQvasafcoqdbhlWswgU9vNq/eErh5lgoPXQIV6oX49A6W9SAym/pIzIn8xiRN124F4qhBbsBV3H6epmv9BU8wHAfXuiFUecejCF4jI0CII0m5HzvMIuVjE6SyiWi/4H77ORYg6qIykjDVTXUjB74EALxs55V1P+wHXdhdh6nalYgYXdXoN6p7K5z6xoxbzO9zLnO3bLHG/kltvXcklxa+LIKTZdXg4F3t4l67UMkNdxpK2lwUj6ab+ZvFi0M+psyoG76Xgn5RAphl9hON2RKwEBog6+BPyrrq/YgMljXzeeQ654p5m3ltc7NrgisTZ1fd3127lrojPUIEq2f7jEoQNG0V8gqd3Au2moMnyJN4GRsCJTars3B2SfwMXlupQRHQcNQWYFc2qJKp24NbwhCdkA0piEQyM3U+nNdv1w= X-MS-Exchange-AntiSpam-MessageData: llJgzHqg6/xL2KWw389sMtERtfKID4qf6k8tRdRiLTVWecAJ4LWKgenryq0w174Xk4Pv7VJnwBczSKfvBxIUd5KyfsByBivvE1s4kINmDFl6ZoupXzHIS0CHqvTRA9cF4rzdL9G1IJ8t6LDvdd1DCbQemyp3fp7U2L7HEsBeJtSxPN9UGVnxxB0eYcLNsv0hUgUOzR78Tpk9q8oWogwPDw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 16a2e6a3-d541-42d2-68da-08d8d09de715 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2021 04:06:28.3943 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: SG2APC01FT030.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT009 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Danny Milosavljevic writes: > I strongly suspect there to be some problem with the ftp client since > that's the second file that doesn't work using guix download but does work > using wget, on the same computer. > > $ guix download ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2 > > Starting download of /tmp/guix-file.tORPhj > From ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2... > Throw to key `ftp-error' with args `(# "PASV" 425 "You cannot use PASV on IPv6 connections. Use EPSV instead.\r")'. > failed to download "/tmp/guix-file.tORPhj" from "ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2" > guix download: error: ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2: download failed Yes, with this patch I can get it work: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-ftp-client-Before-PASV-try-EPSV-first-for-IPv6.patch >From 568ea9cc0e07eab24c7d24e228d7d391f191feca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sun, 14 Feb 2021 12:02:57 +0800 Subject: [PATCH] ftp-client: Before 'PASV', try 'EPSV' first for IPv6. This fixes . * guix/ftp-client.scm (ftp-epsv, ftp-passive): New procedure. (ftp-list, ftp-retr): Replace call to 'ftp-pasv' with 'ftp-passive'. --- guix/ftp-client.scm | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/guix/ftp-client.scm b/guix/ftp-client.scm index 8d5adcb8ed..a72057d3f5 100644 --- a/guix/ftp-client.scm +++ b/guix/ftp-client.scm @@ -216,6 +216,19 @@ TIMEOUT, an ETIMEDOUT error is raised." (else (throw 'ftp-error conn "PASV" 227 message))))) +(define (ftp-epsv conn) + (let* ((message (%ftp-command "EPSV" 229 (ftp-connection-socket conn)))) + (string->number + (match:substring + (string-match "\\(...([0-9]+).\\)" message) 1)))) + +(define (ftp-passive conn) + "Enter passive mode using EPSV or PASV, return a data connection port on +success." + ;; IPv6 only works with EPSV, so try it first. + (or (false-if-exception (ftp-epsv conn)) + (ftp-pasv conn))) + (define (address-with-port sa port) "Return a socket-address object based on SA, but with PORT." (let ((fam (sockaddr:fam sa)) @@ -232,7 +245,7 @@ TIMEOUT, an ETIMEDOUT error is raised." (if directory (ftp-chdir conn directory)) - (let* ((port (ftp-pasv conn)) + (let* ((port (ftp-passive conn)) (ai (ftp-connection-addrinfo conn)) (s (socket (addrinfo:fam ai) (addrinfo:socktype ai) (addrinfo:protocol ai)))) @@ -281,7 +294,7 @@ must be closed before CONN can be used for other purposes." ;; Ask for "binary mode". (%ftp-command "TYPE I" 200 (ftp-connection-socket conn)) - (let* ((port (ftp-pasv conn)) + (let* ((port (ftp-passive conn)) (ai (ftp-connection-addrinfo conn)) (s (with-fluids ((%default-port-encoding #f)) (socket (addrinfo:fam ai) (addrinfo:socktype ai) -- 2.30.0 --=-=-= Content-Type: text/plain Okay to push? --=-=-=-- From unknown Sat Aug 09 13:21:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46481: "guix download" with ftp URL doesn't work on IPv6 network Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 14 Feb 2021 19:29: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: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 46481@debbugs.gnu.org Received: via spool by 46481-submit@debbugs.gnu.org id=B46481.161333093718200 (code B ref 46481); Sun, 14 Feb 2021 19:29:02 +0000 Received: (at 46481) by debbugs.gnu.org; 14 Feb 2021 19:28:57 +0000 Received: from localhost ([127.0.0.1]:36773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBN4j-0004jU-G0 for submit@debbugs.gnu.org; Sun, 14 Feb 2021 14:28:57 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:53026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBN4i-0004jL-6E for 46481@debbugs.gnu.org; Sun, 14 Feb 2021 14:28:56 -0500 Received: from localhost (80-110-127-104.cgn.dynamic.surfer.at [80.110.127.104]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 915DE3363C90; Sun, 14 Feb 2021 20:28:53 +0100 (CET) Date: Sun, 14 Feb 2021 20:28:50 +0100 From: Danny Milosavljevic Message-ID: <20210214202850.19730e36@scratchpost.org> In-Reply-To: References: <20210213033522.0196ffcf@scratchpost.org> 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_/f4aHvaeZw6JFRObD54KW.nU"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/f4aHvaeZw6JFRObD54KW.nU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable LGTM! --Sig_/f4aHvaeZw6JFRObD54KW.nU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmApefMACgkQ5xo1VCww uqU+ywf9F0/lQSgVS8tdIwU7SPsMB4FNyd7IYNImMIr0lttMt8G4yLTe7devzGqn MH1G+0LJsaFjyOhUoIXRnXz04wN8F2f6R40ir+X1HXZ2S6/mLt5OvB9mLHJExGMW dJ/YaPA9M4fYOnjHZiKbIMJXZ/WIxE48aVK/FnGpDGLV2AbN1mbpP910QrdDEOy9 U8KMttLSXUHqNXWswcmvKXrJN/hUYWXeJ4MK0eqKTwe9XkJ0gfpdNLrAX6cypgE5 oHDOvbhLRwTANDcCfCAk2Uoxc48RXf/7eCmI63gaSI02xYaJfJtlE59smtz99x4O 9xTUh56f3W1/0a5oWejCv2foyNJ+dQ== =ptaE -----END PGP SIGNATURE----- --Sig_/f4aHvaeZw6JFRObD54KW.nU-- From unknown Sat Aug 09 13:21:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Danny Milosavljevic Subject: bug#46481: closed (Re: bug#46481: "guix download" with ftp URL doesn't work on IPv6 network) Message-ID: References: <20210213033522.0196ffcf@scratchpost.org> X-Gnu-PR-Message: they-closed 46481 X-Gnu-PR-Package: guix Reply-To: 46481@debbugs.gnu.org Date: Mon, 15 Feb 2021 00:40:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1613349602-31785-1" This is a multi-part message in MIME format... ------------=_1613349602-31785-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #46481: "guix download" with ftp URL doesn't work on IPv6 network which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 46481@debbugs.gnu.org. --=20 46481: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46481 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1613349602-31785-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 46481-done) by debbugs.gnu.org; 15 Feb 2021 00:39:25 +0000 Received: from localhost ([127.0.0.1]:37015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBRvA-0008Fe-PG for submit@debbugs.gnu.org; Sun, 14 Feb 2021 19:39:25 -0500 Received: from mail-oln040092254010.outbound.protection.outlook.com ([40.92.254.10]:18578 helo=APC01-PU1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBRv9-0008FR-1k for 46481-done@debbugs.gnu.org; Sun, 14 Feb 2021 19:39:23 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E83uo5x9M55leTypUsbWT61PuGvRuNFpPn4LWiPsopuFZ3pjgo8LJrlIVpVi4BgwP7ews3HjT2cXziQvclfPUE0CXar5hslWB/CdXMqOK2sRA7PdqMseITY9YyNTrHYu1PrpWk1rc7zgZWNVa+uLLSCpgifrJoJlHp8VG1HkI9HQurmPMv/HgBOfcdL6tEvEnyUGJh4wC9k5vMSfzwkTugAtdUIOBDiL+j2PvGPis2rH7LsLMxrgLwFOi5Cf0lOAzRQ84ohu5qSUSEsOqGxY4obcwsuIM8aNils/YXw7K6jcIoQctHM2Rl6YVMdFZUWjhZbfQfEOBI7pz1ORLHSnwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QTuqCbn+peA7DewT+Oe1hfv3ZtMlFunCLcNW+xiV+mM=; b=k5qhWTFfBtE4wEdJqXYa+DM2NKuwjfchtwRX8fbPs1cdacmsBPzwknxAKsDpPsCGvZvIGrbFAeJK6rIqgBO4xFet8oGVj3Gb7GAwzFUrER5Mn4XG3vUYqpNPqwOxUUT6RDj1pGGHY34PcusJ1PfIgePaDTEjQIMDeD29BCQE869QUzt7k7ipge7vRmkBMd5Qk0855SGY1SWz3XsmwHSmv12a0QDaaMNJOEr0t+dLNJ15ITPJTPN+RLFyyj8FOYVmZ/3/dfbTaM4snZh0vs6hwZLESgJvVsOON7oB8CQcTHhgOEozn+v5TjJSdMKr1sTPnWqKyOY7AET78VXm+ifydw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QTuqCbn+peA7DewT+Oe1hfv3ZtMlFunCLcNW+xiV+mM=; b=Kia+mX0j28SJeFuYTuj5MHahMC39jRk2sZgP5nyTEvzT649HIRWeYaTfV6AEasEx5pNbzv+QctmZbhVxz8+gyVdffkLzPRKVr24+VvK+/z3d+E/OcEIsR/xK9YYljocWeCoPxFQZYzuIYKtsatd+VYbEGF+N5oEZQtztSh1rkk0QXyyO3IxtIZ4HtL/kyJJeUpmlPJJdARXyjIwd8ILQO7f5G3/6MERVRDHfNUeL0mXgEQYQwoiuiOF0q17KXKsHlbC+pYstyXAHI1IkQew/uPTl20sON5NtE4E/szAkCz87GYuqse7qhJFUsm8WtifHW4lxH3kuHU4PCAA9VPDbBQ== Received: from SG2APC01FT133.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::51) by SG2APC01HT097.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::456) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.25; Mon, 15 Feb 2021 00:39:11 +0000 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2a01:111:e400:7ebd::53) by SG2APC01FT133.mail.protection.outlook.com (2a01:111:e400:7ebd::191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.25 via Frontend Transport; Mon, 15 Feb 2021 00:39:11 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:AE0185485DE99E769D2476A69E683AED6E3EB5BCC72C67CC9289548604C77F30; UpperCasedChecksum:07F67ECFD40D9B9F8D41CA4005F6267D463AD83175AFECB7DFF5D877E5BD0CEC; SizeAsReceived:7670; Count:46 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::4987:bbf2:2bff:6b22]) by OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::4987:bbf2:2bff:6b22%5]) with mapi id 15.20.3846.041; Mon, 15 Feb 2021 00:39:11 +0000 From: =?utf-8?B?5a6L5paH5q2m?= To: Danny Milosavljevic Subject: Re: bug#46481: "guix download" with ftp URL doesn't work on IPv6 network References: <20210213033522.0196ffcf@scratchpost.org> <20210214202850.19730e36@scratchpost.org> Date: Mon, 15 Feb 2021 08:40:53 +0800 In-Reply-To: <20210214202850.19730e36@scratchpost.org> (Danny Milosavljevic's message of "Sun, 14 Feb 2021 20:28:50 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [4UE+P0OI4Sp1B/NstcJJFmdJdoXllwacYVqbgQNewOzDzWe08NYK9bJy1LnXFGR7] X-ClientProxiedBy: AM4PR0202CA0006.eurprd02.prod.outlook.com (2603:10a6:200:89::16) To OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:ec::11) X-Microsoft-Original-Message-ID: <87czx29n8q.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (2409:8a62:378:f4a0:2f1:f5ff:fe18:6bb) by AM4PR0202CA0006.eurprd02.prod.outlook.com (2603:10a6:200:89::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.25 via Frontend Transport; Mon, 15 Feb 2021 00:39:09 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: d7ef6658-8398-4d8d-0aaf-08d8d14a1c8c X-MS-TrafficTypeDiagnostic: SG2APC01HT097: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: s2uGyR3vMc3RkaGfz6Mxh61Kqdt2AqtBGuzjAuBxZSkkJvbqFDLk7XO5m06uywQWYDLNWWgEhrPzYV7zNluVujZR4wXxTisXYVXQpey0Mom8LR8Aeh90GcgQk6z+in5QYsAKxSA1wy9i0HRT6DGIo8Ul38tVLx++srGJ64WN9pzhO6iz4KJKOZeHNesioPZvmb+LlTnNV0Cht/dGRZ7kTmHHnzIDn6OPNZN87PXjdvQJPUJVSrV1eBdFv6fbqMlKTi3+elUz0P9RUGjIUCxxu6JjYlpJ/2L65IHwIfoPQU4CFWMxwn+4Hyw7Elzjx1M/dTy86ufZPjmpe8zCuhoHARQ3FCqJK6fIGUrzgOclMAxF8TdrojF5tiAEr/nkSE96 X-MS-Exchange-AntiSpam-MessageData: LD15uFFeawAogleAXl2Q6xi8O0kEFBWd64sTB1rDa+eXkwxQcgAPgEBYo8guMoa4xRIM6FygudRXpBW+4dl7z6Nncji+0HbJoyS2j9KhNO/9WUbsa09QlmFL7hY8K+jqcmX/kBVKE5JHJsk1+UmqTXbJX5YVhI0nKPX8+UyS4KYS3TGPQUX62+iNnrxaMnCL6i4+HwXTmsp9qts4hV0IfA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7ef6658-8398-4d8d-0aaf-08d8d14a1c8c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2021 00:39:11.2597 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: SG2APC01FT133.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT097 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 46481-done Cc: 46481-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Danny Milosavljevic writes: > LGTM! Pushed to master, thank you! ------------=_1613349602-31785-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Feb 2021 02:36:10 +0000 Received: from localhost ([127.0.0.1]:33285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAkn3-0000qv-Na for submit@debbugs.gnu.org; Fri, 12 Feb 2021 21:36:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:36250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAkmz-0000qk-3u for submit@debbugs.gnu.org; Fri, 12 Feb 2021 21:36:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAkmy-0002Jy-Sm for bug-guix@gnu.org; Fri, 12 Feb 2021 21:36:04 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:60554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAkmw-0001CI-UI for bug-guix@gnu.org; Fri, 12 Feb 2021 21:36:04 -0500 Received: from localhost (80-110-127-104.cgn.dynamic.surfer.at [80.110.127.104]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 567453363C3D for ; Sat, 13 Feb 2021 03:36:00 +0100 (CET) Date: Sat, 13 Feb 2021 03:35:57 +0100 From: Danny Milosavljevic To: Subject: "guix download" with ftp URL doesn't work on IPv6 network Message-ID: <20210213033522.0196ffcf@scratchpost.org> 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_/jEwcOCcT3e=pLK3fZnPsKGE"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd26836.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --Sig_/jEwcOCcT3e=pLK3fZnPsKGE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I strongly suspect there to be some problem with the ftp client since that's the second file that doesn't work using guix download but does work using wget, on the same computer. $ guix download ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2 Starting download of /tmp/guix-file.tORPhj =46rom ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2... Throw to key `ftp-error' with args `(# "PASV" 425 = "You cannot use PASV on IPv6 connections. Use EPSV instead.\r")'. failed to download "/tmp/guix-file.tORPhj" from "ftp://ftp.denx.de/pub/u-bo= ot/u-boot-2021.01.tar.bz2" guix download: error: ftp://ftp.denx.de/pub/u-boot/u-boot-2021.01.tar.bz2: = download failed --Sig_/jEwcOCcT3e=pLK3fZnPsKGE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmAnOw0ACgkQ5xo1VCww uqW++gf/XAYNlmIyPqVcA8Gku+UlR8/QR0R1GAwESHTNyKrVxmQ7zyLKAyl9jzl5 J2eCw1udyT+j1erj+aAti3/IMtpPRb1iF696oBqooW/N+Jd7brOS6skDAqbPIR6t qNce1Dsnyi9eMQP1hf0fpUTOZbTNhIMAny/HSPqPokT4gS9G8eYTX3AI56VgDthE 6rT4yPPhLkJBgH4pUW6EDJi1JURNbnaBNw7BNMsV3ydi0oioph4PyYJ/AbYQFkHw OtleXvXvBkJWpH9mGHwhQisjb4YRG5SucRdDj/EmM7+FBhcy4Bev/ahTgw9OTA0e vTDzIAFZZXy0b7hWPx/pox+GzRaOTw== =7qum -----END PGP SIGNATURE----- --Sig_/jEwcOCcT3e=pLK3fZnPsKGE-- ------------=_1613349602-31785-1-- From unknown Sat Aug 09 13:21:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46481: References: <20210213033522.0196ffcf@scratchpost.org> In-Reply-To: <20210213033522.0196ffcf@scratchpost.org> Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Feb 2021 09:16: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 Received: via spool by 46481-submit@debbugs.gnu.org id=B46481.161355335625435 (code B ref 46481); Wed, 17 Feb 2021 09:16:02 +0000 Received: (at 46481) by debbugs.gnu.org; 17 Feb 2021 09:15:56 +0000 Received: from localhost ([127.0.0.1]:42449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCIw7-0006bt-UV for submit@debbugs.gnu.org; Wed, 17 Feb 2021 04:15:56 -0500 Received: from mail.zaclys.net ([178.33.93.72]:45057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCIw6-0006VW-7I for 46481@debbugs.gnu.org; Wed, 17 Feb 2021 04:15:54 -0500 Received: from guix-xps.local (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 11H9Fmcv045615 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <46481@debbugs.gnu.org>; Wed, 17 Feb 2021 10:15:48 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 11H9Fmcv045615 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1613553348; bh=bL0CcZhkZyg9BBPZ+5teuLQ7PeSe0mpd10UiGu+cfSA=; h=Subject:From:To:Date:From; b=Dny+a3NYKl1YZPqR48FJouyD96hzQoInjA0JjUak/OcxIRV0cddrKAlQDx8rhYROu sV8SivC8rrISQ6Hrxolrp0Xzb8AP1i3OncJq5g0KP7Vs032nbwZuwDmvlY54ap0o6H xZC//taQ/HmsNJz6vVdBUuzeTscOI6WyhEMPiw0I= Message-ID: <1cd8fa69fdfd4a90fcf38603e0421d0ba1b472a9.camel@zaclys.net> From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Date: Wed, 17 Feb 2021 10:15:47 +0100 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-klwTEWhlCxDplWvC7+kt" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello! It looks like the proposed fix at 858898e348eb300a94b74115328ee39191829bda is causing other issues: $ guix describe Generation 27 Feb 17 2021 09:39:49 (current) guix 861ba52 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 861ba5258399360a8f4c4e7cd08958f46d2c2b1e Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 BLANK_SUBJECT Subject is present but empty X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --=-klwTEWhlCxDplWvC7+kt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! It looks like the proposed fix at 858898e348eb300a94b74115328ee39191829bda is causing other issues: $ guix describe Generation 27 Feb 17 2021 09:39:49 (current) guix 861ba52 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 861ba5258399360a8f4c4e7cd08958f46d2c2b1e $ strace guix refresh libgcrypt .... read(15, "220-Welcome hacker!\r\n220-.\r\n220-"..., 4096) =3D 701 write(15, "USER anonymous\r\n", 16) =3D 16 read(15, "331 Send e-mail address as passw"..., 4096) =3D 38 write(15, "PASS guix@example.com\r\n", 23) =3D 23 read(15, "230 User logged in, proceed.\r\n", 4096) =3D 30 brk(0x1534000) =3D 0x1534000 write(15, "CWD /\r\n", 7) =3D 7 read(15, "250 Directory change successful."..., 4096) =3D 34 write(15, "CWD gcrypt\r\n", 12) =3D 12 read(15, "250-This directory is used as FT"..., 4096) =3D 1106 write(15, "CWD libgcrypt\r\n", 15) =3D 15 read(15, "250-This is the stable version o"..., 4096) =3D 135 write(15, "EPSV\r\n", 6) =3D 6 read(15,=20 ... hangs ... Should we explicitly check if we are over an IPv6 connection instead? Is that possible? L=C3=A9o --=-klwTEWhlCxDplWvC7+kt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmAs3sMACgkQRaix6GvN EKZI7hAAuwDpHJFJcPEX8J0QKBsY9/KLSOBkxFT/HYgFYPNYUL590jTobKNIMMmw oKawOdSVD1J+dpI2XU+hZ6WQys2GmlYd1rwZsV33cU9HEj3/oV82SEHAldLk4ZWN sgzs4psVHUn554Vl1OqRmLOUA67cF6GkFcGMWhcgiSJ8Rqaxn/8CJLRRKK5i/EzK 7cxnF8qo3eF1WSu9i1YJoMc/jGr/WTHEW+KMyp/TWuaLc3h+BnOHmFo3PGTI8Pdh L/m2zOHepbD69MLbsie0Mppj9wmnOlnu/A+Q3mmJij/DBhBR14tUX8Y+q4PxY8Na 7Lrry1ItRa733kP0lc/bFZ3tlJbpdALXLXOb6KvNCRj0Z+/G31SSj6Fcw3p6QEDT i+UDIeiCWq1sUSss18XtoIfKFFNwPMsyxNGefkkLqFulH/imlwY4YLvNJ0TXM7EN S/UP4iqFFLIq9OfSAeJ5qefwtvwPYoVLmnsb6XZD7TZUQphcGAqrWxn3sFujtrVl ZHezVm16SQT2X2QzNeWUaP6GAQEPwV/Z5bQAGq4066eFDRh7hF4VeXmoFeoNCCK6 Mi30vygMgmss1HjrQmdwiEWydkMGT4ayF6GUOWs1R/fumgQAy0xTcejWvW6Pv3uT t+qpGZ3G+k0oAe2XZcvHmXsw7gd+bpQRDMRrK89G5jLVEGHggsQ= =xuP2 -----END PGP SIGNATURE----- --=-klwTEWhlCxDplWvC7+kt-- From unknown Sat Aug 09 13:21:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46481: Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Feb 2021 10:22: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: =?UTF-8?Q?L=C3=A9o?= Le Bouter Cc: 46481@debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@gnu.org, 46481@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161355729212052 (code B ref -1); Wed, 17 Feb 2021 10:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2021 10:21:32 +0000 Received: from localhost ([127.0.0.1]:42541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCJxc-00038K-GN for submit@debbugs.gnu.org; Wed, 17 Feb 2021 05:21:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:58102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCJxY-00038A-JW for submit@debbugs.gnu.org; Wed, 17 Feb 2021 05:21:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCJxY-0006EV-E7 for bug-guix@gnu.org; Wed, 17 Feb 2021 05:21:28 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:53762) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCJxW-0006od-Cc for bug-guix@gnu.org; Wed, 17 Feb 2021 05:21:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=ESNKufoIReh50dtus/B+aeZ/eU2kS9EwLACXiW4EicI=; h=date:in-reply-to: references:subject:cc:to:from; b=II33pg2XoSIHc12Q3CevLm3Z0zxfAZ3+MqvPX 9EXRCY6jum8ZXJf+Yp/f9aIrWfgOSVpu2yja8LjnF/V0w319U8eR8Cw2oPZyAGExX+HDes 7CrR4PpONtpnIasU7gKsbtp219R9Ul7JPSmu2xhXSRLy0Dp14okjX8q/Qzauusx3QxrKY/ yXkJ8vvknGo6v8u18X/qLs7+KGDN5HqaCgaykIVDHKBVYWTlS63Ft1lMGDCsh+p0/sI6Su d/wY0c1H1iwlNlL9X694AZby1plxMUo5nMWFZyDggcqOBb18Ko/FIFqaJaCkopkceVjEG5 Q25BNSNO/t7sbhkaOqiC0uZBA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id cd897f11 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Wed, 17 Feb 2021 10:22:12 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice References: <20210213033522.0196ffcf@scratchpost.org> <1cd8fa69fdfd4a90fcf38603e0421d0ba1b472a9.camel@zaclys.net> In-reply-to: <1cd8fa69fdfd4a90fcf38603e0421d0ba1b472a9.camel@zaclys.net> Date: Wed, 17 Feb 2021 11:16:52 +0100 Message-ID: <87r1lf578r.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable 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? > Is that possible? My FTP knowledge is about two decades out of date: does an IPv6=20 server (de facto) have to support EPSV? The =E2=80=98right=E2=80=99 way would be to send the FEAT command, and chec= k=20 whether the server actually supports EPSV. A bit more=20 heavy-weight than your heuristic. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYCztFQ0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15bZAA/icyBSt05AaEYLPh6bF37BshKLfmAjOBsadKW6VZ 9FfmAQDBpEgI17oP9ADaGx6XVAwCPnBb1AjSgfpuVgdUWx09DQ== =SDSr -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 13:21:25 2025 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:01 +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 Cc: lle-bout@zaclys.net, me@tobias.gr 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 submit@debbugs.gnu.org id=B.161356243720650 (code B ref -1); Wed, 17 Feb 2021 11:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2021 11:47:17 +0000 Received: from localhost ([127.0.0.1]:42750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCLIa-0005N0-J3 for submit@debbugs.gnu.org; Wed, 17 Feb 2021 06:47:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:47320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCLIZ-0005Mt-I5 for submit@debbugs.gnu.org; Wed, 17 Feb 2021 06:47:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCLIY-0000Sm-R4 for bug-guix@gnu.org; Wed, 17 Feb 2021 06:47:15 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:39768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCLIW-0007rR-FG for bug-guix@gnu.org; Wed, 17 Feb 2021 06:47:14 -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 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd26836.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --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-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 00:36:44 2022 Received: (at control) by debbugs.gnu.org; 13 Jul 2022 04:36:44 +0000 Received: from localhost ([127.0.0.1]:44210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBU79-0000Qr-Ua for submit@debbugs.gnu.org; Wed, 13 Jul 2022 00:36:44 -0400 Received: from mail-qk1-f169.google.com ([209.85.222.169]:38708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBU78-0000Qf-FE for control@debbugs.gnu.org; Wed, 13 Jul 2022 00:36:42 -0400 Received: by mail-qk1-f169.google.com with SMTP id 20so7889999qky.5 for ; Tue, 12 Jul 2022 21:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:message-id:to:from:subject; bh=VtSwsRYJeJ8hr5aJ0v4Iw5POWuUHVousVhBSIenMGu8=; b=ktG4ONsZO3JcjIu5F/3sUkw+P5/LzGiYNzwoUPcmqt54BXnv+9XySRS0EXUrdjbCMO QNDG0dQMbbwZJectJR9bbg5X/p7FrnetLfVCaIQSvDgPFWxeWEKvprz9+7QeBG0oPLKn U15C+EGQQ0RBGzgrVQ+mb4FbBLxtwY+6hAQZRxjYNfrQ7KVHTRWnFaf4VCUgLJX8WadC KWhBrigdR2n2CQWmLo/TnkiTi2j0IaZM5XsjxqXDdHr2vrilb24jS+3YmIF6hFaurN4/ Cu+zxT5JY2/WBDwI5d2Jkz0OLFQK8wSMQDbgyKc9EN3vnhfsUwpRA0K29LtdbskEe7Gk 69ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:to:from:subject; bh=VtSwsRYJeJ8hr5aJ0v4Iw5POWuUHVousVhBSIenMGu8=; b=WnHuQlrT7WLeZy5VW4bs7XDPzxu7P+9ykWuSA4SXyOdqpVlZNvuFWlyv8u/MYFrnN8 GRMEcF/DRD5s8xoPLqfHh6YpwyiT2X8kGC6ZrJXxDP3mdBgF2tUETOKC8RpVR4bBZDSK FVWWgH9SIpqYIYHmLTjWvgOjuyRxAqO1kwxFBPFfLlx2Ny+V0KT3A9verpuhZ/mU0keN hZarq9+wo+CS8JRGUTOoKp6sBfJCLtIRC12punyl2axw2hxQyYCmfwlQK5M2qRmdbcgN aCwPhD2/0bypu1l477Pc6SpB2a/Jp3ETc2Q0ru1nVAAOASle/LGEGCzM8kT5uA+69w2f V3GA== X-Gm-Message-State: AJIora+XAtNfxJqak32IJJqt5T+2TqtOIOmyq6gw7g4c+tlo5xceuhrv 6TagJypuMGfbkPmzDZRucLqsq85F3a9oBFuP X-Google-Smtp-Source: AGRyM1vDTQWF4/utl1w2I3XZ0siP7aB7iZCqZvSp+SQLKXKllAbH7KZJMlxNdYU8tvHtvywtcULIwQ== X-Received: by 2002:a05:620a:2807:b0:6a6:6ef1:fb9d with SMTP id f7-20020a05620a280700b006a66ef1fb9dmr1228290qkp.146.1657686996688; Tue, 12 Jul 2022 21:36:36 -0700 (PDT) Received: from hurd (dsl-155-226.b2b2c.ca. [66.158.155.226]) by smtp.gmail.com with ESMTPSA id t5-20020a05620a450500b006af37b005bdsm11882187qkp.128.2022.07.12.21.36.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 21:36:36 -0700 (PDT) Date: Wed, 13 Jul 2022 00:36:35 -0400 Message-Id: <871qup4oj0.fsf@gmail.com> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #46481 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 46481 quit