[EMAIL PROTECTED] wrote:
*************************************************
This message has been scanned by IMSS NIT-Silchar



Can anyone one tell here how to set up the limit for each user in squid
for surfing the net ?

That shoule be computed on daily basis, comulatively added to remaining
days and hence week and month and yearly basis, the size should be added
automatically.

fpr example, fpr a user usr1, if he surfs 20 mb daily, at the end of 6
days, the total should up in the week column, and so on to the month
column and year column.


No such things as 'columns' in HTTP. Please re-consider yoru design in light of the way HTTP works:

  User requests Object,
  Squid provides requested object,
  Object has a given size.
  Repeat.

time does not exist as a part of the protocol. Only an ever present now, with accumulation of the entire past.

All that can be done is with delay_pool's, limiting bandwidth speed of retrieval for certain objects.

Please read and understand the following pages (whichever version most closely matches your squid release):

http://www.squid-cache.org/Versions/v2/2.7/cfgman/delay_class.html
http://www.squid-cache.org/Versions/v2/2.7/cfgman/delay_pools.html
http://www.squid-cache.org/Versions/v2/2.7/cfgman/delay_parameters.html
http://www.squid-cache.org/Versions/v2/2.7/cfgman/delay_pool_access.html

http://www.squid-cache.org/Versions/v3/3.0/cfgman/delay_class.html
http://www.squid-cache.org/Versions/v3/3.0/cfgman/delay_pools.html
http://www.squid-cache.org/Versions/v3/3.0/cfgman/delay_pool_access.html
http://www.squid-cache.org/Versions/v3/3.0/cfgman/delay_parameters.html



Would appreciate if the acls are provided with suidtable examples for
directly implementing in the squid.conf file.


This is something you need to understand the Squid capabilities at least moderately before we can take into config details.


Amos
--
Please use Squid 2.7.STABLE4 or 3.0.STABLE8

Reply via email to