mmdblookup Author: chenryn Available: 8.24+ Purpose MaxMindDB is the new file format for storing information about IP addresses in a highly optimized, flexible database format. GeoIP2 Databases are available in the MaxMind DB format. ...
LookupService.getLocation(...) public Location getLocation(String str) { InetAddress addr; try { addr = InetAddress.getByName(str); } catch (UnknownHostException e) { return null; } return getLocation(addr); } origin: maxmind/geoip-api-java LookupService.getLocation(...) public Location ...
geoipupdate – 帮助配置和更新 GeoIP2 / GeoLite2 的软件包。 ngx_http_geoip2_module 下载 描述: 下载 ngx_http_geoip2_module 使用基于客户端 IP(默认)或特定变量(同时支持 IPv4 和 IPv6)的maxmind geoip2数据库中的值创建变量,该模块现在支持nginx流,并且可以以与http模块相同的方式使用。 项目地址:...
Maxmind GEO Lookup . Contribute to runk/node-maxmind development by creating an account on GitHub.
Module is fully compatible with IPv6. There are no differences in API between IPv4 and IPv6. const lookup = await maxmind.open('/path/to/GeoLite2.mmdb'); const location = lookup.get('2001:4860:0:1001::3004:ef68'); Options maxmind.open(filepath, [options]) filepath: <string> Pat...
Fast, lightweight MaxMind GeoIP lookup server written in Rust rustgeolocationgeoip2geoipmaxmind-geoipmmdbmaxminddb UpdatedMay 12, 2024 Rust InteractionDesignFoundation/laravel-geoip Star10 🌎 Determine the geographical location of website visitors based on their IP addresses. ...
GeoLite2-Country.mmdb 库只带有 country 相关数据样本输出 代码语言:javascript 复制 $ mmdblookup--file./GeoLite2-Country.mmdb--ip223.6.6.6{"continent":{"code":"AS"<utf8_string>"geoname_id":6255147<uint32>"names":{"de":"Asien"<utf8_string>"en":"Asia"<utf8_string>"es":"Asia"<ut...
GeoLite2-Country.mmdb 与 GeoLite2-Country.mmdb 对比。 # - 国家 ./GeoLite2-Country.mmdb 库# 如果此时我只想获取 country 的名称可以这样。$ mmdblookup --file ./GeoLite2-Country.mmdb --ip223.6.6.6country names zh-CN"中...
Customize content and comply with regulations using in-depth IP address data. Prevent fraud and chargebacks, manage cyber risk, and flag proxy users.
try { final InetAddress ip = InetAddress.getByName(ipMatch.group()); final Omni lookup = geoLookup.omni(ip); dimensions.put("continent", lookup.getContinent().getName()); dimensions.put("country", lookup.getCountry().getName()); dimensions.put("region", lookup.getMostSpecificSubdivision(...