Hi Jean!
Unfortunately, GeoIP support was removed from core CRS in version 4.0.
There is ongoing work to add it as a plugin but it was not officialy
included into CR yet - you can find it here (read the readme as,
currently, plugin on it's own is not doing any blocking based on geoip):
https://github.com/azurit/modsecurity-geoip-plugin
Jozef
> Date: Mon, 4 Mar 2024 11:47:48 -0800 (PST)
> From: Jean-Charles OLLAT <
jco...@gmail.com>
> To: ModSecurity Core Rule Set project
> <
modsecurity-core...@owasp.org>
> Subject: [modsecurity-core-rule-set-project] Welcome & GeoIP
>
>
>
> Hello everyone,
>
> I wanted to extend a warm thank you for welcoming me to this discussion
> group. It's a pleasure to join the WAF community.
>
> I just migrated my homelab to Version 4.0.0. I'm using the latest version
> of Modsecurity and the connector for nginx 1.24 (latest stable).
>
> I have examined the file crs-setup.conf, and I don't find anything about
> GeoIP.
>
> Can we still use it ? in the way than the version 3.x ?
>
> Is that something that you have decide to depreciate ?
>
> That sad because, nginx V1.24 do not support GeoIP anymore so the last
> option is to use the host firewall.
>
> Thanks again to let me in ...
>
> --
> You received this message because you are subscribed to the Google
> Groups "ModSecurity Core Rule Set project" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
>
modsecurity-core-rule-...@owasp.org.
> To view this discussion on the web visit
>
https://groups.google.com/a/owasp.org/d/msgid/modsecurity-core-rule-set-project/2dd4aca8-1ede-44df-b2d5-6021233a4ac7n%40owasp.org.
>
>
> ----- End forwarded message -----