Skip to contentSkip to conversation

ip accounting

DISCUSSION Toholj Vojislav 3 participants 3 messages May 20, 2004 – May 21, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

Hello all
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?
Thank you

#1 lore raw

Hello Toholj,

Quoted 2 lines

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

#2 lore raw
Quoted 10 lines · Thomas Jarosch

Hello Toholj,

Quoted 2 lines

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:
(...)
2. Use the ipt_account match from here:
http://www.barbara.eu.org/~quaker/ipt_account/
(Wasn't there an english version somewhere?)

Please use ipt_account, 0.2.x tree. It can be found here:
http://www.barbara.eu.org/~quaker/ipt_account2/

English documentation:
http://www.barbara.eu.org/~quaker/ipt_account2/english/mini-howto.txt

ipt_account version 0.2.x will be soon submitted to netfilter cvs, replacing old one (version 0.1.x).

Signature · 4 lines
Piotr 'QuakeR' Gasidło, BOFH @ pandora.barbara.eu.org
############## sending lusers to /dev/null since 1998
##### Waiting for tomorrow, for a little ray of light
### Waiting for tomorrow just to see your smile again