summaryrefslogtreecommitdiff
path: root/config-example.json
diff options
context:
space:
mode:
authorLoyalsoldier <[email protected]>2024-08-09 08:56:31 +0800
committerLoyalsoldier <[email protected]>2024-08-09 08:56:31 +0800
commitcdc2a64942ccf0232293e445993477b433b1d3be (patch)
tree0ff28939ef6f07ab244d2cfc9da823e4c3d349cb /config-example.json
parent67bcec82b7db887428cd693dc1469f3f8415efb3 (diff)
Feat: support MaxMind GeoLite2 ASN CSV data as input
Diffstat (limited to 'config-example.json')
-rw-r--r--config-example.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/config-example.json b/config-example.json
index ad56c2f9..ca327f71 100644
--- a/config-example.json
+++ b/config-example.json
@@ -28,6 +28,31 @@
}
},
{
+ "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"
},