Forum Discussion
Bubbagump_12531
Nimbostratus
Oct 30, 2013Prevent X-Forwarded-For spoofing
We insert an X-Forwarded-For header to pass back to our web servers. One application we have looks to this header to allow or deny certain servers access to us. However, we want to prevent spoofing t...
Bubbagump_12531
Nimbostratus
Oct 30, 2013So it is indeed a case thing as changing it to camel case identically as I had it in the plugin worked. How do we deal with the 1001 different forms of case? X-Forwarded-For, X-FORWARDED-FOR, x-forwarded-for, X-forwarded-for, x-Forwarded-for, x-Forwarded-for etc etc. Is there an equivalent to 'grep -i'?
Kevin_Stewart
Employee
Oct 30, 2013The last version of the iRule above evaluates against the forced lowercase version of the header name. Is that version working for you?
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
