Forum Discussion
JimW_156953
Nimbostratus
Feb 08, 2017traffic coming over APM XforwardedIP not being recorded by IIS
Environment :
IIS windows host : Windows 2008R2 server f5 : 12.1 Basic virtual server : http only - one server in the pool
Handling a strange issue. virtual server has x-forwarding http ...
Kai_Wilke
MVP
Feb 08, 2017Hi Jim,
IIS has a very poor support for X-Forwarded-For headers... 😞
I usually tend to write the original client IP into an additional cookie (via
HTTP::cookie insert name "OrigIP" value [IP::client_addr] ) and collect those information by turning on IIS cookie logging. Its much easier, doesn require any bits'n'bytes on your servers and may already satisfy your needs... 😉
If you're still looking for a native
X-Forwarded-For support, then take a look to the following blog site. The site outlines and compares different techniques which are more or less supported/maintained by Microsoft or F5.
https://blogs.iis.net/deanc/iis7-8-logging-the-real-client-ip-in-the-iis-hit-logs
Cheers, Kai
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