Forum Discussion
Geoff_Littlewoo
Nimbostratus
Jul 24, 2009Use iRulke to extract X-Forwarded out of HTTP packet
I have a polling HTTP pakcet that the LTM does not see as a proper compliant HTTP packet.
Due to this the device sends a single packet in and the F5 closes the connection. This connection need...
Geoff_Littlewoo
Nimbostratus
Jul 27, 2009Aaron
Yes I need the iRule to put "X-Forwarded-for" of the original IP address otherwise, it puts the IP address of the LTM interface in the HTTP header.
If I used a HTTP profile it inserted this inthe packet. I configured the profile to insert the X-Forwarded-For but due to the nature of the sending device the F5 does not then see this as a complaint HTTP packet. SO I am unable to apply a HTTP profile of any sort. Unable to write a simple iRule as it then requires an HTTP profile.
SO if possible the packet that the back end server gets has the originator's IP and NOT the LTM interface.
Thanks.
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