Re: [squid-users] prevent users from downloading very large files from internet ONLY

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 4 Sep 2003 09:19:41 +0200

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/business=hno%40squid-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
Received on Thu Sep 04 2003 - 01:21:48 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:32 MST