geoip
« Back to VersTracker
Description:
This library is for the GeoIP Legacy format (dat)
Type: Formula  |  Tracked Since: Nov 25, 2024
Links: Homepage  |  GitHub  |  formulae.brew.sh
Stars: 377  |  Forks: 131  |  Language: C  |  Category: Networking
Tags: geolocation networking c-library ip-address offline
Install: brew install geoip
About:
A C library for querying GeoIP Legacy databases (`.dat` files) to determine the geographical location of an IP address. It provides fast, offline lookups for country, region, city, and connection type data. Its primary value is enabling IP-based geolocation in applications without requiring external API calls.
Key Features:
  • Offline IP geolocation lookups
  • Support for legacy GeoIP .dat database format
  • Fast C API for integration
  • Lookups for country, city, and ISP data
  • Thread-safe for concurrent use
Use Cases:
  • Geotargeting website content or advertisements
  • Analyzing web server logs by geographic region
  • Implementing basic fraud detection based on IP location
Alternatives:
  • libmaxminddb – Official MaxMind library for the newer, more accurate MaxMind DB (`.mmdb`) format.
  • geoip2 – Higher-level API often used with libmaxminddb, providing easier access to the same modern data format.
Version History
Detected Version Rev Change Commit
Nov 25, 2024 3:34pm 0 VERSION_BUMP c2ddd4b4
Sep 14, 2024 8:28pm 0 VERSION_BUMP 6a2fcbc2