From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 3CB2A1DD23; Sat, 29 Nov 2025 13:17:15 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 832281DD0D; Sat, 29 Nov 2025 13:17:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fout-b4-smtp.messagingengine.com (fout-b4-smtp.messagingengine.com [202.12.124.147]) by atuin.qyliss.net (Postfix) with ESMTPS id A0AB31DD0C for ; Sat, 29 Nov 2025 13:17:11 +0000 (UTC) Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfout.stl.internal (Postfix) with ESMTP id 0AB2C1D0025D; Sat, 29 Nov 2025 08:17:09 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Sat, 29 Nov 2025 08:17:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1764422228; x=1764508628; bh=NFakUIK9vo uRPjDtbb+RGbEom9Yvi+ZxebrBCj45zYg=; b=ZH4wp75EMoYG2H6qGKONycS6db OtBwKS2gBl8R9o0xDBo37qDi/u2rO5CneC9v3IltGGCGqOqOfwsBHGEiy0eBAm/U /e5bUrCC0ir3m+tJw3V3bLhWB4bWu7RUkNJD+3FE4fp1tBTXrZ1kvuUBpQLJ66ob pvscR5Hfo1KC/ufh0dw4G22g8RItqaAMtFJM+do+hZnW5xwr2zlnUW3Ie1O4x+YC ZC+dViICl4ufLRbXWRqmIT5YQdpKdKSoK4vXvf2qzvf0yZW9/aoR6yYfjVdK+bve G9hTKYCMV4TVq9y9zPSAUWFdT1qu2ZKuwni8D1qcbwv6K8QKhl3z2+6xQVTg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1764422228; x=1764508628; bh=NFakUIK9vouRPjDtbb+RGbEom9Yvi+Zxebr BCj45zYg=; b=Lk8JYROlxdBq0YT9lARjJ2Q3ByzIKx+M6159IJSV5w+P1AnUjeL mDJiHMWAWzVrU52g6xvAXjWcmjEY2vx99eJXrcTUYbzjOZOXStIsWfNddct07awo 90jJ35VWNfAquNsdNVVskYgzFbipVpZ2uo2CX9AaBFwAl0rM9e9KTqVzkDg3N7Gu d0ySj3zxQvQieBND2reJfHvltLGlytbEaFugBK0RSXfihdVMrZhIzlJfM4Tjildr x9lk3Gf05PsYSxkXWdKD36LL9YmhGert45AfyBXKG0SHdfSnxFN+FxVkhtsTm2eP oUQuLWe9Sx0LN0Tg/DabJoB6RiRt5H+sN5Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvhedvheehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfhfgggtuggjsehgtdfsre dttddvnecuhfhrohhmpeetlhihshhsrgcutfhoshhsuceohhhisegrlhihshhsrgdrihhs qeenucggtffrrghtthgvrhhnpeeujeejtdeihefgveehjefhhfejteeuuedvhfdtvdeitd ekhfdtieeutdevffehjeenucffohhmrghinhepshhpvggtthhruhhmqdhoshdrohhrghen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhihesrg hlhihsshgrrdhishdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhr tghpthhtohepuggvvhgvlhesshhpvggtthhruhhmqdhoshdrohhrghdprhgtphhtthhope ihuhhkrgeshihukhgrrdguvghv X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 29 Nov 2025 08:17:08 -0500 (EST) Received: by fw12.qyliss.net (Postfix, from userid 1000) id 9CA682DB779E; Sat, 29 Nov 2025 14:17:06 +0100 (CET) Date: Sat, 29 Nov 2025 14:17:06 +0100 From: Alyssa Ross To: Yureka Subject: Re: [PATCH v2 2/7] vm/sys/net: integrate xdp-forwarder Message-ID: References: <20251128223038.97536-1-yureka@cyberchaos.dev> <20251128223038.97536-3-yureka@cyberchaos.dev> <875xat56lz.fsf@alyssa.is> <0867de47-1c8d-425d-a33e-75e769d4a44d@yuka.dev> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2r26iwhxtfypu2jz" Content-Disposition: inline In-Reply-To: <0867de47-1c8d-425d-a33e-75e769d4a44d@yuka.dev> Message-ID-Hash: WIA47EALJIPRNMEG7DRTHISFIL32YA2N X-Message-ID-Hash: WIA47EALJIPRNMEG7DRTHISFIL32YA2N X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: devel@spectrum-os.org X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --2r26iwhxtfypu2jz Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Subject: Re: [PATCH v2 2/7] vm/sys/net: integrate xdp-forwarder MIME-Version: 1.0 On Sat, Nov 29, 2025 at 02:15:23PM +0100, Yureka wrote: > On 11/29/25 14:08, Alyssa Ross wrote: > > Yureka Lilian writes: > > > > > diff --git a/vm/sys/net/image/etc/nftables.conf b/vm/sys/net/image/etc/nftables.conf > > > index 296d92c..cc8e462 100644 > > > --- a/vm/sys/net/image/etc/nftables.conf > > > +++ b/vm/sys/net/image/etc/nftables.conf > > > @@ -1,8 +1,16 @@ > > > # SPDX-License-Identifier: EUPL-1.2+ > > > -# SPDX-FileCopyrightText: 2021 Alyssa Ross > > > +# SPDX-FileCopyrightText: 2025 Yureka Lilian > > > -table nat { > > > - chain postrouting { > > > - type nat hook postrouting priority 100; > > > +table driver-fw { > > > + chain input { > > > + type filter hook input priority filter; policy drop; > > > + } > > > + > > > + chain output { > > > + type filter hook output priority filter; policy drop; > > > + } > > > + > > > + chain forward { > > > + type filter hook forward priority filter; policy drop; > > > } > > > } > > Just checking: did you see my question about the formatting of this last > > time? > > > > https://spectrum-os.org/lists/archives/spectrum-devel/87see1t69a.fsf@alyssa.is/ > > I saw the question but forgot to answer it. Thanks for reminding me. > > At least inside nixpkgs all nftables chains are declared in this style, so > yes it is a common way of writing it. I suppose because the policy is > semantically part of the chain "declaration" as opposed to the rules > following it. Cool, then: Reviewed-by: Alyssa Ross --2r26iwhxtfypu2jz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQGoGac7QfI+H5ZtFCZddwkt31pFQUCaSryUQAKCRCZddwkt31p FbQzAQDLj8j23rChY6mrhk0k9BFCDyYC4i4guapU+6/a+eBjywEAqcenecdnnrIo VbhoBWlYoi68rrEz6AqIQr2c7PrWCwI= =HcVR -----END PGP SIGNATURE----- --2r26iwhxtfypu2jz--