On Tue, 5 Apr 2011 16:34:22 -0400, Mohammad Fattahian wrote:
Hi folk,
I want to restric my users upload (Attachment) capacity.
I'm using Squid Version 2.6.STABLE21
This is one part of my configuration:
acl UPLIMIT req_header Content-Length [5-9][0-9]{5,}
acl UPMETH method post
http_access deny group1 UPMETH UPLIMIT
This blocks anything => 500 KB
I just tested in Yahoo mail and it works but it does not work in
Gmail. I
understood the Gmail use CONNECT method to upload the files.
Any suggestion?
Take a read through:
http://www.squid-cache.org/Doc/config/request_body_max_size/
CONNECT is a tunnel containing a whole separate stream of HTTP requests
and replies wrapped in SSL (aka HTTPS or https://).
In squid-2.6 there is nothing which you can do about it short of
blocking HTTPS entirely.
Amos