Forum Discussion
wpwhite_113613
Nimbostratus
Apr 09, 2010Newbie Question on Inserting Source IP Address in a Cookie
I have a couple of 6900s in a HA pair running version 10.1.0. The 6900s are connected in a "one-armed" mode. I have had a sysadmin request the following from me:
He would like to have the ...
hoolio
Cirrostratus
Apr 12, 2010As Matt suggests, it's more common to use the XFF header value. If you did want to use a cookie, you could use something like this:
when HTTP_REQUEST {
Insert a cookie named CLIENT_IP with the client IP address as a value
HTTP::cookie insert name CLIENT_IP value [IP::client_addr]
}
Aaron
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