From patchwork Thu Jun 24 17:44:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 4463 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4G9nZh0Tg8z3wcC for ; Thu, 24 Jun 2021 17:44:44 +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 4G9nZf4k9mz16C; Thu, 24 Jun 2021 17:44:42 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4G9nZf2b6yz2xjs; Thu, 24 Jun 2021 17:44:42 +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 4G9nZc1PcFz2xZ8 for ; Thu, 24 Jun 2021 17:44:40 +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 4G9nZb1b1DzTC; Thu, 24 Jun 2021 17:44:39 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1624556679; 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=5xc1lDFUhshGmqLd8axGrL9rloCexldxWBb18whO3tE=; b=LIbxRWBvulcoNU8fd7e3m8PuNw+0W8wcDrCNGgsLHfB7IEhMEA3AnS6LdZj5Vx3nbf7dlV /6ubDBEIpaESmCDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1624556679; 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=5xc1lDFUhshGmqLd8axGrL9rloCexldxWBb18whO3tE=; b=p9ApoxsgmmvV/3JTUj/j2T8mxe6Dxnn+cKudKSuaoVzKLmbJTwDpvrYWmtkFCVThPerX/Y sxZJezT9UYmbiZJ15m2dmlORjpG0HZBj3c6NB49powZDLVmsjgAR7zXXW++wJmah2hOwdA +skX+q5yvyzMRCOtb8j1vetSpHoE8YDboBPZV1N+Sb+zFpYCEW69h8qRAkWBmwmwtmNamC LAq55P6qo/856kyejNuZHYUE6P28M6ok7Mgn7rbrLQYffEegISZ09+sgClXnr3in46SVqb QkGcXWUPEllhlvNC16fCpqeNuV3axkzkYyqbPTmPE9G164ujDXSIPjR0BC0c4Q== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] firewall: Remove unused CONNTRACK chain in raw table Date: Thu, 24 Jun 2021 17:44:35 +0000 Message-Id: <20210624174435.27079-1-michael.tremer@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: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer Acked-by: Peter Müller --- src/initscripts/system/firewall | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/initscripts/system/firewall b/src/initscripts/system/firewall index 1e558ee86..5ebbbfca6 100644 --- a/src/initscripts/system/firewall +++ b/src/initscripts/system/firewall @@ -95,8 +95,6 @@ iptables_init() { iptables -A CONNTRACK -m conntrack --ctstate ESTABLISHED -j ACCEPT iptables -A CONNTRACK -m conntrack --ctstate INVALID -j DROP iptables -A CONNTRACK -p icmp -m conntrack --ctstate RELATED -j ACCEPT - iptables -t raw -N CONNTRACK - iptables -t raw -A PREROUTING -j CONNTRACK # Conntrack helper (https://home.regit.org/netfilter-en/secure-use-of-helpers/)