LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   traffic accounting? how? (https://www.linuxquestions.org/questions/linux-networking-3/traffic-accounting-how-149908/)

sciobanu 02-24-2004 07:07 AM

traffic accounting? how?
 
We want to share an internet connection through a linux router but for this we have to have an traffic accounting tool to share the costs fairly. I want to know if enybody experinced a good application and witch are the requirements for it.
best regards,
silviu

[bc]paddy.hm 07-08-2004 05:39 AM

How do you think about:
http://freshmeat.net/projects/sita/

newpenguin 07-08-2004 08:46 AM

when using iptables

iptables -vnL on every rule.

write script to collect information.

otherwise u can use radius to count the traffic.
may be ntop can also do the job.

RINO2004 07-08-2004 11:00 AM

if you want to see how many mb every user downloaded or sent use nTop -this is a powerfull tool with Web enviroment. Needs: php+mysql+apache

http://www.ntop.org

[bc]paddy.hm 07-08-2004 11:09 AM

Quote:

Originally posted by RINO2004
if you want to see how many mb every user downloaded or sent use nTop -this is a powerfull tool with Web enviroment. Needs: php+mysql+apache

http://www.ntop.org

Ntop needs mysql and a apache, thats new for me, but teach me.

1. If you restart ntop or your system, ntop lost all recorded data.
-> Thats not really fine.
2. If you have bad networkcard or bad kernel-modules libpcap dropps a lot if traffic.
-> ntop is working with libpcap.
3. If you have high cpu or network load eg 8MByte/s on a 100MBit network libpcap is dropping upto 95% traffic,
so iptables do not this.
(SITA is working good with iptables)

I test ntop in our networks it really dropps a lot....


All times are GMT -5. The time now is 09:33 PM.