[plug] determining network usage by ip-address

Adrian Chadd adrian at creative.net.au
Sun Sep 2 17:42:10 WST 2007


On Sun, Sep 02, 2007, David Buddrige wrote:

> However, I do have a limited [1GB] monthly download limit and it would
> be handy to see how much each of us uses it.  I have set up my own
> web-browser to also connect via squid [on the same machine] - my
> question is this:
> 
> Is there any way to get squid to tell me how much network traffic is
> going through squid based on individual ip addresses ? 

Yes.

(Hint: grab Calamaris which I -think- does per-client traffic
summaries, and assign each of you -static- IP addresses internally.)

You then need to do something in iptables if you want similar accounting
for NATted traffic.




Adrian




More information about the plug mailing list