Re: Traffic accounting over ULOG inefficient?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 10, 2004 at 08:05:14PM +0200, Thilo Schulz wrote:
> Since all of the other traffic accounting implementations I have met right now 
> are inflexible, I decided to write my own one. There are some 
> implementations, that parse the byte counters displayed by iptables and feed 
> their traffic databases by this output. A dirty hack in my opinion. Something 
> that knows about traffic instantly is just better .. so ULOG is a bit more 
> interesting.

Make sure to take a look at ulog-acctd before re-inventing a wheel
that has probably already been invented.

> The only thing that disturbs me: Just for counting packet lengths
> queue whole packets to userspace?

You can control how much of the packet should be copied to userspace
in the iptables statement and takt the packet length from the IP header.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany |  lose things."    Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature |  How to make an American Quilt | Fax: *49 721 966 31 29


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux