Zebra should store a persistent list of recent successful peers #1956
Closed
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-privacy
Zebra discloses private information
Motivation
Zebra currently fetches a new list of peers from DNS each time it launches.
This design has some benefits:
And some drawbacks:
Solution
Zebra should keep a cached list of peer addresses on disk, and update it regularly. This list can be separate from the state cache.
To avoid privacy leaks:
Alternative 1: Only use DNS if cached peers don't work
zcashd
tries both the cached list of peer addresses and new addresses from DNS. This design has the following tradeoffs:Alternative 2: Only use DNS if cached peers don't work
zcashd
first tries the cached list of peer addresses, then makes a DNS query if none connect. This design has the following tradeoffs:The text was updated successfully, but these errors were encountered: