mirror of
https://github.com/monero-project/monero.git
synced 2025-08-14 06:15:39 -04:00
Bans for RPC connections
Make bans control RPC sessions too. And auto-ban some bad requests. Drops HTTP connections whenever response code is 500.
This commit is contained in:
parent
6335509727
commit
a182df21d0
5 changed files with 32 additions and 2 deletions
|
@ -128,6 +128,8 @@
|
|||
#define P2P_SUPPORT_FLAG_FLUFFY_BLOCKS 0x01
|
||||
#define P2P_SUPPORT_FLAGS P2P_SUPPORT_FLAG_FLUFFY_BLOCKS
|
||||
|
||||
#define RPC_IP_FAILS_BEFORE_BLOCK 3
|
||||
|
||||
#define ALLOW_DEBUG_COMMANDS
|
||||
|
||||
#define CRYPTONOTE_NAME "bitmonero"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue