diff options
| author | Loyalsoldier <[email protected]> | 2024-10-24 06:17:02 +0800 |
|---|---|---|
| committer | Loyalsoldier <[email protected]> | 2024-10-24 06:38:36 +0800 |
| commit | e6ee2bb6c610a8f7f9ca86da9ebe27e59c2daef3 (patch) | |
| tree | 39b3a996c332eace68ae2e60e244952ebc65364b | |
| parent | 40e0ad6895d62ad12ea1b1da4293dbcc05ea1d29 (diff) | |
Release: release classical maxmind mmdb file `Country-without-asn.mmdb`
Note: Use this `Country-without-asn.mmdb` file other than the `Country.mmdb` file in this project if you do not need the appended company (ASN) lists.
The `Country-without-asn.mmdb` is with more accurate country/region geoip data than `Country.mmdb` due to maxmind mmdb format constraint. For more details, see https://github.com/Loyalsoldier/geoip/blob/HEAD/configuration.md#maxmindmmdb-1
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | config.json | 19 |
2 files changed, 26 insertions, 1 deletions
@@ -181,7 +181,13 @@ MaxMind 官方版 **ASN** 类型 mmdb 文件: > 适用于 [Nginx](https://nginx.org),需要配合 [ngx_http_geoip2_module](https://github.com/leev/ngx_http_geoip2_module) 模块使用。只保留了 `country` 下的 `iso_code`(两位英文字母表示的国家/地区代码)字段。 -- **Country.mmdb**: +- **Country-without-asn.mmdb**(传统版 GeoIP,只包含国家/地区类别,不包含上述新增类别。建议优先使用): + - [https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country-without-asn.mmdb](https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country-without-asn.mmdb) + - [https://cdn.jsdelivr.net/gh/Loyalsoldier/geoip@release/Country-without-asn.mmdb](https://cdn.jsdelivr.net/gh/Loyalsoldier/geoip@release/Country-without-asn.mmdb) +- **Country-without-asn.mmdb.sha256sum**: + - [https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country-without-asn.mmdb.sha256sum](https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country-without-asn.mmdb.sha256sum) + - [https://cdn.jsdelivr.net/gh/Loyalsoldier/geoip@release/Country-without-asn.mmdb.sha256sum](https://cdn.jsdelivr.net/gh/Loyalsoldier/geoip@release/Country-without-asn.mmdb.sha256sum) +- **Country.mmdb**(增强版 GeoIP,包含国家/地区类别,以及上述新增类别。但由于 MaxMind mmdb 格式限制,部分国家/地区类别的 IP 地址数据不如上述 **Country-without-asn.mmdb** 准确): - [https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb](https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb) - [https://cdn.jsdelivr.net/gh/Loyalsoldier/geoip@release/Country.mmdb](https://cdn.jsdelivr.net/gh/Loyalsoldier/geoip@release/Country.mmdb) - **Country.mmdb.sha256sum**: diff --git a/config.json b/config.json index adf1cc3b..44444ca6 100644 --- a/config.json +++ b/config.json @@ -248,6 +248,25 @@ "action": "output", "args": { "outputDir": "./output", + "outputName": "Country-without-asn.mmdb", + "overwriteList": ["cn", "private"], + "excludedList": [ + "cloudflare", + "cloudfront", + "facebook", + "fastly", + "google", + "netflix", + "telegram", + "twitter" + ] + } + }, + { + "type": "maxmindMMDB", + "action": "output", + "args": { + "outputDir": "./output", "outputName": "Country-only-cn-private.mmdb", "wantedList": ["cn", "private"] } |
