Re: [squid-users] Upload ban by domain and POST/GET size

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 16 Jun 2003 11:07:13 +0200

On Monday 16 June 2003 10.27, Andrius Kriučkovas wrote:

> How can this be done? I know the global directive
> request_body_max_size xxx kB, but I cannot combine it with specific
> domains (perhaps other ACL). I've got suggestions to use
> delay-pools, but I am not shure if they limit upload trafic.

As you note the built in request_body_max_size is a bit too limited
for your purpose, but you should be able to make a custom acl via
external_acl_type for this based on the Content-Length header.

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 Mon Jun 16 2003 - 03:05:56 MDT

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