On Fri, 13 May 2005 dhaval thakar wrote : > >dear all > i want to ristrict download for my user 3mb/day > >if he crossed his net should get blocked >even if he was just surfing and occupied 3mb >
Taken from squid.conf # The coss store type: # # block-size=n defines the "block size" for COSS cache_dir's. # Squid uses file numbers as block numbers. Since file numbers # are limited to 24 bits, the block size determines the maximum # size of the COSS partition. The default is 512 bytes, which # leads to a maximum cache_dir size of 512<<24, or 8 GB. Note # you should not change the coss block size after Squid # has written some objects to the cache_dir. # # Common options: # # read-only, this cache_dir is read only. # # max-size=n, refers to the max object size this storedir supports. # It is used to initially choose the storedir to dump the object. # Note: To make optimal use of the max-size limits you should order # the cache_dir lines with the smallest max-size value first and the # ones with no max-size specification last. # # Note that for coss, max-size must be less than COSS_MEMBUF_SZ # (hard coded at 1 MB). # try reading the file for more info rgds Sameer 'You will be what you WILL to Be' -James Allen -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

