Forum Discussion
Jad_Tabbara__J1
Sep 14, 2017Cirrostratus
Hi Paul,
Try this
when HTTP_REQUEST {
set clientip ""
if { [HTTP::header exists "X-Forwarded-For"] } {
set clientip [HTTP::header "X-Forwarded-For"]
} else {
set clientip [IP::client_addr]
}
persist uie $clientip 1800
}
You only need to add the amount of time in second in the "persist" command
Hope it helps
Give me a feedback please.
Regards