hey dudes, i read a few related questions but i dont think they're related.
I have a centOS box that ive set up as a gateway with iptables (among many things such as proxy cache using squid). my lan consists of some 30 machines, all of which connect to the internet through the gateway's eth0 (which is the only computer connected to the dsl modem via its eth1). Facing a limited download monthly quota, i installed bandwidthd on the gateway to monitor my lan pcs' bandwidth usage and had it set to monitor eth0. all of the network traffic coming to the gateway is forwarded to port 3128 for squid to handle, but on bandwidthd, it doesnt seem to be accurate. for instance, a 3.3 MB download on one of the computers after starting bandwidthd states 4.8 M for that computer under HTTP. i understand that by monitoring eth0 im monitoring all network activity and not just internet usage (port 80 etc..) but isnt the http tab in bandwidthd relevant to packets on port 80 or internet usage? thing is i just need to know how much of the internet download quota each ip used on a daily basis. what to do :) ?