From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yBVnAdIZvWDV5AAAgWs5BA (envelope-from ) for ; Sun, 06 Jun 2021 20:54:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cFZbONEZvWBnRQAAbx9fmQ (envelope-from ) for ; Sun, 06 Jun 2021 18:54:09 +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 862DF15BED for ; Sun, 6 Jun 2021 20:54:09 +0200 (CEST) Received: from localhost ([::1]:40574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpxuS-0002rN-Eh for larch@yhetil.org; Sun, 06 Jun 2021 14:54:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpxuM-0002rD-8V for guix-patches@gnu.org; Sun, 06 Jun 2021 14:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpxuM-0000fD-20 for guix-patches@gnu.org; Sun, 06 Jun 2021 14:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpxuM-0002wJ-1M for guix-patches@gnu.org; Sun, 06 Jun 2021 14:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48753] iptables example update Resent-From: "Eric Brown" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Jun 2021 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48753 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: "Arun Isaac" , 48753-done@debbugs.gnu.org Received: via spool by 48753-done@debbugs.gnu.org id=D48753.162300560611255 (code D ref 48753); Sun, 06 Jun 2021 18:54:01 +0000 Received: (at 48753-done) by debbugs.gnu.org; 6 Jun 2021 18:53:26 +0000 Received: from localhost ([127.0.0.1]:53915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpxtm-0002vT-Ii for submit@debbugs.gnu.org; Sun, 06 Jun 2021 14:53:26 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:46427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpxtk-0002vF-DI for 48753-done@debbugs.gnu.org; Sun, 06 Jun 2021 14:53:25 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id CF7225C012A; Sun, 6 Jun 2021 14:53:18 -0400 (EDT) Received: from imap38 ([10.202.2.88]) by compute4.internal (MEProxy); Sun, 06 Jun 2021 14:53:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericcbrown.com; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type:content-transfer-encoding; s=fm2; bh=aL70Z 5b8SzCDV8tKHBDXELzmYN4KSRcMjcr6alaIx80=; b=DYjYYiNB6kWffADzuHrtN HFAvTwoxwLsKqybuTppGV3zKQ1mI/YXNAgqFsPwZPvsoxX07gXOY4/UvTmvg4l9L KvuPyp088A7e2C+Gipt/uskZGz/ASG2J+P984Tx5lc4yJBuouSf4PJmV8eARuwmh oRs0DSoTISTDnn3RLId/mrX3/WMyLOu8SU90+Q7nOLqA3HmlFRxYLXl1choEJgFc 2tMSxZjJCdE2H75uipuOiXzckmofoxJu918YdxptofezSPKIQNKOp+bABvkNupRu 14eayq3p6GEkKVQyauHyc/Q8c0HkjoEu3xCn5k5IK9kLowgAlPrtCnleNgsgD+HF Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=aL70Z5b8SzCDV8tKHBDXELzmYN4KSRcMjcr6alaIx 80=; b=gTMrZPZupQfQfjVJdpMMaoiTRReBZx+JQbsG/TFDeCytfJ+Y8LcH19DOK ED1uQTh/3vOIqLiClmGWbQYMgGIz2GoJAP5LFaaKevRNxtVvGSBm6DDxqWN3M5/d y/ObcTZM48PrUz28NtnUoJ49jcUH2Oy0leCZ321qSSaogDTAaHm+TQj1O2qmDXG1 wBvRp2gjt94wqw84lJ1ObJ1T34eRgpmYFH+dxBKQcY1zYCfMD+bNepdL+ktpQSNA zryA+rilUYwhbnv9I3TbK+ew5eRTicneI/ZC+0JIYKblSKwqt3YMQ0Y4kgP6hfe6 +MJH7+JN8CHaagCnAiFGV8ccSBHJg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedthedgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdfg rhhitgcuuehrohifnhdfuceovggtsghrohifnhesvghrihgttggsrhhofihnrdgtohhmqe enucggtffrrghtthgvrhhnpeffjeevveelvdefjedtlefhlefgleegffeileehieekkeef geekveelffefgeejkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegvtggsrhhofihnsegvrhhitggtsghrohifnhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 06C60CA005E; Sun, 6 Jun 2021 14:53:17 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-519-g27a961944e-fm-20210531.001-g27a96194 Mime-Version: 1.0 Message-Id: In-Reply-To: <87im2uwzty.fsf@systemreboot.net> References: <86lf7wue10.fsf@hurd.ericcbrown.com> <87im2uwzty.fsf@systemreboot.net> Date: Sun, 06 Jun 2021 13:52:57 -0500 From: "Eric Brown" 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: 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=1623005649; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=aL70Z5b8SzCDV8tKHBDXELzmYN4KSRcMjcr6alaIx80=; b=adBYo32Xi12GT8THI4Z4qXmkY0qfLoIhG4791y1MpPfODQtyzfW8HECjGfvFuanTWMozeb V/+yEWvVTOW6PnMxprNjwQBGehWQmqajEeuH+j7o9YsNzSVgIgnLBeCCeEAA+bRGQyVBBf r6xdxhivx0ZarNhYNSg6dzFTipuoPdHYnRKTnzO++U2b+u1jdUljXSsS/+p5y8HyDLUeac hAbgaekjOmPHu0mFs4eq/OSSPIfO18cnzaHm7X0W1LWBvRqkPKRT47nkI2uEUNn5LYYOxq zVMLpD69xE5THbRCswZQH/vsJ3ZUgRofiOeIQrhNwdJ3hojCYTfHMCjQvfqAdw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623005649; a=rsa-sha256; cv=none; b=bxZ8wSmV3ixEIYNnnBVo8u17tZdXdECPG7ENTkbt1VqO8sr91ToCgf2jPfxkVnBM3fY/GD yr0J0owORQ8mDYTs4dD4Vcum5riFv0/+0skEXtQ/S1nSiOagY/Rwwe7jlU6unIGLqWSNzS XSpt08uXHkMGBVvPkUeRq+xnknrXKLO/gMZIUwgf7nVkDPS08jMAEw1wIxEShYlGtMiwPi XVVMYNSCCKCipBvb/qxFI0LsCMOhgZ86uvtLVUdoRQ/MRBNshe19EpgflSX3WO9G1JEkeZ nEcD/U53ALrHKTY3Wk1A9pml4NWqASU9n//4CxXJd7AM/Ifj3YyUzwpUEkYetg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ericcbrown.com header.s=fm2 header.b=DYjYYiNB; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=gTMrZPZu; dmarc=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-Spam-Score: -0.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ericcbrown.com header.s=fm2 header.b=DYjYYiNB; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=gTMrZPZu; dmarc=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: 862DF15BED X-Spam-Score: -0.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: ArjiKB03LQS+ On Thu, Jun 3, 2021, at 1:46 PM, Arun Isaac wrote: >=20 > Hi Eric, >=20 > I wrote the iptables service and documentation. So, the mistake is > entirely due to my poor grasp of iptables! :-) >=20 > I have applied your patch, and pushed to master. Thanks! >=20 > Cheers, > Arun >=20 > Attachments: > * signature.asc Hi Arun, Thank you for applying the patch, I think it=E2=80=99s much better. Trut= hfully i am relieved that you are an iptables newbie and so am I! I think there could still be some work done to this recommendation. For= example, when I use this updated iptables firewall selection, I am unab= le to telnet into ports open on localhost. An example is that I am a h= eavy user of VNC/SSH tunnel connections and it doesn=E2=80=99t let me do= that, it blocks e.g. port 5902. (A similar naive rule in nftables do= es let this work!!!) But so many examples are given in iptables (esp. WireGuard stuff) and so= if you have no objections, I would like to take a further look and mayb= e even ask around as to what the =E2=80=98ufw allow ssh=E2=80=99 behavio= r vis-a-vis iptables best practices. Best regards, Eric