[squid-users] re-directing through squid using MAC

2021-01-29 Thread Wolfgang Paul Rauchholz
I got two questions actualy. I want to re-direct all traffic certain users (parental control...) through squid. (1) What i the best possibility to do so independently of whether they are on the LAN or are outside home? (2) If I only want to re-direct when they are on the LAN; can I do this by cap

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] Squid "suspending ICAP service for too many failures"

2021-01-29 Thread Alex Rousskov
On 1/29/21 11:55 AM, Andrea Venturoli wrote: > I see Squid connections to C-ICAP starting to time out: > when the number of errors reach 10, Squid marks squidclamav service as > "suspended". > No big surprise. IIRC, you did not disclose timeout suspicions before. This explanation is news to me,

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] Squid "suspending ICAP service for too many failures"

2021-01-29 Thread Andrea Venturoli
On 1/27/21 6:11 PM, Alex Rousskov wrote: Enable ICAP debugging and study cache.log for relevant messages, especially just before the "suspending ICAP service" message shown above. debug_options ALL,1 93,7 Thanks a lot. As expected, I see Squid connections to C-ICAP starting to time out:

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