I'm having problems with the delay pools of squid 2.1patch2, only the 1st
class seems to work, that can also be seen in the cache manager, for the 2nd
and 3rd pools, the "Current:" item of the pool never has number ...

About this subject a also liked to give an idea about a simple system to
limit the abuse of some users from the cache.

It should be simple (for people that knows squid code) to make some access
lists like the ones used for delay pools to limit the number of simulteneous
get's from the same acl.

example:

acl abusing-users src 192.168.22.0/24
limit_simulteneous_gets_access    allow   abusing-users
limit_simulteneous_gets_access    deny    all
limit_simulteneous_gets_aggregate_restore    50 # 5 gets per second for all
of the acl
limit_simulteneous_gets_aggregate_max       200 # 200 gets in a burst for
all of the acl
limit_simulteneous_gets_individual_restore    5 # 5 gets per second per user
limit_simulteneous_gets_individual_max       20 # 20 gets in a burst per
user

Best regards.

[]---------------------------------------------------------------[]
  Pedro Ribeiro
  Online: http://www.isel.pt/~pribeiro/
  IRC(PTnet) Nick: PAntMaR
  e-Mail: Personal:  [EMAIL PROTECTED]
          Admin:     [EMAIL PROTECTED]
[]---------------------------------------------------------------[]

Reply via email to