From: Martijn Lievaart <m@rtij.nl>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: martin f krafft <madduck@madduck.net>,
netfilter discussion list <netfilter@vger.kernel.org>
Subject: Re: safely apply new rulesets: iptables-apply
Date: Wed, 16 Apr 2008 23:56:29 +0200 [thread overview]
Message-ID: <4806760D.3040909@rtij.nl> (raw)
In-Reply-To: <Pine.LNX.4.64.0803111947120.18745@fbirervta.pbzchgretzou.qr>
Jan Engelhardt wrote:
> echo "Applying new rules...";
> iptables-restore <new.txt;
> if [ "$?" -ne 0 ]; then
> echo "Dude, that failed horribly. (Old rules still intact.)";
> exit 1;
> fi
Are you sure? I think it may have committed some tables already and
errored on another.
M4
next prev parent reply other threads:[~2008-04-16 21:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-04 23:16 safely apply new rulesets: iptables-apply martin f krafft
2008-03-05 10:37 ` Maximilian Wilhelm
2008-03-05 11:42 ` martin f krafft
2008-03-05 11:46 ` martin f krafft
2008-03-05 11:56 ` 'queue' on 64-bit Scott MacKay
2008-03-05 12:59 ` martin f krafft
2008-03-09 16:45 ` safely apply new rulesets: iptables-apply Jan Engelhardt
2008-03-10 11:02 ` martin f krafft
2008-03-11 18:54 ` Jan Engelhardt
2008-03-11 19:00 ` martin f krafft
2008-03-11 19:30 ` Jan Engelhardt
2008-03-11 20:29 ` martin f krafft
2008-04-04 6:32 ` martin f krafft
2008-04-10 10:29 ` Jan Engelhardt
2008-04-10 13:34 ` martin f krafft
2008-04-10 13:44 ` martin f krafft
2008-04-16 21:56 ` Martijn Lievaart [this message]
2008-04-17 8:05 ` martin f krafft
2008-04-17 10:12 ` Покотиленко Костик
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=4806760D.3040909@rtij.nl \
--to=m@rtij.nl \
--cc=jengelh@computergmbh.de \
--cc=madduck@madduck.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.