p2p: allowed_peers list propagated network-wide instead of being local to the node
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- go
- Bereich
- networking
Rechercherichtung
Beginne damit, die --allowed_peers-CLI-Konfiguration durch die Pfade für P2P-Peer-Ankündigungen und die Verbindungsbehandlung zu verfolgen. Reproduziere die in diesem Issue beschriebene Sequencer/Fullnode-Topologie und überprüfe anschließend, dass die Einschränkung nur von dem Node durchgesetzt wird, der sie festgelegt hat, und dass uneingeschränkte Fullnodes neue Peers akzeptieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Sequencer version : v1.1.0-rc.1
Description
When running a sequencer node with --allowed_peers=fullnode-1,fullnode-2, the allowed peers list appears to be propagated to the rest of the network. As a result, other fullnodes that try to connect via P2P to fullnode-1 or fullnode-2 are rejected, even though those fullnodes never set allowed_peers themselves.
Expected Behavior
The allowed_peers configuration should be local to the node that runs the argument. It should only restrict which peers that specific node accepts connections from. It must not be advertised or enforced on other nodes in the network.
Actual Behavior
The allowed_peers list set on the sequencer is propagated across the network. Nodes that did not set allowed_peers still refuse connections from nodes not on the sequencer's list.
Network Topology
The following diagram illustrates the affected network and the expected isolation of the allowed_peers constraint:
Eden Testnet Network
┌─────────────────────────────────────────────────────────────────────┐
│ │
│ ┌───────────────────────────────┐ │
│ │ Sequencer │ │
│ │ allowed_peers=fullnode-1, │ │
│ │ fullnode-2 │ │
│ └──────────────┬────────────────┘ │
│ │ P2P │
│ ┌────────┴────────┐ │
│ │ │ │
│ ┌─────▼──────┐ ┌──────▼─────┐ │
│ │ fullnode-1 │ │ fullnode-2 │ │
│ └─────┬──────┘ └──────┬─────┘ │
│ │ │ │
│ │ P2P (EXPECTED) │ P2P (EXPECTED) │
│ │ │ │
│ ┌─────▼─────────────────▼─────┐ │
│ │ new-fullnode-N ... │ │
│ │ (unable to connect — BUG) │ │
│ └─────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────┘
Legend:
──► P2P connection (established / expected)
BUG: new-fullnode-N cannot connect to fullnode-1 or fullnode-2
because the sequencer's allowed_peers list is enforced there
Intended behavior (allowed_peers should be local)
Sequencer ←──(only accepts fullnode-1, fullnode-2)──► fullnode-1
──► fullnode-2
fullnode-1 ←──(no restriction; accepts any peer)──► new-fullnode-N
fullnode-2 ←──(no restriction; accepts any peer)──► new-fullnode-N
Steps to Reproduce
- Start a network with: sequencer, fullnode-1, fullnode-2.
- Run the sequencer with
--allowed_peers=fullnode-1,fullnode-2. - Attempt to join a new fullnode that connects via P2P to fullnode-1 or fullnode-2.
- Observe: the new fullnode is rejected by fullnode-1/fullnode-2 despite them not having
allowed_peersset.
Environment
- Network: eden-testnet
- Observed: week of 2026-04-14
Impact
Any new node attempting to sync via fullnode-1 or fullnode-2 is silently blocked, making fullnode only syncing through DA unless modifying the sequencer's allowed_peers list.
- Vorherrschende Sprache
- Go
- Sterne
- 361
- Forks
- 283
- Ø Merge
- 3 T. 5 Std.
- Gemergte PRs (30 T.)
- 14
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus evstack/ev-node
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 2 Tagen
-
C:evm T:code-hygiene
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
evstack/ev-node#2402 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
good first issue T:enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
evstack/ev-node#1672 · 6 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in evstack/ev-node
Ähnliche Issues
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
AOSSIE-Org/DebateAI#611 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
MHSanaei/3x-ui#6737 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
terraform-provider
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
ClickHouse/terraform-provider-clickhousedbops#281 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
open-telemetry/opentelemetry-go-compile-instrumentation#1450 ·
Maintainer antworten meist innerhalb von 2 Tagen