[squid-users] 6.2: Unsupported or unexpected from-helper annotation with a name reserved for Squid use
Francesco Chemolli
gkinkie at gmail.com
Sun Sep 17 14:55:32 UTC 2023
Hi David,
PR 1481 <https://github.com/squid-cache/squid/pull/1481> should address
your problem, it needs to be reviewed,
merged to trunk, and backported to v6 so don't hold your breath,
but it should be just a matter of time.
Once done, you will also have to add a configuration line to your
squid.conf (manual
<http://www.squid-cache.org/Doc/config/cache_log_message/>)
On Mon, Aug 28, 2023 at 10:59 PM Francesco Chemolli <gkinkie at gmail.com>
wrote:
> That's a good question; not right now, unless you're willing to patch the
> squid sources.
> In that case, just remove the debugs() statement in lines 200-203 of file
> src/helper/Reply.cc .
>
>
>
> On Mon, Aug 28, 2023 at 9:52 PM David Touzeau <david at articatech.com>
> wrote:
>
>> Thanks You
>>
>> As these changes affect many things for us ( use tags for statistics /
>> elasticsearchs) and it seems, this behavior is just a warning (seems squid
>> still work as expected like note acls)
>>
>> Is there a way to remove these warnings because they increase I/O and
>> cache.log dramatically.
>>
>> regards
>>
>> On 28/08/2023 22:46, Francesco Chemolli wrote:
>>
>> Hi David,
>> you should use
>> itchart_=PASS
>>
>> The trailing underscore signals Squid that this is a custom header.
>>
>> On Mon, Aug 28, 2023 at 3:54 PM David Touzeau <david at articatech.com>
>> wrote:
>>
>>>
>>> Hi
>>>
>>> Since 6.2 ( aka migrating from 5.8 )
>>>
>>> Squid claim about token sent by external_acl_helper
>>>
>>> the external acl helper send
>>> "OK itchart=PASS user=dtouzeau category=143 category-name=Trackers
>>> clog=cinfo:143-Trackers;"
>>>
>>> squid claim
>>> 2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected from-helper
>>> annotation with a name reserved for Squid use: itchart=PASS
>>> advice: If this is a custom annotation, rename it to add a trailing
>>> underscore: itchart_
>>> current master transaction: master278
>>> 2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected from-helper
>>> annotation with a name reserved for Squid use: category=143
>>> advice: If this is a custom annotation, rename it to add a trailing
>>> underscore: category_
>>> current master transaction: master278
>>> 2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected from-helper
>>> annotation with a name reserved for Squid use: category-name=Trackers
>>> advice: If this is a custom annotation, rename it to add a trailing
>>> underscore: category-name_
>>> current master transaction: master278
>>> 2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected from-helper
>>> annotation with a name reserved for Squid use: clog=cinfo:143-Trackers;
>>> advice: If this is a custom annotation, rename it to add a trailing
>>> underscore: clog_
>>> current master transaction: master278
>>> 2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected from-helper
>>> annotation with a name reserved for Squid use: itchart=PASS
>>> advice: If this is a custom annotation, rename it to add a trailing
>>> underscore: itchart_
>>> current master transaction: master278
>>>
>>> Did the helper instead of "itchart=PASS" must send
>>>
>>> "itchart_=PASS"
>>> or
>>> "itchart_PASS"
>>>
>>> ?
>>>
>>>
>>>
>>>
>>> --
>>> David Touzeau - Artica Tech France
>>> Development team, level 3 support
>>> ----------------------------------
>>> P: +33 6 58 44 69 46
>>> www: https://wiki.articatech.com
>>> www: http://articatech.net
>>>
>>> _______________________________________________
>>> squid-users mailing list
>>> squid-users at lists.squid-cache.org
>>> https://lists.squid-cache.org/listinfo/squid-users
>>>
>>
>>
>> --
>> Francesco
>>
>>
>> --
>> David Touzeau - Artica Tech France
>> Development team, level 3 support
>> ----------------------------------
>> P: +33 6 58 44 69 46
>> www: https://wiki.articatech.com
>> www: http://articatech.net
>>
>>
>
> --
> Francesco
>
--
Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20230917/baa507f7/attachment.htm>
More information about the squid-users
mailing list