Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. IAM
  3. Country IP Blocks

Country IP Blocks

Hourly-updated CIDR country-level IP data sourced directly from Regional Internet Registries.

Visit WebsiteGitHubGitHub
929 stars112 forks0 contributors

What is Country IP Blocks?

Country IP Blocks is a repository providing CIDR (Classless Inter-Domain Routing) data that maps IP address ranges to specific countries. It sources this information directly from Regional Internet Registries and updates it hourly to ensure accuracy. The project serves as a read-only mirror of this geolocation data for easy access and integration.

Target Audience

Network administrators, security professionals, and developers who need accurate country-level IP geolocation data for firewall rules, content regionalization, or network analysis.

Value Proposition

Developers choose Country IP Blocks because it provides directly-sourced, frequently updated IP geolocation data from authoritative RIRs, eliminating the need to scrape or parse multiple sources manually.

Overview

CIDR country-level IP data, straight from the Regional Internet Registries, updated hourly. This is a read-only mirror.

Use Cases

Best For

  • Implementing country-based IP filtering in firewall configurations
  • Geolocating website visitors for content regionalization
  • Analyzing network traffic by country of origin
  • Building IP reputation systems with country-level data
  • Creating network security rules based on geographic locations
  • Developing applications that require accurate IP-to-country mapping

Not Ideal For

  • Applications needing sub-country granularity like city or ISP-level geolocation
  • Projects requiring a hosted API for dynamic, on-demand IP lookups
  • Teams wanting to contribute to or fork the dataset directly via GitHub pull requests

Pros & Cons

Pros

Authoritative Data Sourcing

Sources directly from Regional Internet Registries, ensuring high accuracy and reliability, as stated in the project description.

Frequent Hourly Updates

Data is refreshed every hour from official RIR sources, providing current geolocation information for time-sensitive applications.

Standard CIDR Format

Provides data in CIDR notation, making it easy to integrate into network configurations and scripts, as highlighted in the key features.

Simple Data Access

Serves as a read-only mirror, offering straightforward access to raw data files without complex setup or dependencies.

Cons

Limited Geolocation Granularity

Only maps IP ranges to countries, lacking city or region details, which may not suffice for applications needing finer location data.

No Built-in API

Requires manual parsing of static data files, as there's no provided API for on-demand queries, increasing integration effort.

Documentation and Support Issues

The README indicates the repository has moved to a personal website, which may lead to broken links or reduced community support on GitHub.

Frequently Asked Questions

Quick Stats

Stars929
Forks112
Contributors0
Open Issues0
Last commit1 month ago
CreatedSince 2017

Tags

#apache#ip-geolocation#ip#geolocation#countries#firewall#nginx#network-security#country#geoip

Links & Resources

Website

Included in

IAM2.2k
Auto-fetched 1 day ago

Related Projects

hostshosts

🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.

Stars30,281
Forks2,406
Last commit1 day ago
The Public Suffix ListThe Public Suffix List

The Public Suffix List

Stars2,790
Forks1,585
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub