Re: [squid-users] How to do a limit quota download on a Squid proxy

From: Adrian Chadd <adrian_at_squid-cache.org>
Date: Fri, 10 Jul 2009 18:18:44 +0800

I had specified how to implement proper quota support for a client -
but the project unfortunately fell through.

Its easy to hook into the end of a HTTP request and mark how much
bandwidth was used. The missing piece is a method of "permitting"
network access for users so they can't easily access hundreds of
megabytes in a given download. I had outlined another helper process
to "allow" download quotas in configurable chunks - eg per megabyte.
The other missing piece was to be able to clear all connections from a
given IP or for a given user.

All of these are easy to do if someone has some motivation. :)

Adrian

2009/7/9 tintin_vefg54e654g <maf1488_at_hotmail.fr>:
>
> Hi everyone,
>
> my configuration is as follow :
>
> I have a Mandriva 2009.1 OS, with squid ( + sarg, and mrtg) proxy.
> so, in the purpose to keep few free brandwicth for working using ^^ I would
> like to set limits download.
>
> I don't have users identifications, I see my users by IP adress.
> The matter is I would like to set a quota as a limit of 100Mb per day of
> download per IP adress.
> How is it possible to do such thing.
> is it ? ^^
> if I dare ... most simple way.
>
> ok, thanks for your help,
> see ya' on the forum
>
> Tintin
>
>
> --
> View this message in context: http://www.nabble.com/How-to-do-a-limit-quota-download-on-a-Squid-proxy-tp24410453p24410453.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
>
>
Received on Fri Jul 10 2009 - 10:18:55 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 10 2009 - 12:00:02 MDT