RE: How to display the True-Client-IP header in the access log
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx>
- Subject: RE: How to display the True-Client-IP header in the access log
- From: Marc <Marc@xxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Oct 2021 11:54:46 +0000
- Accept-language: en-001, en-US
- Cc: Mason Hayes <march.koala10@xxxxxxxxx>
- In-reply-to: <CABjznSC65kjXzX3N3waDtBnczkT2toTEMoviGFhER9N_kApRrw@mail.gmail.com>
- Reply-to: users@xxxxxxxxxxxxxxxx
- Thread-index: AQHXxN6qqdP1A0d22EGMcbmlXsT6V6vaNh9Q
- Thread-topic: How to display the True-Client-IP header in the access log
With haproxy you have an option to enable a proxy protocol, this transmits the client ip. I guess something similar must exist in your case.
>
> When Apache is accessed via a CDN (Akamai), I would like to record the
> IP of the accessing client in the Apache logs.
> In order to display the True-Client-IP header sent by Akamai in the
> access log like X-Forward-For, do I have to change the Logformat setting
> in httpd.conf as follows?
>
> Logformat
> "%{True-Client-IP}i %h %l %u %t˶~˵"%r\" %>s %b˶~˵"%{Referer}i\" \%{User-
> Agent}i\" combined
>
> If anyone has had any success with True-Client-IP showing up in the
> logs, please let me know.
>
> Regards,
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]