Forum Discussion
Lazar_92526
Jun 18, 2014Nimbostratus
UIE for Akamai True-Client-IP Header Persistence or source address persistence
All,
I'm looking into putting together a UIE which has an iRule that would persist to Akami's True-Client_IP if it exists and the traffic is routing from Akami. If the traffic is not from Akami,...
hooleylist
Jun 19, 2014Cirrostratus
Can you try this?
From: https://devcentral.f5.com/wiki/iRules.Akamai-True-Client-IP-Header-Persistence.ashx
when HTTP_REQUEST {
set True_Client_IP [HTTP::header "True-Client-IP"]
if { $True_Client_IP eq "" } {
persist source_addr 3600
} else {
persist uie $True_Client_IP
log local0. "[IP::client_addr]:[TCP::client_port]: True-Client-IP: [HTTP::header value True-Client-IP], persist record: [persist lookup uie $True_Client_IP]"
}
}
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