[squid-users] squid cache

2021-02-25 Thread Majed Zouhairy
Health be Upon you, i want to cache certain files, let's say exe, msi... above 20MB and below 300MB, limit the cache directory to 3GB i have no ssl bump not configured version 4.14 how to do that? ___ squid-users mailing list

Re: [squid-users] Problem with upload size limit in squid

2021-02-25 Thread Raj Nagar
Hi Alex, Thanks for your response. Is there any way by which I can enforce these limits on other protocols as https ? On Thu, Feb 25, 2021, 23:33 Alex Rousskov wrote: > On 2/24/21 11:51 PM, Raj Nagar wrote: > > > I am using squid as forward proxy and want to restrict upload of files > > larger

Re: [squid-users] Squid ACL for bypassing ssl-bump

2021-02-25 Thread Alex Rousskov
On 2/25/21 2:07 PM, Justin Michael Schwartzbeck wrote: > I have thus far used dstdomain acl for bypassing ssl bump on sites that > we don't want to decrypt, like banking sites. It seems to work for some > sites, but not for others. Yes, many HTTPS transactions do not expose destination domain

[squid-users] Squid ACL for bypassing ssl-bump

2021-02-25 Thread Justin Michael Schwartzbeck
Hi all, I have thus far used dstdomain acl for bypassing ssl bump on sites that we don't want to decrypt, like banking sites. It seems to work for some sites, but not for others. I see the following post on this from some years back:

Re: [squid-users] transparently proxy squid in a docker container

2021-02-25 Thread Justin Michael Schwartzbeck
I ended up using redsocks for doing the transparent proxy, that is working perfectly for me now. I don't need to configure squid for this after all. On Wed, Feb 24, 2021 at 7:21 AM Justin Schwartzbeck wrote: > I believe I have solved the forwarding loop issue by adding a preceding > rule to -j

Re: [squid-users] Problem with upload size limit in squid

2021-02-25 Thread Alex Rousskov
On 2/24/21 11:51 PM, Raj Nagar wrote: > I am using squid as forward proxy and want to restrict upload of files > larger than 1 MB. I have used following configuration for > same: *request_body_max_size 1 MB*. > But this is not working for me and I am able to upload larger files. > Can someone

Re: [squid-users] My cache gived me a content-length of 0, and a 200 TCP_REFRESH_UNMODIFIED_ABORTED

2021-02-25 Thread Alex Rousskov
On 2/24/21 10:45 AM, Señor J Onion wrote: > I don’t understand why my code behaves differently when it is > receiving the image for the first time, and when it is receiving the > cached image. What you see is a result of two bugs. * An origin server bug: During the second transaction, when

Re: [squid-users] My cache gived me a content-length of 0, and a 200 TCP_REFRESH_UNMODIFIED_ABORTED

2021-02-25 Thread Amos Jeffries
On 25/02/21 4:45 am, Señor J Onion wrote: Thanks Amos - that’s a very kind and thorough explanation. Ok - I understand why the content-length is 0 as the server responded with a 304. Gotcha. Squid in response responds with a 200. And I also understand why it is a REFRESH because the server