How to use the XFF Alternative Names ?
Hi!
You could use an irule:
when HTTP_REQUEST {
if { [HTTP::header exists "X-Forwarded-Alternate"] } {
If the user already has specified this header then
we want to overwrite it
HTTP::header remove "X-Forwarded-Alternate"
HTTP::header insert "X-Forwarded-Alternate" [IP::client_addr]
}
}
Hope that helped.
/Patrik