Forum Discussion
ant77
Jun 30, 2020Cirrostratus
Thanks Sachin.
So if I want to use two IP address to be looked at and match in the XFF client field, do you separate with a comma like below?
when HTTP_REQUEST {
set exampleIP "192.0.0.2, 192.0.0.3"
HTTP::header insert X-Forwarded-For [IP::addr $exampleIP mask "255.255.255.255"]
log local0. "Where is exampleIP: [whereis $exampleIP country]"
}