Re: [squid-users] Refrain from Cache Manager API requests to reach ICAPs

2021-07-04 Thread squid3

On 2021-07-05 04:42, Alex Rousskov wrote:

On 7/4/21 8:44 AM, Moti Berger wrote:


I established an environment with Squid and Datadog.
It periodically calls the endpoint:

/squid-internal-mgr/counters


Those requests are also sent to the ICAPs.
Is there a way to make Squid not to pass those requests to the ICAPs?


Yes, see the adaptation_access directive. Depending on how these cache
manager requests are accepted/authenticated/etc., you may use
urlpath_regex or other ACLs to identify them.


Use the built-in "manager" ACL in current Squid versions.

Amos
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Refrain from Cache Manager API requests to reach ICAPs

2021-07-04 Thread Alex Rousskov
On 7/4/21 8:44 AM, Moti Berger wrote:

> I established an environment with Squid and Datadog.
> It periodically calls the endpoint:
> 
> /squid-internal-mgr/counters
> 
> 
> Those requests are also sent to the ICAPs.
> Is there a way to make Squid not to pass those requests to the ICAPs?

Yes, see the adaptation_access directive. Depending on how these cache
manager requests are accepted/authenticated/etc., you may use
urlpath_regex or other ACLs to identify them.


HTH,

Alex.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] Refrain from Cache Manager API requests to reach ICAPs

2021-07-04 Thread Moti Berger
Hi

I established an environment with Squid and Datadog.
It periodically calls the endpoint:

/squid-internal-mgr/counters
>

Those requests are also sent to the ICAPs.
Is there a way to make Squid not to pass those requests to the ICAPs?

Thanks,
Moti
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users