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

From: Leonardo Carneiro <lscarneiro_at_veltrac.com.br>
Date: Thu, 09 Jul 2009 14:05:02 -0300

Sorry, but why can't i use delay pools for this? Using individual
buckets with a 100Mb size, a 0 regen rate and a 100% initial bucket
level will not provide 100Mb of transfer at full speed and after that
limit the speed to 0?

Leonardo Rodrigues escreveu:
> Leonardo Carneiro escreveu:
>> Hi tintin.
>>
>> You can use delay pools.
>>
>> tintin_vefg54e654g escreveu:
>>>
>>> The matter is I would like to set a quota as a limit of 100Mb per
>>> day of
>>> download per IP adress.
>>
>
> delay pools cant be used for that.
>
> delay pools can be used to limit transfer rates and not total
> transfers.
>
> squid cannot limit 100Mb per day, for example, with stock
> configuration. You surely can acchieve that with rewrite and external
> ACLs, but you'll have to code that or maybe found a already coded one.
>
> with simply configuration, you cannot achieve this kind of
> limitation (Mb transfered/day/IP). Not even with delay pools.
>
>
>

-- 
*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarneiro_at_veltrac.com.br <mailto:lscarneiro_at_veltrac.com.br>
http://www.veltrac.com.br <http://www.veltrac.com.br/>
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/
	
Received on Thu Jul 09 2009 - 17:05:35 MDT

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