From cdc2a64942ccf0232293e445993477b433b1d3be Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Fri, 9 Aug 2024 08:56:31 +0800 Subject: Feat: support MaxMind GeoLite2 ASN CSV data as input --- config-example.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'config-example.json') diff --git a/config-example.json b/config-example.json index ad56c2f9..ca327f71 100644 --- a/config-example.json +++ b/config-example.json @@ -27,6 +27,31 @@ "wantedList": ["cn", "us"] } }, + { + "type": "maxmindGeoLite2ASNCSV", + "action": "add", + "args": { + "ipv4": "./geolite2/GeoLite2-ASN-Blocks-IPv4.csv", + "ipv6": "./geolite2/GeoLite2-ASN-Blocks-IPv6.csv", + "wantedList": { + "facebook": ["AS63293", "AS54115", "AS32934"], + "fastly": ["AS54113", "AS394192"] + } + } + }, + { + "type": "maxmindGeoLite2ASNCSV", + "action": "add", + "args": { + "ipv4": "./geolite2/GeoLite2-ASN-Blocks-IPv4.csv", + "ipv6": "./geolite2/GeoLite2-ASN-Blocks-IPv6.csv", + "wantedList": { + "facebook": ["AS63293", "AS54115", "AS32934"], + "fastly": ["AS54113", "AS394192"] + }, + "onlyIPType": "ipv4" + } + }, { "type": "maxmindMMDB", "action": "add" -- cgit v1.3.1