From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Green Subject: Re: Traffic accounting over ULOG inefficient? Date: Thu, 10 Jun 2004 14:25:49 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: References: <200406102005.20214.arny@ats.s.bawue.de> Mime-Version: 1.0 Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netfilter@lists.netfilter.org Thilo Schulz writes: > > I am still inexperienced with kernel programming, I would be > grateful for any pointers or hints on how to achieve this "real time > traffic tracking" without either having to read out any iptable > counters every 10 minutes or queue entire packets to userspace. > Would a small kernel module do the trick? There is a patch in patch-o-matic for ctnetlink that implements a different type of interface to get these counters from connection tracking but I can't seem to find out any information on it aside from questions about it go unanswered. -- Chris Green "Yeah, but you're taking the universe out of context."