Replies: 11 comments 35 replies
-
Is there a good way for Zebra to recognize and drop synthetic peers once they're connected? |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
Potential Fix: Increase the minimum number of connected peers to the initial target peerset size, so that Zebra always has a variety of peers, and the first/newest/fastest peers don't take up all the slots |
Beta Was this translation helpful? Give feedback.
-
Potential Fix: Retry failed peers only if we've successfully connected to them, don't believe |
Beta Was this translation helpful? Give feedback.
-
Potential Fix: Retry other failed peers (untrusted or no last seen time) if their last attempt is longer than |
Beta Was this translation helpful? Give feedback.
-
Potential Fix: |
Beta Was this translation helpful? Give feedback.
-
Potential Fix: |
Beta Was this translation helpful? Give feedback.
-
Potential Fix: If we're not getting any new blocks in the progress task, send a ChangePeerConnections request to the network to disconnect some peers |
Beta Was this translation helpful? Give feedback.
-
Potential Fix: Increase |
Beta Was this translation helpful? Give feedback.
-
Potential Fix: Reduce the |
Beta Was this translation helpful? Give feedback.
-
Motivation
We want to discuss the impact of each potential fix on this vulnerability, and decide on 1-3 fixes that have the greatest impact.
Potential Fixes
This is the list of potential fixes from issue #7822:
zebra/zebra-network/src/peer_set/initialize.rs
Line 913 in 7e7f989
untrusted_last_seen
zebra/zebra-network/src/meta_addr.rs
Lines 639 to 640 in 7e7f989
MAX_PEER_ACTIVE_FOR_GOSSIP
(or maybe just 10+ minutes?) but less thanMAX_RECENT_PEER_AGE
ChangePeerConnections
request to the network to disconnect some peersGET_ADDR_FANOUT
to 2 or 3, to increase the diversity of the address bookTimerCrawl
interval to increase the diversity of the address bookBeta Was this translation helpful? Give feedback.
All reactions