All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rakotomandimby (R12y) Mihamina" <mihamina.rakotomandimby@etu.univ-orleans.fr>
To: netfilter@lists.netfilter.org
Subject: Re: When do iptables take effect when using iptables-restore
Date: Fri, 13 May 2005 17:58:53 +0200	[thread overview]
Message-ID: <1115999933.4561.59.camel@ngeza> (raw)
In-Reply-To: <63d3731e0505130835640d8da0@mail.gmail.com>

On Fri, 2005-05-13 at 11:35 -0400, Joubert Berger wrote:
> Say I have 10,000 rules loaded.

God!

> I now want to update them, so I edit my file and then run
> iptables-restore to load the new rules.

Why wouldn't you deal with a shell script to do so?
With a shell script you would exactly know what rules are applied at a
moment.

> During all this iptables is applying policy on packets.  So, what
> happens between the time I start running iptables-restore and when it
> finishes it? 

If you update your rules, one thing you will have to do is to flush,
anyway. If you dont, you'd append your updates to the existent rules. So
once you flushed, I think your "reore" file is read line by line and the
rules are applied as well as it is read.

But that's just my opinion. I habe no technical arguments, as you
see :-)


-- 
ASPO Infogérance       http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
LUG sur Orléans et alentours (France).
Tél : 02 34 08 26 04 / 06 33 26 13 14



  reply	other threads:[~2005-05-13 15:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13 15:35 When do iptables take effect when using iptables-restore Joubert Berger
2005-05-13 15:58 ` Rakotomandimby (R12y) Mihamina [this message]
2005-05-13 19:22   ` Joubert Berger

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=1115999933.4561.59.camel@ngeza \
    --to=mihamina.rakotomandimby@etu.univ-orleans.fr \
    --cc=netfilter@lists.netfilter.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.