From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ODYPBQHQf2KYdAAAbAwnHQ (envelope-from ) for ; Sat, 14 May 2022 17:51:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oKPzBAHQf2LVPQEA9RJhRA (envelope-from ) for ; Sat, 14 May 2022 17:51:29 +0200 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 610D91639E for ; Sat, 14 May 2022 17:51:28 +0200 (CEST) Received: from localhost ([::1]:46358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npu3D-0005t4-7q for larch@yhetil.org; Sat, 14 May 2022 11:51:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npu1q-0005rt-OR for bug-guix@gnu.org; Sat, 14 May 2022 11:50:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npu1q-0003Id-A9 for bug-guix@gnu.org; Sat, 14 May 2022 11:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npu1q-00056r-7V for bug-guix@gnu.org; Sat, 14 May 2022 11:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55335: openssh-service no longer listens on IPv6 Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 14 May 2022 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55335 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: 55335@debbugs.gnu.org Received: via spool by 55335-submit@debbugs.gnu.org id=B55335.165254339619624 (code B ref 55335); Sat, 14 May 2022 15:50:02 +0000 Received: (at 55335) by debbugs.gnu.org; 14 May 2022 15:49:56 +0000 Received: from localhost ([127.0.0.1]:47324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npu1j-00056Q-LV for submit@debbugs.gnu.org; Sat, 14 May 2022 11:49:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npu1h-00056A-8B for 55335@debbugs.gnu.org; Sat, 14 May 2022 11:49:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56296) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npu1O-0003Fi-Jx; Sat, 14 May 2022 11:49:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=K3GNxDqUk4JnvEtP3SmJgVQpLkHbxFrc3V1iv8j0jI4=; b=W/szFDG214x+OU5O48r8 /YSPBYQLUmO3aW036oJllwFcDs8J/wGc/0wVRO0k643/sdDLRWL4gPLlqqEC6L09K2y/YU86/DDRV g/aWVWVwxRLXqy1CGFOOD6PiAG4QzU44lsqBBPvNLkjYjmG2g+UvxRqjm/ONn/wep91OWT1I5ooJb b5lW+GAC2TgoVjBaXBEfD2JQfOqvDboiwoclupExEXCv5MTUOg9zXW24kDM01LzVpkzhj2XgUzI/3 NZ79J1n3sQWxuDHgHaHrvPIXYQxXZcSs3yQkulepZqzwzCi8j4qzYU0ZXnWa1LJi3YtfBSyOi97V7 B3/7nuO+NSncqQ==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49342 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npu1N-0000Sv-QA; Sat, 14 May 2022 11:49:34 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87r153q913.fsf@cbaines.net> <20220513142312.21382-1-mail@cbaines.net> Date: Sat, 14 May 2022 17:49:31 +0200 In-Reply-To: <20220513142312.21382-1-mail@cbaines.net> (Christopher Baines's message of "Fri, 13 May 2022 15:23:12 +0100") Message-ID: <87lev4f71w.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652543488; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=K3GNxDqUk4JnvEtP3SmJgVQpLkHbxFrc3V1iv8j0jI4=; b=G887nrj3gUcrJmGJIq5kD0xuE3IiqSbcFJTFDyHn8mNNA+u6yxR28OFdQWF6tyEoOGBmB8 X7DO8Z+e0suszRPAaMkDIX4FM3drUL2oKegqJ8uUd7BZyqy8Lo3v0Rla1F9xcWLYEhSvVE VVzl+bs/e34HMm8WwHcDBVpnH9qckjNCiNm5cLhj2qY3xTfulAabI7WQRBB52mYbRXZOcb LR/fXVkMKgQmLCPBEGRoum1NR4uZ3HSZU+Go3TLpKgdpJ6jmoI/4K+aX6hmbiJ0nR0FTVa F8YJnhNxIwStJAjTMdSjHDyxtkamgmoImI5iOt2iXEKrS5hlr4opo0uuTPso6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652543488; a=rsa-sha256; cv=none; b=QNzA7jOCfOmEuLZMgg3NgGkBFtnnsuUjLCF2QmMyL3hkw+QqC3ifXhr4LvyDICeXiaSNPT byItazJhx+rgd6mZUkrcLawokyEhu7cB1QulMCVc//gr2OKaZIkGiHhABXxf2C9Di4whzx XDptcHxHPSbYmUmu6gGhWmQhTXM366l22h1FFN84FGtX+V4/Z20F2/Zu3BDE+ozTMgZUiF KB5gDGZn0e/mZRm2UBcBV3QylzbKDqbLCsy9QRN8ZiSDgRvLbUxngHneauMT12pSv94fy1 P0rGvxPCAqdE6baKFviOVHJ/jpNyEHleYiO9m6QQv9ewjNR42OCzIEy2Q4Inpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="W/szFDG2"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="W/szFDG2"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 610D91639E X-Spam-Score: -4.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: DobsVeiYrSkp Hi, Christopher Baines skribis: > Switching to listing via IPv6 should support IPv4 connections, as Linux is > capable of translating IPv4 connections to IPv6. I think there's a risk t= hat > switching to this approach will affect some uses of the openssh > service. Therefore, this commit makes this a configuration option, which = is #f > by default. [...] > + (make-socket-address #$(if (openssh-listen-via-ip= v6? config) > + #~AF_INET6 > + #~AF_INET) > + INADDR_ANY > #$port-number) Thinking about it, what do you think is the risk of using AF_INET6 unconditionally? AFAICS it just works. Is there a switch somewhere that might affect that behavior? (I still think that changing =E2=80=98make-inetd-constructor=E2=80=99 to ac= cept multiple addresses is a better fix longer-term, but if we can have this quick fix, that=E2=80=99s great.) Ludo=E2=80=99.