Integrate GeoIP2 ISP database

This commit is contained in:
nymkappa
2022-07-23 23:33:13 +02:00
parent 300b9e4e05
commit ffe22399d5
7 changed files with 42 additions and 18 deletions

View File

@@ -102,6 +102,7 @@ interface IConfig {
ENABLED: boolean;
GEOLITE2_CITY: string;
GEOLITE2_ASN: string;
GEOLITE2_ISP: string;
},
}
@@ -206,7 +207,8 @@ const defaults: IConfig = {
"MAXMIND": {
'ENABLED': false,
"GEOLITE2_CITY": "/usr/local/share/GeoIP/GeoLite2-City.mmdb",
"GEOLITE2_ASN": "/usr/local/share/GeoIP/GeoLite2-ASN.mmdb"
"GEOLITE2_ASN": "/usr/local/share/GeoIP/GeoLite2-ASN.mmdb",
"GEOLITE2_ISP": "/usr/local/share/GeoIP/GeoIP2-ISP.mmdb"
},
};