Re: [squid-users] Rate limiting inbound requests in squid conf

From: Sekar Duraisamy <sekarit_at_gmail.com>
Date: Fri, 23 Nov 2012 18:48:18 +0530

Hi Amos,

Could you help me on this?

Thanks,
Sekar

> Hi Elizer,
>
> Ok. I can try with external_acl ... I need to configure the domain
> based dropping / min /sec..
>
> Could you please give me an examples ?
>
> It would be very great help.
>
> Thanks,
> Sekar
>
> On Fri, Nov 23, 2012 at 5:52 PM, Eliezer Croitoru <eliezer_at_ngtech.co.il> wrote:
>> Hey Sekar,
>>
>> Basic IPTABLES setup should be able to do that for you.
>> it's better to do it in IPTABLES level then doing it in the upper level of
>> the application such as squid.
>> It will allow the request to be rejected\close properly in the network level
>> while what squid will prefer or will send error page instead of the content
>> which I dont really like.
>>
>> If you are willing to sacrifice some performance you can use external_acl to
>> count the requests per sec per ip and to allow or deny by that the request
>> and present to the client a deny_info.
>>
>> Regards,
>> Eliezer
>>
>>
>> On 11/23/2012 1:55 PM, Sekar Duraisamy wrote:
>>>
>>> Hi Team,
>>>
>>> Can we limit the inbound request rate in Squid configuration like 30
>>> request/min , 10 request/sec like this regardless of the size.
>>>
>>> Thanks,
>>> Sekar
>>>
>>
>> --
>> Eliezer Croitoru
>> https://www1.ngtech.co.il
>> sip:ngtech_at_sip2sip.info
>> IT consulting for Nonprofit organizations
>> eliezer <at> ngtech.co.il
Received on Fri Nov 23 2012 - 13:18:25 MST

This archive was generated by hypermail 2.2.0 : Sat Nov 24 2012 - 12:00:04 MST