Hi do you have any idea how I can extract XFF IP address in a packet using iRule or in LTM.
Thanks,
Hi do you have any idea how I can extract XFF IP address in a packet using iRule or in LTM.
Thanks,
There is an iRule to extract client IP address.
when HTTP_REQUEST {
HTTP::header insert X-Forwarded-For [IP::remote_addr]
}
Go through f5 article K4816
Hope it will help you..
when HTTP_REQUEST {
log local0. "X-Forwarded-For: [HTTP::header X-Forwarded-For]"
}
Take at look at the following code snippet XFF Universal Persistence iRule.
It is for persistence but you can change from persist to log or anything else you want to do with the XFF header data.