From patchwork Mon Feb 14 19:05:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 5166 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4JyDFZ2KXxz3wsl for ; Mon, 14 Feb 2022 19:05:38 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4JyDFX2fQFz2Nq; Mon, 14 Feb 2022 19:05:36 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4JyDFX236Wz2yZt; Mon, 14 Feb 2022 19:05:36 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4JyDFW1W8vz2xLr for ; Mon, 14 Feb 2022 19:05:35 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4JyDFV3ZGPz1wf; Mon, 14 Feb 2022 19:05:34 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1644865534; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=fBh+BpPQAarE1w7TLDfms80GK8UReoz9/HRGsL4Dhjc=; b=fRuwVjqJrd3vXgdtW7U+9ANiTLxw3ev12rQlO+BHMGzM4057QjuETgHiQe4/j+MK2iHmhJ i0GSgcHkwqVIWSBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1644865534; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=fBh+BpPQAarE1w7TLDfms80GK8UReoz9/HRGsL4Dhjc=; b=YpAxfuVUNlDHhY+76L4HvOluhBeWsWRtkGwENrm6I9f+DXGfA0QPjKud7t3wJ4f3+B2zEv AwzcgMwulzgUm4ETFsffBBQM4jrdUEJSNvn7gNeUjfP+Y9GHD8StqraF8KlP5mQD7Tz/GZ pKlWqihMt2mjUeJOFMIqaVpKQyD3BjSIVlBIDdPS+wCIfr98fvfmuYEqPEkDG6jGHBe+tv ++5tphjmzFWr/QZ3RZYDSIHO6zx4AnjCMux5upE0glpGmemQJMW5dQ7JT4uaECsntd6uhS Kp2hcSbI/rloO6iytAyQrGlC+FdPAljUBbEBGHNnC8iJNmC5rSrR0YppIkyJWQ== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] firewall: Drop P2P chains from initscript. Date: Mon, 14 Feb 2022 20:05:27 +0100 Message-Id: <20220214190527.4406-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl Reviewed-by: Peter Müller --- src/initscripts/system/firewall | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/initscripts/system/firewall b/src/initscripts/system/firewall index 48653ff57..ecc57c8aa 100644 --- a/src/initscripts/system/firewall +++ b/src/initscripts/system/firewall @@ -154,12 +154,6 @@ iptables_init() { fi iptables -A HOSTILE -j DROP -m comment --comment "DROP_HOSTILE" - # P2PBLOCK - iptables -N P2PBLOCK - iptables -A INPUT -j P2PBLOCK - iptables -A FORWARD -j P2PBLOCK - iptables -A OUTPUT -j P2PBLOCK - # IPS (Guardian) chains iptables -N GUARDIAN iptables -A INPUT -j GUARDIAN