Forum Discussion
Jibinpv_254622
Nimbostratus
Jun 07, 2018Logging X-Forwarded ip address on ltm logs via irule.
Hi Team,
Im in a situation where have tried almost all the ways to log the X-forwarded ip address on the LTM logs ,well so far no success.
Have used the below irule - It is still picking the physical...
youssef1
Cumulonimbus
Jun 07, 2018Hi,
try this, you will retrieve XFF Info:
when HTTP_REQUEST {
if { [HTTP::header exists X-Forwarded-For] } {
log local0. "Received XFF from [IP::client_addr]: [HTTP::header X-Forwarded-For]"
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects