--netrestrict
feature to enable IP filtering for Besu nodes used in key infrastructure #6620
Closed
Description
Description
As an infrastructure provider, I want to be able to restrict my node to certain IP networks so that I can prevent and filter unwanted peering. I also want parity with Geth nodes with this option to better take advantage of existing configs and tooling.
Besu should enable restriction to peer-to-peer connectivity on an IP subnet. Doing so will further isolate the network and prevents cross-connecting with other blockchain networks in case the nodes are reachable from the Internet.
Acceptance Criteria
--netrestrict
option exposed taking a string representing IP value- No external peering or connection to the internet is enabled
- If this option is set to a non-nil value, only hosts which match one of the IP networks contained in the list are considered.