Re: [squid-users] How to limit upload for a particular source ip/user?

From: Joost de Heer <sanguis@dont-contact.us>
Date: Mon, 22 Aug 2005 09:19:02 +0200 (CEST)

> acl my_net src 10.0.0.1/255.255.255.0
> acl USERA src 10.0.0.1/255.255.255.255
> acl UPLIMIT req_header Content-Length [5-9][0-9]{5,}

And if the size is 10000000? That won't match that regex.

acl UPLIMIT req_header Content-Length [5-9][0-9]{5} [0-9]{7,}

(either 6 digits with a 5-9 at the begin, or 7 or more digits)

Joost
Received on Mon Aug 22 2005 - 01:19:13 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:02 MDT