From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl-Daniel Hailfinger Subject: ACCOUNT target future (pkttables) Date: Wed, 30 Mar 2005 12:16:03 +0200 Message-ID: <424A7C63.1050705@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: To: Netfilter Development Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org 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)? Regards, Carl-Daniel -- http://www.hailfinger.org/