From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yI6nLqlDRGMEggEAbAwnHQ (envelope-from ) for ; Mon, 10 Oct 2022 18:09:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mCd1L6lDRGMSfwAAauVa8A (envelope-from ) for ; Mon, 10 Oct 2022 18:09:13 +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 70AC99028 for ; Mon, 10 Oct 2022 18:09:13 +0200 (CEST) Received: from localhost ([::1]:55984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohvL6-0003Vo-Hc for larch@yhetil.org; Mon, 10 Oct 2022 12:09:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohvGL-0001gw-0t for guix-devel@gnu.org; Mon, 10 Oct 2022 12:04:18 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:45642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohvGI-0004WW-Lt; Mon, 10 Oct 2022 12:04:16 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id deea216f; Mon, 10 Oct 2022 16:03:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=xPhiV2x2ucn0 KMYL7QoCciBvN86iShAe6MbfoMtdXrk=; b=JqL0Ps7e38LeSQw8pkWXyg7/c2lx 7LG/BbQl2Y+B5W8Kt8hZGlvOSA3mpiQzlovVeCDpVRftY9iLBCIXvcK2YNNcvMss oyOTs4r1XlZ9scbxjcciUGLlF+RusdwnhFPgs7uz3nH+1ONFwC0D1pCeDeZYRKM3 V/c2pOuYpUUWX5dfqN1DaVZ3nP03mZ8ctYyZq/Zw4XpoU/fDQ2XzaRkDYwgk99+y 1AEdhiWKvF1sB+z92uZr51/xZRIjPRXww15kZVAgQ78/hLzf9H8MnCAaZoSju474 gO/tSyrviPjQ63F+A2rrxdm6ZOuVf8VmJN7bLBO/SSgQfFgTwvLe4P7mnw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id e8b290f1 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 10 Oct 2022 16:03:06 +0000 (UTC) Date: Mon, 10 Oct 2022 18:03:06 +0200 From: Julien Lepiller To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= , Alexey Abramov CC: guix-devel@gnu.org Subject: Re: Advanced network configuration User-Agent: K-9 Mail for Android In-Reply-To: <875ygr1zer.fsf@gnu.org> References: <875yh0sr5c.fsf@delta.lan> <87fsg2sgml.fsf@gnu.org> <87zge9m70d.fsf@delta.lan> <875ygr1zer.fsf@gnu.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665418153; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=p8tSFFYFesEYVHpmOxyz+nlalnaQy63YAE3j5aZqnjI=; b=BYSkUCjuCbST32iVFoaH1pWo9P2CkMk0J0i38+U2rYBZAKf86DZwD+wZTD0QOSL609QEyg zKNm9UECQ3+dH6A62PlVE08Ww7d7Hpr5bS51kLcd2cethMcOBv7KhJtT2PRXJnpcV4xWkx 0I7Om1Pm+wnhrniUFK3k/OXc+9CfyIZ4nc4WVS38ws9ceHoWJk01B+2d3CMF2Ca84b8oSq 6Dqi3raRuNCTmfB0EAwFA6A2ImVXRegRnOTgOCadyxk5biMBzczXkFnsbmyl6Ez8Nd32cK tuyqQQjGFMdJMcX4EiMID7zw595EabzKioQCQcPTrZRm+QN/qIo1k5f7bF/eTw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665418153; a=rsa-sha256; cv=none; b=skkQ9XNbNbf5XZ/tE1HG9saCeSny8j0EoHC8A0wJq81APJxO3vl3whMscusFp/QJdYTcoL +SSavRKXmT+lXRDH1sfPKAJMGGhFD121QKcBpHbP5fP53t6SXHEuASAShXrQIvKINBMlve Zf+JR2oUJ6I4kDbPDKE3reLqqxqbnvcYMLKwVQeVG+OO7DLMSEitQPur/XuwyTV0atV8MU 1J+y26g7gsCIL9j2ntU4Xu9kdtd5B+T6wtVUAfqlZgCquJCev4NEdthlUv8n3sIh5eHScp v2VBctVPPTffVmlHP86iVINHzEMobcuqqSbi5hFbw3weSFMAl3Gb9nqdp+YGgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=JqL0Ps7e; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.89 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=JqL0Ps7e; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 70AC99028 X-Spam-Score: -3.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: voXzPMScdv/C Le 10 octobre 2022 17:17:16 GMT+02:00, "Ludovic Court=C3=A8s" a =C3=A9crit=C2=A0: >Hi! > >Alexey Abramov skribis: > >[=2E=2E=2E] > >>> I=E2=80=99m not sure=2E IIUC, a =E2=80=9Cnetworking target=E2=80=9D h= ere could translate to a >>> Shepherd service that depends on all the relevant DHCP and static >>> networking services=2E The question the becomes how to express that >>> grouping conveniently=2E >> >> Yes, I also would like to point out that their must be a way to >> establish a firewall, for example, *before* any network interface is up >> (After=3Dnetwork-pre=2Etarget in systemd [1])=2E And the same thing dur= ing the >> shutdown procedure (Before=3Dnetwork-pre=2Etarget in systemd)=2E > >I would do that by having =E2=80=98networking=E2=80=99 depend on =E2=80= =98firewall=E2=80=99 (say)=2E > >Does that make sense? Wouldn't there be an issue if firewall rules reference interfaces created = by the networking service? > >It=E2=80=99d be interesting to see whether we need something beyond this= =2E >