ASM::client_ip¶
Description¶
Returns the IP address of the end client that sent the present
request. Note that this IP address is not necessarily equal to the
address returned by the command IP::client_addr, which is the IP
address of the immediate client found in the IP header as received by
BIG-IP. The latter can be a proxy, in which case the end client IP
address is extracted from one of the HTTP headers, typically,
X-Forwarded-For.
Examples¶
when ASM_REQUEST_DONE {
log local0. "Src IP: [IP::client_addr], End-client IP: [ASM::client_ip]"
}