mirror of
https://github.com/monero-project/monero.git
synced 2025-08-18 18:48:01 -04:00
Optional DNS based blocklist
If enabled, pulls IPs to block on blocklist.moneropulse.*, and blocks then for 8 days (so IPs dropping from the list will eventually get unblocked, and DNS failures don't result in instant clearing of the blocklist). Enable with --enable-dns-blocklist
This commit is contained in:
parent
ebdc617408
commit
e9abfea165
5 changed files with 67 additions and 5 deletions
|
@ -197,6 +197,8 @@
|
|||
|
||||
#define RPC_CREDITS_PER_HASH_SCALE ((float)(1<<24))
|
||||
|
||||
#define DNS_BLOCKLIST_LIFETIME (86400 * 8)
|
||||
|
||||
// New constants are intended to go here
|
||||
namespace config
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue