public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] firewall: Remove unused CONNTRACK chain in raw table
Date: Thu, 24 Jun 2021 17:44:35 +0000	[thread overview]
Message-ID: <20210624174435.27079-1-michael.tremer@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 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/)
 
-- 
2.20.1


             reply	other threads:[~2021-06-24 17:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 17:44 Michael Tremer [this message]
2021-06-25  7:55 ` Peter Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210624174435.27079-1-michael.tremer@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox