Forum Discussion
Abed_AL-R
Cirrostratus
Apr 05, 2022iRule error - bad IP address format (line x)
I just deployed this irule: when HTTP_REQUEST {
if { [HTTP::header exists "X-Forwarded-For"] } {
set client_ip [HTTP::header value "X-Forwarded-For"]
set fromCountry [where...
T-Trust
Cirrostratus
Apr 06, 2022Hi Abed_AL-R,
I hope this result test will help you, So i think this case require 2 step
1. We have to update geo-database from F5, Please refer link below
https://cloud-ttrust.com/f5-how-to-install-and-update-ip-geolocation-database/
2. Please follow step on link below for case iRules checl x-forward-for and query geo-database for check blacklist country
https://cloud-ttrust.com/f5-irules-check-http-x-forward-for-and-country/
Thanks you
Abed_AL-R
Cirrostratus
Apr 06, 2022This is basically the same irule I was using
And our GeoLocation database is up to date. I updated it last week.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects