Some quickwin Aflex scripts
if you need negate an insertion XFF only for a specific client
if { not [IP::addr [IP::client_addr] equals 192.168.130.203] } {
HTTP::header replace X-Forwarded-For [IP::client_addr]
HTTP::header replace X-Real-IP [IP::client_addr]
HTTP::header replace X-Client-IP [IP::client_addr]
}
}
No Comments