-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MaxMindDB GeoIP2 #23
Comments
ghost
changed the title
MaxMindDB GeoIP
MaxMindDB GeoIP2
Dec 10, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
ModSecurity used to have this feature, but now that MaxMind has moved to GeoIP2, it's all broken.
It is still possible to set country-level blocking based on known ip ranges of IPV4 and IPV6, but it requires manually building MaxMind and editing the
apache2.conf
.Ideally at install time, the bash script can allow someone to enable which countries they want to allow.
Preliminary code is below. You would still need to add directives to
apache2.conf
, create cron job that auto updates ip ranges, and a couple of other things.The text was updated successfully, but these errors were encountered: