From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KItxDTPQxWA4gwAAgWs5BA (envelope-from ) for ; Sun, 13 Jun 2021 11:30:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +EMuCTPQxWDEJwAA1q6Kng (envelope-from ) for ; Sun, 13 Jun 2021 09:30:27 +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 84BF31471F for ; Sun, 13 Jun 2021 11:30:24 +0200 (CEST) Received: from localhost ([::1]:33486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsMRj-0004Sg-5Q for larch@yhetil.org; Sun, 13 Jun 2021 05:30:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsMRQ-00044v-6x for guix-patches@gnu.org; Sun, 13 Jun 2021 05:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsMRP-0006uL-W1 for guix-patches@gnu.org; Sun, 13 Jun 2021 05:30:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsMRP-0000gN-SG for guix-patches@gnu.org; Sun, 13 Jun 2021 05:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48975] New firewall service Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Jun 2021 09:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48975 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Solene Rapenne , 48975@debbugs.gnu.org Cc: Jonathan Brielmaier Received: via spool by 48975-submit@debbugs.gnu.org id=B48975.16235766022611 (code B ref 48975); Sun, 13 Jun 2021 09:30:03 +0000 Received: (at 48975) by debbugs.gnu.org; 13 Jun 2021 09:30:02 +0000 Received: from localhost ([127.0.0.1]:42656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsMRO-0000fv-Bn for submit@debbugs.gnu.org; Sun, 13 Jun 2021 05:30:02 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:46476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsMRK-0000fP-Cq for 48975@debbugs.gnu.org; Sun, 13 Jun 2021 05:30:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=79NpCeC8b0E4Brc43fMBPJE9jZXoAHqgA37AnpxAUC4=; b=kLhXzIC7yT1wtH/5Dz2HKpe9YW nAC/5hdfY54hR9kXcF/EdDKeAW4g5R/2YXepgtN6HRy8frW62+eos2EdHYzlbIAe0PK2W52oHef2Z Z1BuFZBKfSd6jqOw2Vqs8uZRov56BnYY7nKIz2fntcgzJmiVy5Q2NAiuo/kmwc51bDofDeV/jrvrX Zni4CuaL/YQ+eN/y27KiVsLdEXroqKglT93r5BdKUAZ4b1lFPxZZ2ujM0EaM+OyBVNRRBSKdVPa5V 6qgVn5DsH6tB0s3Yq7d24V5ackReZBNrHHvNuyYB0kDGCHvirM43jfyaizZKz+wOmz72SAY+x4lk2 G1Wb1Cug==; Received: from [192.168.2.1] (helo=steel) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1lsMRG-0002cB-TJ; Sun, 13 Jun 2021 14:59:54 +0530 From: Arun Isaac In-Reply-To: <20210612191959.6394494e@perso.pw> References: <20210612191959.6394494e@perso.pw> Date: Sun, 13 Jun 2021 14:59:31 +0530 Message-ID: <87czsqqfic.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623576625; 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: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=79NpCeC8b0E4Brc43fMBPJE9jZXoAHqgA37AnpxAUC4=; b=VhNrfjY04DJqe0ae8qDIAyBrblGixH7VpxdMW9q0SHGWLePomconshE/ikWctJNBNYFHxy wZpUshmigZkl2AWoZSYHufIZaf0lMfLYS7j/znIy99y8XE/8o59hoaEkzlSCl6ae+i+6MQ 0TqhNMCSU+rUx873ssCNEkyAu0i3FOwHbBhPhgsb4uEML0aUm/9ZVjK+2fELkqQWGJvuvm yJLY/TumhVG2E3HEtaz+Dir8jOsj0mYrELujybGkJyKSX43RDy2IFd6L02YwRidY4ulAtI ZCCFUlgfBCw8b8N+yc5EdOhHvLc8L9Xq44z2tXs0QvhAJTz0oQadiYhfqQXT5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623576625; a=rsa-sha256; cv=none; b=ClvNtOKSu01HOhPVGTgtPiR0wymvpfJNBJQwX6H2Ce8waBJSOllViFSZeKG5VkjWTGr9jz c5XsaSooBLW2rwBzVhrdMi9S+YNaqmPgbvY0J9gYzD94gGOHzbyBERiInMx5uBTjA2x3/9 pWowqAqHalpLNbkEJyYKt2y6EwIwYR/kwHmHzAZqco/E2UQ1rEdOJ18YGlwLHmYFmCGwKo HiAwaa6wL0kOoWsR/oLXQyoYeUBRvLRvJNVolc3tcOKv1OKNivUYBkeu6MOJGEJSa9sSN8 KNSkIcYdANZQdXcAIEte9bMNUu/fwboxIE7WWzNeA/B+BBm0EnjIRN/4/DEXdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=kLhXzIC7; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=kLhXzIC7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 84BF31471F X-Spam-Score: -2.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1IF2+1zJSvIB --=-=-= Content-Type: text/plain Hi Solene, Thanks for the great work! I wrote the iptables service in the hope of some day extending it to something like this, but you've beaten me to it! :-) Some feedback follows. Your implementation duplicates some of the code in the iptables service. How about making it simply /extend/ the iptables service with the generated rules? This way, you won't have to handle the start/stop iptables-restore gexps. The iptables service, when stopped, already has the correct behaviour of opening all ports. WDYT? Regards, Arun --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFPBAEBCAA5FiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAmDFz/sbHGFydW5pc2Fh Y0BzeXN0ZW1yZWJvb3QubmV0AAoJEC4l7othgCuzoY8IAL/8pXaEaPSHe9Td4oDr PPfa2ffmb6cDTydntl0vUfOz2Og+q3MGk3j2IdQWlGRsUqbOZp5dCaV57kPBr3I+ OKfbWw0Vq1uJ1fYR2WySP/FR4Ib57n+uG4Yr8+jVXZqSIwhcO1rx9E2ouZ1v+Dde L6XaN0BqB+9clySZ4BMKEcOe+NcAjhWPMLMOHuj17bKaQqOy15jrKJwoVclkIKyo Vlh0RvMZK4tnYOqxzBgWp1BMOlLbM2FNCtgwLFO57kZ/cuFqNNkthvxRl+j0E7PE K2cD7gtlTFNl/rBR5GieSmV7mUkpMLhgFHF+LkRKkG98rWDmx8B4rsOX6KU2JxZr /6w= =Jj+K -----END PGP SIGNATURE----- --=-=-=--