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

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....


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-04-2003
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] prevent users from downloading very large files from internet ONLY

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:38 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0