Add fixed node IP addresses to initial seed peer config #2274
Labels
A-network
Area: Network protocol updates or fixes
C-audit
Category: Issues arising from audit findings
C-security
Category: Security issues
I-hang
A Zebra component stops responding to requests
I-invalid-data
Zebra relies on invalid or untrusted data, or sends invalid data
I-lose-funds
Zebra loses user funds
Motivation
If a Zebra node is launched from a network where the Zcash DNS seeders are blocked, it won't be able to connect to any peers. If the network provides malicious DNS responses, the node could be compromised with bad peers.
Zebra's checkpoints and the Zcash proof of work help resist this attack.
Specifications
https://developer.bitcoin.org/devguide/p2p_network.html#peer-discovery
Designs
zcashd
has a fixed seed generation script:https://github.com/zcash/zcash/tree/master/contrib/seeds
But it doesn't currently have any fixed seed peers:
https://github.com/zcash/zcash/blob/master/src/chainparamsseeds.h
Solution
Alternatives
We might want to talk with the
zcashd
team before making this change, to understand why they don't have fixed seed peers.Related Work
A persistent local list of peers would help resist this attack after first launch #1956
The text was updated successfully, but these errors were encountered: