Forum Discussion
youssef1
Apr 11, 2018Cumulonimbus
Hello,
Try this, irule is simple, you can begin with this and if you need more details or more specification le me now...
when HTTP_REQUEST {
foreach header [HTTP::header names] {
log local0. "HTTP Header : $header = [HTTP::header values $header]"
if {$header == "X-Forwarded-For"} {
in xff it will set the last value of X-Forwarded-For
set xff "[HTTP::header values $header]"
}
}
}
Regards