From: Patrick McHardy <kaber@trash.net>
To: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2005@gmx.net>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Re: ACCOUNT target future (pkttables)
Date: Sun, 03 Apr 2005 20:31:28 +0200 [thread overview]
Message-ID: <42503680.10302@trash.net> (raw)
In-Reply-To: <424A7C63.1050705@gmx.net>
Carl-Daniel Hailfinger wrote:
> Hi,
>
> I'm currently writing an ACCOUNT target for ebtables and I feel really
> uncomfortable in duplicating the existing iptables ACCOUNT code, adding
> a few tweaks and releasing it as ebtables ACCOUNT target. The tweaks
> would be:
> - efficient handling of sparsely poulated networks
> - accounting by MAC address
> - 64bit counters (optional)
> - saturated counters (optional)
> - choice of what to count (layer 2/3 length, packets, src/dst)
>
> Some time ago, I found notes from a netfilter developer workshop about
> future directions (reducing code duplication, switching to pkttables...)
> and my work would counteract your plans to reduce code duplication. Is
> there any working code using the new framework and does it make sense
> for me to write my code only for the new framework (will that be merged
> eventually into mainline)?
There is none (or almost none, not sure) pkttables code yet. A better
approach than duplicating everything is to split out the core and make
it useable by both modules. BTW, have you looked at the tc action
API? It may be better suited because all traffic passes through it.
Regards
Patrick
prev parent reply other threads:[~2005-04-03 18:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-30 10:16 ACCOUNT target future (pkttables) Carl-Daniel Hailfinger
2005-04-03 18:31 ` Patrick McHardy [this message]
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=42503680.10302@trash.net \
--to=kaber@trash.net \
--cc=c-d.hailfinger.devel.2005@gmx.net \
--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.