diff --git a/.env.default b/.env.default index 332383c..b343a47 100644 --- a/.env.default +++ b/.env.default @@ -1,13 +1,13 @@ # production or development NODE_ENV=production -# Cloudflare (https://dash.cloudflare.com/profile/api-tokens) +# Cloudflare: https://dash.cloudflare.com/profile/api-tokens CLOUDFLARE_EMAIL= CLOUDFLARE_ZONE_ID= CLOUDFLARE_API_KEY= -# AbuseIPDB (https://www.abuseipdb.com/account/api) +# AbuseIPDB: https://www.abuseipdb.com/account/api ABUSEIPDB_API_KEY= -# API key for api.sefinek.net. Contact me to get it and contribute to the https://github.com/sefinek24/malicious-ip-addresses list. +# API key for api.sefinek.net. Contact me (contact@sefinek.net) to get it and contribute to the sefinek24/malicious-ip-addresses list. SEFINEK_API_SECRET= \ No newline at end of file diff --git a/config.js b/config.js index 8e78835..b6c943d 100644 --- a/config.js +++ b/config.js @@ -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. const IP_REFRESH_INTERVAL = 9 * 60 * 1000; // 9m -// Report IP addresses to api.sefinek.net to support the development of the repository: https://github.com/sefinek24/malicious-ip-addresses +// Report IP addresses to api.sefinek.net to support the development of the repository https://github.com/sefinek24/malicious-ip-addresses. If true, please see the .env file. const REPORT_TO_SEFINEK_API = true; // How often should logs (reported_ips.csv) be analyzed and sent to Sefinek API?