Skip to content

--netrestrict feature to enable IP filtering for Besu nodes used in key infrastructure #6620

Closed
@non-fungible-nelson

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.

Reference code

Geth Codebase

Metadata

Labels

P1Very High (ex: Security issues, unplanned backward incompatibility preventing network participation)enhancementNew feature or requestmainnetpeering

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions