Forum Discussion
Paul_Roberts_16
Nimbostratus
Jul 21, 2014X-Forwarded-For and SNAT addresses
When debugging a minor issue for a client a couple of weeks ago, I wound up staring at a screenful of header dump that showed the X-Forwarded-For value which appears to be not the IP address of the r...
Kevin_Stewart
Employee
Jul 21, 2014It's definitely safe to say that the XFF header should hold the client's true source. What happens if you log it?
when HTTP_REQUEST {
log local0. "client IP is [IP::client_addr]"
HTTP::header replace X-Forwarded-For [IP::client_addr]
}
Any chance that you're logging configuration is not correctly picking up the XFF header? Can you do a tcpdump server side capture to see exactly what is coming from the BIG-IP?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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