p2p, rpc: group public IPv6 connection limits by /64

(cherry picked from commit f277d328cf1f7e64423b5eb7dc0e21649f71e47a)
This commit is contained in:
selsta
2026-10-04 18:50:22 -04:00
committed by such-gitea
parent 881dcfbd43
commit f26ac02df9
13 changed files with 275 additions and 8 deletions
+1 -1
View File
@@ -3791,7 +3791,7 @@ namespace cryptonote
const command_line::arg_descriptor<std::size_t> core_rpc_server::arg_rpc_max_connections_per_public_ip = {
"rpc-max-connections-per-public-ip"
, "Max RPC connections per public IP permitted"
, "Max RPC connections permitted per public IPv4 address or shared across a public IPv6 /64 subnet"
, DEFAULT_RPC_MAX_CONNECTIONS_PER_PUBLIC_IP
};