From: Alex Bligh <alex@alex.org.uk>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter@vger.kernel.org, Alex Bligh <alex@alex.org.uk>
Subject: Re: How to programatically atomically write one CHAIN (not table)
Date: Thu, 05 May 2011 16:17:56 +0100 [thread overview]
Message-ID: <D2237FDC0E85A86EE664593F@nimrod.local> (raw)
In-Reply-To: <alpine.LNX.2.01.1105051603080.15936@obet.zrqbmnf.qr>
--On 5 May 2011 16:08:53 +0200 Jan Engelhardt <jengelh@medozas.de> wrote:
> do_command alone does not commit the result.
> restore is right in what it does.
Ah OK - have reread the source and now understand. So a pipe to
iptables-restore with "-n" on the command line, and "-F" inside
the chain to replace is the right way to go?
--
Alex Bligh
prev parent reply other threads:[~2011-05-05 15:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 12:14 How to programatically atomically write one CHAIN (not table) Alex Bligh
2011-05-05 14:08 ` Jan Engelhardt
2011-05-05 15:17 ` Alex Bligh [this message]
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=D2237FDC0E85A86EE664593F@nimrod.local \
--to=alex@alex.org.uk \
--cc=jengelh@medozas.de \
--cc=netfilter@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).