netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mr Dash Four <mr.dash.four@googlemail.com>
To: "netfilter-devel@vger.kernel.org" <netfilter-devel@vger.kernel.org>
Subject: locking iptables configuration
Date: Tue, 13 Dec 2011 20:32:49 +0000	[thread overview]
Message-ID: <4EE7B671.4020101@googlemail.com> (raw)

Would it be possible to add an option to iptables preventing it from 
making any (rule) changes to the chains, in effect locking its 
configuration?

There is something similar done with auditctl - "auditctl -e 2" locks 
and prevents any further changes to its configuration and logs any such 
attempts to the audit log file. It would be nice if I could load my 
iptables(-saved) configuration/rules and then use that option to lock it 
so that it cannot be changed until the next time the machine reboots. Is 
this (easily) doable?

                 reply	other threads:[~2011-12-13 20:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4EE7B671.4020101@googlemail.com \
    --to=mr.dash.four@googlemail.com \
    --cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).