usage tracking

Joseph Sinclair plug-discussion at stcaz.net
Sat Oct 20 10:16:06 MST 2012


iptables can do traffic accounting (I think Lisa gave some good pointers there), but you might also want to *control* the bandwidth usage (say throttle to a low speed when you get over 80% of your limit, or block YouTube after it consumes XX% of the limit).
For that the "tc" utility may be used to manage the IP traffic control features of the Linux kernel on your gateway box.
TC is fairly complicated (unless you read about traffic queuing disciplines for fun), and the only GUI tool I know of, ktctool(http://ktctool.berlios.de/) is a bit old; last updated in 2006.
You might be able to find a few other ui options with some careful google searching (rather high junk ratio in a couple test searches I did).

On 10/20/2012 08:38 AM, Derek Trotter wrote:
> My ISP imposes a monthly quota.  If the total amount of data I download and upload exceeds that quota I get billed extra. Everything I send or receive passes through my full time linux box. Is there something I can install on it that would monitor and log how much data passes through eth0?
> 
> thanks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20121020/4980fbba/attachment.pgp>


More information about the PLUG-discuss mailing list