Problem this snippet solves: Simple iRule to read the XFF header on an incoming HTTP Request and use a Universal Persistence ID.
Orginal iRule found to have an issue with multiple IP addresses in th...
Hi Amg
Will this also need One Connect as mandatory? How is this different from the below code I am using?
*********************************************************************
when HTTP_REQUEST {
set xff [HTTP::header "x-forwarded-for"]
persist uie [HTTP::header "x-forwarded-for"]
log local0. "[IP::client_addr]:[TCP::client_port]: XFF: $xff"
}
*********************************************************************