Re: [squid-users] reply_body_max_size

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Wed, 11 Nov 2009 10:22:55 +0100

tis 2009-11-10 klockan 22:06 -0400 skrev Gerson "fserve" Barreiros:
> I want to block any file on the "external network" (internet) with
> size bigger then 512 MB and do not block that for internal network.
>
> tried that way:
>
> acl internal_network dstdomain xxx.xxx.xxx.xxx
> reply_body_max_size 512 MB !internal_network
>
> and
>
> acl internal_network src xxx.xxx.xxx.xxx
> reply_body_max_size 512 MB !internal_network
>
> but doesnt work.

Both should work, but with very different results..

the first limits any requests except for http://xxx.xxx.xxx.xxx/...

the second limits requests from clients with ip other than
xxx.xxx.xxx.xxx

Regards
Henrik
Received on Wed Nov 11 2009 - 09:23:01 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 11 2009 - 12:00:03 MST