From: Joubert Berger <joubertb@gmail.com>
To: netfilter@lists.netfilter.org
Subject: When do iptables take effect when using iptables-restore
Date: Fri, 13 May 2005 11:35:34 -0400 [thread overview]
Message-ID: <63d3731e0505130835640d8da0@mail.gmail.com> (raw)
Say I have 10,000 rules loaded.
I now want to update them, so I edit my file and then run
iptables-restore to load the new rules.
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? Does it flush all the rules and then load the news
ones? Does that mean during this time I don't have iptables
enforcement going on? Or does Iptables-restore load all the rules in
memory and then, when the commit happens, moves pointers around so
that enforcement is in effect all the time?
Another question I have is about connection tracking. Do they get
flushed when we do a save-restore? Say we allowed 10.10.3.3 through,
and currently connection tracking is tracking this IP. Now, we add a
rule to block 10.10.3.3. But, connection tracking is allowing it
through. How does one solve this problem?
--joubert
next reply other threads:[~2005-05-13 15:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 15:35 Joubert Berger [this message]
2005-05-13 15:58 ` When do iptables take effect when using iptables-restore Rakotomandimby (R12y) Mihamina
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=63d3731e0505130835640d8da0@mail.gmail.com \
--to=joubertb@gmail.com \
--cc=joubert@berger-family.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox