<quote who="[EMAIL PROTECTED]">

> can you get squid to limit people's download per day?
> 
> What I would like to do is allow each person from a group to download 10meg 
> per day from the internet. Is this possible?
> 
> I thought I saw someting in the config file a while ago. Or I guess I was
> drunk at the time and miss read the config file. :)
> 
> Thanks
> 
> Kevin
> 

Check out sarg <http://web.onda.com.br/orso/> - it doesn't quite do what you
want, but it has a few scripts that could, potentially (I haven't tried them
and can't verify that they work), if you set up authentication on the proxy,
do something similar to what you want

Basically, as sarg is compiling it's reports, you can specify that the names
of anyone with more than X mbytes in the period you're looking at (passable
to sarg as command line arguments, so you can specify, eg, last 24 hours,
since 6am today, etc) is put into a file... You can then specify in
squid.conf that usernames in this file are not allowed access to the
cache...

All that's required then is an hourly cronjob to update the list, or
something similar..

Again, I don't know how well this works, and it obviously has loopholes, but
it's the closest thing i know of to what you are after
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to