Search squid archive

Re: Limit number of clients?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>
>> Hi folks,
>>
>> I am interrested in limiting the number of clients which can use our
squid. I am not asking how to limit the connections of one ip address.
Well is the following possible?
>> I would like squid to answer lets say requests from 1000 ip addresses
or clients and redirect all clients above 1000 to a special "resource
limit"
>> page. The 1000 ips are official ips so they are all external.
>> After a given time lets say 300 seconds squid should remove this ip out of
>> the acceptlist so one new client can connect without the "resource limit"
>> page.
>>
>> Has someone a clue how to do this? Even without squid?
>> Any help is greatly appreciated.
>> Thank you, b52
>>
>>
>
>   I can't see any reason , for organising a :
>
>            - Random denial of service setup with SQUID.
>
>  Why do you think this would be needed ?
>
>  M
>
>

There is a webserver/database construction behind the squid where I am not
root on and they have a too much load problem on their database. I provide
several proxies in front of their webserver and because they are not able
to restrict the amount of clients I thought to do that with squid but I
don't have feedback about the load of their crap.
Well its not a random denial of service setup, It is first come first
served for X clients for Y seconds each. Every client more than X will be
asked to try it again later.
An Idea how to do that? I tried already iptables to count the sessions but
I don't know how to implement this...

Thanks, b52




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux