Update comments
This commit is contained in:
parent
7ac9ef3fdc
commit
994d0c8910
2 changed files with 4 additions and 4 deletions
|
|
@ -1,13 +1,13 @@
|
||||||
# production or development
|
# production or development
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
|
|
||||||
# Cloudflare (https://dash.cloudflare.com/profile/api-tokens)
|
# Cloudflare: https://dash.cloudflare.com/profile/api-tokens
|
||||||
CLOUDFLARE_EMAIL=
|
CLOUDFLARE_EMAIL=
|
||||||
CLOUDFLARE_ZONE_ID=
|
CLOUDFLARE_ZONE_ID=
|
||||||
CLOUDFLARE_API_KEY=
|
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 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=
|
SEFINEK_API_SECRET=
|
||||||
|
|
@ -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 = 9 * 60 * 1000; // 9m
|
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;
|
const REPORT_TO_SEFINEK_API = true;
|
||||||
|
|
||||||
// How often should logs (reported_ips.csv) be analyzed and sent to Sefinek API?
|
// How often should logs (reported_ips.csv) be analyzed and sent to Sefinek API?
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue