Skip to content

Geolocation Data Update in AWS WAF - IPs Still Flagged with Incorrect Location After MaxMind Database Update

0

Hello,

I’m facing an issue where AWS WAF is still blocking certain IP addresses that were previously flagged as originating from one country, even though these IPs have now been updated in MaxMind’s database to reflect their correct location.

I’ve confirmed that MaxMind updated their geolocation database for these IPs over 24 hours ago, but AWS WAF is still reporting them with the old location.

Can anyone clarify:

  • What is the typical schedule for AWS WAF to sync with MaxMind's database updates?

Thanks

1 Answer
0

AWS WAF uses MaxMind's GeoIP databases to determine the geographic location of IP addresses for its geo-match functionality. While MaxMind updates their database frequently, AWS WAF does not immediately sync these updates. The exact schedule for AWS WAF to update its geolocation data from MaxMind is not publicly disclosed.

However, it's important to note that there can be a delay between MaxMind's database updates and when these changes are reflected in AWS WAF's geolocation determinations. This delay can sometimes extend beyond 24 hours.

If you're experiencing persistent issues with specific IP addresses being incorrectly geolocated, you have a few options:

  1. Wait for the AWS WAF geolocation data to update naturally. This may take some additional time beyond the 24 hours you've already waited.

  2. Consider creating a custom rule in your Web ACL that explicitly allows traffic from the specific IP addresses in question. This rule should be placed at a higher priority than your geo-matching rules to ensure these IPs are allowed through regardless of their perceived geolocation.

  3. If the issue persists and is causing significant problems, you may want to contact AWS Support for further assistance. They may be able to provide more specific information about update schedules or investigate if there's an issue with the geolocation data for your particular case.

Remember that while geolocation data is generally accurate, it's not perfect and can sometimes be affected by factors such as VPN usage or dynamic IP allocation by ISPs. For critical applications, it's often advisable to have additional verification methods beyond just IP-based geolocation.
Sources
Geographic match rule statement - AWS WAF, AWS Firewall Manager, and AWS Shield Advanced
Issue with Geographic Restrictions on CloudFront Distribution | AWS re:Post

answered 8 months ago
EXPERT
reviewed 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.