Skip to contentSkip to conversation

IP accounting (IP quota) per user

DISCUSSION Mikado 3 participants 4 messages Feb 14, 2005 – Feb 20, 2005

lore
Share & tools
lore

Mikado

author
#0 lore raw

I know a patch which logs IP traffic quota per user but this patch is not up to date now (
http://ramses.smeyers.be/homepage/useripacct ) . I want to know if there is a useful patch or tool for bandwidth accounting per user because I need a complete bandwidth management solution for my hosting company.

Mikado,
Thank you.

__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo

#1 lore raw

Hello Mikado,

Monday, February 14, 2005, 1:09:26 PM, you wrote:

M> I know a patch which logs IP traffic quota per user M> but this patch is not up to date now (
M> http://ramses.smeyers.be/homepage/useripacct ) . I M> want to know if there is a useful patch or tool for M> bandwidth accounting per user because I need a M> complete bandwidth management solution for my hosting M> company.

Try NetAMS, www.netams.com
free, complete traffic monitoring\accounting soultion for LAN

Signature · 2 lines
Best regards,
 Maxim           mailto:[email protected]
#2 lore raw

IP traffic/accounting per user

Hello ..

I have installed NetAMS on my IPTABLE server to monitor per IP traffic and based on that accounting them..

It generating html file regurely but it is not updated...i.e it show Zero In/Out traffic for hour/month/week etc.

when i run netams it show below message at the end.

NeTAMS is now operational, 20.02.2005 09:54:31
Shutdown signal received at 20.02.2005 09:54:31
NeTAMS exiting at 20.02.2005 09:54:31

Pl. help me for proper configuration..

thanks in advance

suhag

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

#3 lore raw

Re: IP traffic/accounting per user

Hello spdesai,

Sunday, February 20, 2005, 6:18:39 AM, you wrote:

sgn> Hello ..

sgn> I have installed NetAMS on my IPTABLE server to monitor per IP traffic and sgn> based on that accounting them..

sgn> It generating html file regurely but it is not updated...i.e it show Zero sgn> In/Out traffic for hour/month/week etc.

sgn> when i run netams it show below message at the end.

sgn> NeTAMS is now operational, 20.02.2005 09:54:31 sgn> Shutdown signal received at 20.02.2005 09:54:31 sgn> NeTAMS exiting at 20.02.2005 09:54:31

sgn> Pl. help me for proper configuration..

you need to setup proper data-source

I use netflow as data-source, but netams allows to use iptables (ULOG or IPQ) for d-s.

you must have this lines in yours netams.cfg

service data-source 1
type ip-traffic
source ulog 1

configure iptables to make it route traffic to netams. iptables -A FORWARD -j ULOG --ulog-nlgroup 1

Read documentation.. at http://www.netams.com/doc
english version is totally incomplete :( only russian version is availible.
but you can try to load it via WWW translate service.
http://www.online-translator.com/ (register to get access to computer-biased dictionaries)

I've attached simple Netams cfg file from the documentation. It uses libpcap (ethernet in promisc mode) as data-source and mysql as storage.

Signature · 2 lines
Best regards,
 Maxim           mailto:[email protected]