mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
feat: add --netrestrict to node cmd like in geth (#19686)
Co-authored-by: weixie.cui <weixie.cui@okg.com> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -275,6 +275,13 @@ Networking:
|
||||
--network-id <NETWORK_ID>
|
||||
Optional network ID to override the chain specification's network ID for P2P connections
|
||||
|
||||
--netrestrict <NETRESTRICT>
|
||||
Restrict network communication to the given IP networks (CIDR masks).
|
||||
|
||||
Comma separated list of CIDR network specifications. Only peers with IP addresses within these ranges will be allowed to connect.
|
||||
|
||||
Example: --netrestrict "192.168.0.0/16,10.0.0.0/8"
|
||||
|
||||
RPC:
|
||||
--http
|
||||
Enable the HTTP-RPC server
|
||||
|
||||
@@ -221,6 +221,13 @@ Networking:
|
||||
--network-id <NETWORK_ID>
|
||||
Optional network ID to override the chain specification's network ID for P2P connections
|
||||
|
||||
--netrestrict <NETRESTRICT>
|
||||
Restrict network communication to the given IP networks (CIDR masks).
|
||||
|
||||
Comma separated list of CIDR network specifications. Only peers with IP addresses within these ranges will be allowed to connect.
|
||||
|
||||
Example: --netrestrict "192.168.0.0/16,10.0.0.0/8"
|
||||
|
||||
Datadir:
|
||||
--datadir <DATA_DIR>
|
||||
The path to the data dir for all reth files and subdirectories.
|
||||
|
||||
@@ -221,6 +221,13 @@ Networking:
|
||||
--network-id <NETWORK_ID>
|
||||
Optional network ID to override the chain specification's network ID for P2P connections
|
||||
|
||||
--netrestrict <NETRESTRICT>
|
||||
Restrict network communication to the given IP networks (CIDR masks).
|
||||
|
||||
Comma separated list of CIDR network specifications. Only peers with IP addresses within these ranges will be allowed to connect.
|
||||
|
||||
Example: --netrestrict "192.168.0.0/16,10.0.0.0/8"
|
||||
|
||||
Datadir:
|
||||
--datadir <DATA_DIR>
|
||||
The path to the data dir for all reth files and subdirectories.
|
||||
|
||||
@@ -351,6 +351,13 @@ Networking:
|
||||
--network-id <NETWORK_ID>
|
||||
Optional network ID to override the chain specification's network ID for P2P connections
|
||||
|
||||
--netrestrict <NETRESTRICT>
|
||||
Restrict network communication to the given IP networks (CIDR masks).
|
||||
|
||||
Comma separated list of CIDR network specifications. Only peers with IP addresses within these ranges will be allowed to connect.
|
||||
|
||||
Example: --netrestrict "192.168.0.0/16,10.0.0.0/8"
|
||||
|
||||
Logging:
|
||||
--log.stdout.format <FORMAT>
|
||||
The format to use for logs written to stdout
|
||||
|
||||
Reference in New Issue
Block a user