Re: [squid-users] Fixing Squid configuration for caching proxy?

2021-02-01 Thread Eliezer Croitoru
: Alex Rousskov Cc: squid-users@lists.squid-cache.org Subject: Re: [squid-users] Fixing Squid configuration for caching proxy? Alex, thanks for the swift response. Your help is very much appreciated! Here are the logs, but first to mention, from the server that is going through the Squid, I am

Re: [squid-users] Fixing Squid configuration for caching proxy?

2021-01-29 Thread Amos Jeffries
On 30/01/21 8:57 am, Alex Rousskov wrote: On 1/29/21 12:56 PM, Milos Dodic wrote: Here are the logs, but first to mention, from the server that is going through the Squid, I am using curl -k (-k to ignore SSL insecure warnings atm). From the Squid iself, I use squidclient, as using curl from Sq

Re: [squid-users] Fixing Squid configuration for caching proxy?

2021-01-29 Thread Alex Rousskov
On 1/29/21 6:06 PM, Milos Dodic wrote: > The log is very long :) > I think I found the important part though, but you might need more than > this. No, the snippets you found show an already released cache entry. We still do not know why it was released earlier. > If you need more, could you tel

Re: [squid-users] Fixing Squid configuration for caching proxy?

2021-01-29 Thread Milos Dodic
Hi Alex, The log is very long :) I think I found the important part though, but you might need more than this. This is the cache log (ALL,9), that triggered when the server tried to curl a new file, going through Squid: --

Re: [squid-users] Fixing Squid configuration for caching proxy?

2021-01-29 Thread Alex Rousskov
On 1/29/21 12:56 PM, Milos Dodic wrote: > Here are the logs, but first to mention, from the server that is going > through the Squid, I am using curl -k (-k to ignore SSL insecure > warnings atm). From the Squid iself, I use squidclient, as using curl > from Squid doesn't do much. It is possible

Re: [squid-users] Fixing Squid configuration for caching proxy?

2021-01-29 Thread Milos Dodic
Alex, thanks for the swift response. Your help is very much appreciated! Here are the logs, but first to mention, from the server that is going through the Squid, I am using curl -k (-k to ignore SSL insecure warnings atm). From the Squid iself, I use squidclient, as using curl from Squid doesn't

Re: [squid-users] Fixing Squid configuration for caching proxy?

2021-01-29 Thread Alex Rousskov
On 1/28/21 1:34 PM, Milos Dodic wrote: > I have noticed that the test server also doesn't cache anything > So if I try to go for a file in S3, it says MISS, and after that, MISS > again, and I see no new objects in cache being created. > If I try the same thing from the proxy itself, I get the MI

Re: [squid-users] Fixing Squid configuration for caching proxy?

2021-01-28 Thread Milos Dodic
I have redeployed everything, with most basic configuration, and use the proposed config for ssl_bump. The test server that goes through Squid now doesn't get tunneled, and instead checks the cache. I get something like this NONE/200 TCP_MISS/200 But I have noticed that the test server also doesn'

Re: [squid-users] Fixing Squid configuration for caching proxy?

2021-01-26 Thread Alex Rousskov
On 1/26/21 1:54 PM, Milos Dodic wrote: > when the test server goes for a picture I have stored somewhere in > the cloud, the squid access log shows "TCP_TUNNEL/200". But when I > try from the proxy itself with squidclient tool, I get > "TCP_MEM_HIT/200" Given the very limited information you hav

[squid-users] Fixing Squid configuration for caching proxy?

2021-01-26 Thread Milos Dodic
I am trying to have a setup where Squid is going to act as a transparent forward proxy, with caching enabled. I am leaning on a setup like here: https://aws.amazon.com/blogs/security/how-to-add-dns-filtering-to-your-nat-instance-with-squid/ (though I've tried a few similar ones as well). The requi