From: Anders Fugmann <afu@fugmann.dhs.org>
To: Harald Welte <laforge@gnumonks.org>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: remove usage of __MOD_XXX_USAGE_COUNT and derivatives
Date: Fri, 10 Jan 2003 16:21:16 +0100 [thread overview]
Message-ID: <3E1EE4EC.7010703@fugmann.dhs.org> (raw)
In-Reply-To: <20030110134959.GE9467@sunbeam.de.gnumonks.org>
Harald Welte wrote:
> On Fri, Jan 10, 2003 at 02:49:31PM +0100, Anders Fugmann wrote:
>
> I don't think that this is necessarry. What is in fact necessarry, is
> increasing the module use count for every rule created. Otherwise it
> would state 'iptable_filter:unused' in case you had 10 dropping rules.
> This used to be the old behaviour, but confused a couple of users... so
> we decided to change it.
Ok - I will split my answer up into two parts.
1. It seems that we agree upon modules should not have their module
count increased because a new module is loaded. This is the current case.
2. If the general design goal is to have modules reflect all rules, I
guess that the sum of all module counts should be equal or greater than
the total number of rules. If this is the case, then where which module
should be increased when inserting the rule "iptables -A INPUT". In
general - Should not iptables_filter's module count be incremented for
every inserted rule in the filter tabel (Same goes for NAT and MANGLE).
I'm asking, as I'm willing to spend some time understanding the system,
and make patches for Netfilter.
Regards
Anders Fugmann
next prev parent reply other threads:[~2003-01-10 15:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-09 21:52 remove usage of __MOD_XXX_USAGE_COUNT and derivatives Anders Fugmann
2003-01-10 13:13 ` Harald Welte
2003-01-10 13:49 ` Anders Fugmann
2003-01-10 13:49 ` Harald Welte
2003-01-10 15:21 ` Anders Fugmann [this message]
2003-01-12 16:36 ` Harald Welte
2003-01-12 22:14 ` Bart De Schuymer
2003-01-13 16:58 ` Anders Fugmann
2003-01-13 22:56 ` Bart De Schuymer
2003-01-13 22:21 ` Anders Fugmann
2003-01-13 23:53 ` Bart De Schuymer
[not found] ` <3E234A92.50606@fugmann.dhs.org>
2003-01-14 1:14 ` Bart De Schuymer
2003-01-11 16:13 ` Bart De Schuymer
2003-01-11 18:36 ` Anders Fugmann
2003-02-16 19:43 ` Anders Fugmann
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=3E1EE4EC.7010703@fugmann.dhs.org \
--to=afu@fugmann.dhs.org \
--cc=laforge@gnumonks.org \
--cc=netfilter-devel@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.