Malicious-IP-Addresses

This commit is contained in:
Sefinek 2024-09-09 01:35:43 +02:00
parent 0ba5246cee
commit e961a77c4e
2 changed files with 2 additions and 2 deletions

View file

@ -9,5 +9,5 @@ CLOUDFLARE_API_KEY=
# AbuseIPDB: https://www.abuseipdb.com/account/api # AbuseIPDB: https://www.abuseipdb.com/account/api
ABUSEIPDB_API_KEY= ABUSEIPDB_API_KEY=
# API key for api.sefinek.net. Contact me at contact@sefinek.net to obtain it and contribute to the sefinek24/malicious-ip-addresses. Leave empty if you don't have a token. # API key for api.sefinek.net. Contact me at contact@sefinek.net to obtain it and contribute to the sefinek24/Malicious-IP-Addresses. Leave empty if you don't have a token.
SEFINEK_API_SECRET= SEFINEK_API_SECRET=

View file

@ -17,7 +17,7 @@ const SUCCESS_COOLDOWN_MS = 2 * 1000; // 2s
// This ensures that WAF violations originating from your IP address are not reported to AbuseIPDB. // This ensures that WAF violations originating from your IP address are not reported to AbuseIPDB.
const IP_REFRESH_INTERVAL = 55 * 60 * 1000; // 55m const IP_REFRESH_INTERVAL = 55 * 60 * 1000; // 55m
// Report IP addresses to api.sefinek.net to support the development of the repository at https://github.com/sefinek24/malicious-ip-addresses. If true, please see the .env file. // Report IP addresses to api.sefinek.net to support the development of the repository at https://github.com/sefinek24/Malicious-IP-Addresses. If true, please see the .env file.
const REPORT_TO_SEFINEK_API = true; const REPORT_TO_SEFINEK_API = true;
// How often should the log (reported_ips.csv) be analyzed and sent to the Sefinek API? // How often should the log (reported_ips.csv) be analyzed and sent to the Sefinek API?