[clug] enforcing network quotas.

Kim Holburn kim.holburn at anu.edu.au
Wed Dec 17 00:56:59 GMT 2003

I have written a perl script that can enforce network quotas on a linux router.  I wrote it because no-one had anything that would do what I wanted.  I am releasing it GPL for anyone interested.  Actually as written it only sets off an email alarm.  You will have to add the enforcement bit, I'm still struggling to understand tc (http://lartc.org/howto/lartc.ratelimit.single.html).

If you find a better way to do this let me know.

Here it is:

It needs ipstat.pl and net-acct.

Kim Holburn  
Network Consultant - Telecommunications Engineering
Research School of Information Sciences and Engineering
Australian National University - Ph: +61 2 61258620 M: +61 0417820641
Email: kim.holburn at anu.edu.au  - PGP Public Key on request

Life is complex - It has real and imaginary parts.
     Andrea Leistra (rec.arts.sf.written.Robert-jordan)

More information about the linux mailing list