From: noa levy <levynoa@yahoo.com>
To: netfilter@vger.kernel.org, Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
Subject: Re: Dynamically adding rules - are connection tracking states maintained?
Date: Thu, 1 May 2008 13:22:47 -0700 (PDT) [thread overview]
Message-ID: <460876.13814.qm@web57307.mail.re1.yahoo.com> (raw)
In-Reply-To: <4817B11E.9010803@plouf.fr.eu.org>
Thank you again for your response. Suppose I do want drop existing connections, but I don't want to add the "drop" rule above the "allow established" rule, for performance reasons. Does netfilter provide any API for flushing the conntrack table (all of it or specific entries)? Will stopping the firewall completely flush these entries?
--- On Tue, 4/29/08, Pascal Hambourg <pascal.mail@plouf.fr.eu.org> wrote:
> You are asking the wrong question. Iptables is a packet
> filter, it does
> not filter "sessions" (or connections). As
> already said, the conntrack
> table is not affected by rule deletion/insertion. So
> whether packets
> belonging to existing connections are allowed or not
> depends on the new
> ruleset. If the new ruleset says to ACCEPT packets in the
> ESTABLISHED
> state, then established connections are still allowed.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
next prev parent reply other threads:[~2008-05-01 20:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-28 22:27 Dynamically adding rules - are connection tracking states maintained? noa levy
2008-04-29 23:37 ` Pascal Hambourg
2008-05-01 20:22 ` noa levy [this message]
2008-05-01 22:44 ` Josh Cepek
2008-05-01 22:56 ` Petr Pisar
2008-05-02 1:10 ` Pablo Neira Ayuso
-- strict thread matches above, loose matches on Subject: below --
2008-04-24 16:12 noa levy
2008-04-24 19:24 ` Pascal Hambourg
2008-04-25 17:39 ` Jan Engelhardt
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=460876.13814.qm@web57307.mail.re1.yahoo.com \
--to=levynoa@yahoo.com \
--cc=netfilter@vger.kernel.org \
--cc=pascal.mail@plouf.fr.eu.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