This is a discussion on Re: [squid-users] prevent users from downloading very large files from internet ONLY within the Squid Users forums, part of the Web Server and Related Forums category; On Thursday 04 September 2003 08.08, Karmila Sari wrote: > acl weblocal dst 192.168.1.0/255.255....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Thursday 04 September 2003 08.08, Karmila Sari wrote:
> acl weblocal dst 192.168.1.0/255.255.255.0 > acl subnetA src 192.168.2.0/255.255.255.0 > acl SubnetB src 192.168.3.0/255.255.255.0 > > reply_body_max_size 1048576 allow subnetA #10MB > reply_body_max_size 1048576 allow subnetB #10MB > reply_body_max_size 0 allow weblocal #unlimited The first reply_body_max_size Squid finds matchin the request is used, so for subnetA or subnetB the last rule will never ever be reached. I tink you want to move this rule above the other two.. Regards Henrik -- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/busine...quid-cache.org If you need commercial Squid support or cost effective Squid or firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, info@marasystems.com |