[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-users
Subject:    Re: [squid-users] 6.2: Unsupported or unexpected from-helper annotation with a name reserved for Squ
From:       Francesco Chemolli <gkinkie () gmail ! com>
Date:       2023-08-28 20:59:50
Message-ID: CA+Y8hcOwENoGeAAFgRTDikePJ2EakkaH0n-_fdZ6c8eQp=Jq=w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@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@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

[Attachment #5 (text/html)]

<div dir="ltr">That&#39;s a good question; not right now, unless you&#39;re willing \
to patch the squid sources.<div>In that case, just remove the debugs() statement in \
lines 200-203 of file src/helper/Reply.cc \
.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Mon, Aug 28, 2023 at 9:52 PM David Touzeau &lt;<a \
href="mailto:david@articatech.com">david@articatech.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">  
    
  
  <div bgcolor="#FFFFFF">
    <font face="monospace">Thanks You<br>
      <br>
      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)<br>
      <br>
      Is there a way to remove these warnings because they increase I/O
      and cache.log dramatically.<br>
      <br>
      regards<br>
    </font><br>
    <div>On 28/08/2023 22:46, Francesco Chemolli
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi David,<br>
        <div>     you should use</div>
        <div>itchart_=PASS</div>
        <div><br>
        </div>
        <div>The trailing underscore signals Squid that this is a custom
          header.</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Aug 28, 2023 at
          3:54 PM David Touzeau &lt;<a href="mailto:david@articatech.com" \
target="_blank">david@articatech.com</a>&gt;  wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">  <div \
bgcolor="#FFFFFF"> <br>  Hi<br>
            <br>
            Since 6.2 ( aka migrating from 5.8 ) <br>
            <br>
            Squid claim about token sent by external_acl_helper<br>
            <br>
            the external acl helper send <br>
            &quot;OK itchart=PASS user=dtouzeau category=143
            category-name=Trackers clog=cinfo:143-Trackers;&quot;<br>
            <br>
            squid claim<br>
            2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected
            from-helper annotation with a name reserved for Squid use:
            itchart=PASS<br>
                   advice: If this is a custom annotation, rename it to add
            a trailing underscore: itchart_<br>
                   current master transaction: master278<br>
            2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected
            from-helper annotation with a name reserved for Squid use:
            category=143<br>
                   advice: If this is a custom annotation, rename it to add
            a trailing underscore: category_<br>
                   current master transaction: master278<br>
            2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected
            from-helper annotation with a name reserved for Squid use:
            category-name=Trackers<br>
                   advice: If this is a custom annotation, rename it to add
            a trailing underscore: category-name_<br>
                   current master transaction: master278<br>
            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;<br>
                   advice: If this is a custom annotation, rename it to add
            a trailing underscore: clog_<br>
                   current master transaction: master278<br>
            2023/08/28 16:47:02 kid1| WARNING: Unsupported or unexpected
            from-helper annotation with a name reserved for Squid use:
            itchart=PASS<br>
                   advice: If this is a custom annotation, rename it to add
            a trailing underscore: itchart_<br>
                   current master transaction: master278<br>
            <br>
            Did the helper instead of &quot;itchart=PASS&quot; must send <br>
            <br>
            &quot;itchart_=PASS&quot;<br>
            or<br>
            &quot;itchart_PASS&quot; <br>
            <br>
            ?<br>
            <br>
            <br>
            <br>
            <br>
            <pre cols="72">-- 
David Touzeau - Artica Tech France
Development team, level 3 support
----------------------------------
P: +33 6 58 44 69 46
www: <a href="https://wiki.articatech.com" \
                target="_blank">https://wiki.articatech.com</a>
www: <a href="http://articatech.net" target="_blank">http://articatech.net</a> </pre>
          </div>
          _______________________________________________<br>
          squid-users mailing list<br>
          <a href="mailto:squid-users@lists.squid-cache.org" \
                target="_blank">squid-users@lists.squid-cache.org</a><br>
          <a href="https://lists.squid-cache.org/listinfo/squid-users" \
rel="noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
  </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      <span class="gmail_signature_prefix">-- </span><br>
      <div dir="ltr" class="gmail_signature">      Francesco</div>
    </blockquote>
    <br>
    <pre cols="72">-- 
David Touzeau - Artica Tech France
Development team, level 3 support
----------------------------------
P: +33 6 58 44 69 46
www: <a href="https://wiki.articatech.com" \
                target="_blank">https://wiki.articatech.com</a>
www: <a href="http://articatech.net" target="_blank">http://articatech.net</a> </pre>
  </div>

</blockquote></div><br clear="all"><div><br></div><span \
class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">  \
Francesco</div>



_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic