[squid-users] Adding header with destination IP to icap server via adaptation_meta

roie rachamim roierachamim at gmail.com
Mon Dec 14 16:32:30 UTC 2020


In access.log this format indeed works

On Mon, Dec 14, 2020, 18:24 Eliezer Croitor <ngtech1ltd at gmail.com> wrote:

> Have you tried to use this format log in the logfomat?
>
> I do not remember by heart but I what I see is the docs is:
>
> http://www.squid-cache.org/Versions/v4/cfgman/logformat.html
>
>
>
> logformat squid      %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un
> %Sh/%<a %mt
>
>
>
> so it should work.
>
> However I do not see logformat example in the docs at:
>
> http://www.squid-cache.org/Versions/v4/cfgman/adaptation_meta.html
>
>
>
> so +1 here.
>
>
>
> Thanks,
>
> Eliezer
>
>
>
> ----
>
> Eliezer Croitoru
>
> Tech Support
>
> Mobile: +972-5-28704261
>
> Email: eliezer at ngtech.co.il
>
>
>
> *From:* squid-users <squid-users-bounces at lists.squid-cache.org> *On
> Behalf Of *roie rachamim
> *Sent:* Monday, December 14, 2020 3:29 PM
> *To:* squid-users at lists.squid-cache.org
> *Subject:* [squid-users] Adding header with destination IP to icap server
> via adaptation_meta
>
>
>
> Hi,
>
>
>
> I was trying to add the value via:
>
> adaptation_meta X-PKuku-Dst-IP "%<a" all
>
>
>
> But in the ICAP server i can only see a dash (-)
>
> Any issue with my configuration ?
>
>
>
> Many Thanks,
>
> Roie
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20201214/c38c5cec/attachment.htm>


More information about the squid-users mailing list