All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Jarosch <thomas.jarosch@intra2net.com>
To: netfilter-devel@lists.netfilter.org
Cc: voja.t@mail.nis-naftagas.co.yu
Subject: Re: ip accounting
Date: Thu, 20 May 2004 16:04:46 +0200	[thread overview]
Message-ID: <200405201604.46581.thomas.jarosch@intra2net.com> (raw)
In-Reply-To: <40ACAFDA.7497.4A56EAD@localhost>

Hello Toholj,

> I heard that there was a discussion about "accounting based on ip address
> upl/dnl". If that's right, could someone send me the whole story?

There are currently four ways to do traffic account:

1. Setup counting rules that do nothing. Readout the counters using
iptables/libiptc. Not a very efficent way if you want to read
out the counters every second, but easy to setup.

"iptables -n  -v -L" for example shows the packet counters.

2. Use the ipt_account match from here:
http://www.barbara.eu.org/~quaker/ipt_account/
(Wasn't there an english version somewhere?)

3. ulog-based traffic accounting:
http://savannah.nongnu.org/projects/ulog-acctd

4. Use the high performance ipt_ACCOUNT target from here:
http://www.intra2net.com/opensource/ipt_account/

It's more difficult to setup, but very efficent ;-)

Cheers,
Thomas

  reply	other threads:[~2004-05-20 14:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-20 11:17 ip accounting Toholj Vojislav
2004-05-20 14:04 ` Thomas Jarosch [this message]
2004-05-21  9:15   ` Piotr Gasidło
  -- strict thread matches above, loose matches on Subject: below --
2003-09-17 14:41 IP accounting Carles Xavier Munyoz Baldó

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=200405201604.46581.thomas.jarosch@intra2net.com \
    --to=thomas.jarosch@intra2net.com \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=voja.t@mail.nis-naftagas.co.yu \
    /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.