Search squid archive

Re: How to limit upload for a particular source ip/user?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux