From: Henrik Nordstrom <hno@marasystems.com>
To: Amin Azez <azez@ufomechanic.net>
Cc: netfilter-devel@lists.netfilter.org, netfilter@lists.netfilter.org
Subject: Re: [ANNOUNCE] Release of nf-HiPAC 0.9.0
Date: Wed, 28 Sep 2005 21:46:47 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.61.0509282125120.8767@filer.marasystems.com> (raw)
In-Reply-To: <433AA30E.7060709@ufomechanic.net>
On Wed, 28 Sep 2005, Amin Azez wrote:
> Does it also remove the "upload rules in bulk" issue of iptables and
> make use of links lists (or trees) to upload small changes singly?
Yes. nf-HiPAC uses netlink messages for rule updates, carrying just the
updates. It does not exchange complete rulesets on each update like
iptables does.
> I recall someone released a re-write a while ago that took care of this,
> but this seems to do rule-factoring too to reduce the number of check
> operations.
iptables per definition must always send a whole new iptable (compiled
ruleset) to the kernel as one big blob as it is the userspace who
constructs the iptable and the kernel has no knowledge (or capability) to
modify an iptable inplace, only replace it with another submitted by
userspace.
As nf-HiPAC is using another internal representation of the rules it does
not need this, and the updates carry only the rules you are updating.
> Speaking under fear of blasphemy I'm wondering what stops this becoming
> iptables proper?
Not much. It is already very near a full replacement of iptables filter
table. It does not yet have support for the other table types but it's
trivial to add. The nat table has to wait for the completetion of the
restructuring of the nat code currently taking place however, but after
2.6.14 this should not be a problem to implement from what I have
understood. The problem currently is that the nat core nat is very tightly
coupled with iptable_nat, but this is being addressed already by the
Netfilter team.
> OK, it would want linking to nf_conntrack instead of ip_conntrack
This should be trivial. The optional conntrack dependency is already well
isolated in a separate very small module. Some of this isolated code
obviously needs to be changed when using nf_conntrack but not much.
> and a v6 version doing type stuff, but it seems the biz.
IPv6 requires a bit more work due to the larger key size in
source/destination addresses. HiPAC currently only implements up to 32-bit
lookup dimensions (source/destination/protocol/ports etc..).
Regards
Henrik
next prev parent reply other threads:[~2005-09-28 19:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-26 2:41 [ANNOUNCE] Release of nf-HiPAC 0.9.0 Michael Bellion
2005-09-28 14:05 ` Amin Azez
2005-09-28 19:46 ` Henrik Nordstrom [this message]
2005-10-02 11:20 ` Bart De Schuymer
2005-10-02 12:30 ` Michael Bellion
2005-11-09 22:35 ` Bart De Schuymer
2005-11-10 1:07 ` Michael Bellion
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=Pine.LNX.4.61.0509282125120.8767@filer.marasystems.com \
--to=hno@marasystems.com \
--cc=azez@ufomechanic.net \
--cc=netfilter-devel@lists.netfilter.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;
as well as URLs for NNTP newsgroup(s).