Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zebra should try harder to discover and distribute good peer addresses #1892

Closed
3 of 7 tasks
Tracked by #3247
teor2345 opened this issue Mar 12, 2021 · 3 comments
Closed
3 of 7 tasks
Tracked by #3247
Labels
A-rust Area: Updates to Rust code 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-slow Problems with performance or responsiveness I-usability Zebra is hard to understand or use

Comments

@teor2345
Copy link
Contributor

teor2345 commented Mar 12, 2021

Is your feature request related to a problem? Please describe.

Sometimes Zebra runs out of peer addresses, and stops working.

Describe the solution you'd like

Zebra should advertise its own inbound listener address:

Zebra should regularly try to get new addresses:

Zebra currently uses gossiped outbound peer addresses, and detected inbound peer addresses. We could also add the address_from in received Version messages to our address book, but that could result in multiple connections to a single peer. To avoid these duplicate connections, we try new gossiped addresses before new canonical addresses (#2123).

@teor2345 teor2345 added C-bug Category: This is a bug A-rust Area: Updates to Rust code C-enhancement Category: This is an improvement S-needs-triage Status: A bug report needs triage P-High C-security Category: Security issues I-hang A Zebra component stops responding to requests I-slow Problems with performance or responsiveness I-usability Zebra is hard to understand or use I-invalid-data Zebra relies on invalid or untrusted data, or sends invalid data labels Mar 12, 2021
@mpguerra mpguerra removed the S-needs-triage Status: A bug report needs triage label Mar 15, 2021
@teor2345 teor2345 added I-remote-node-overload Zebra can overload other nodes on the network and removed I-remote-node-overload Zebra can overload other nodes on the network labels Mar 16, 2021
@mpguerra
Copy link
Contributor

mpguerra commented May 7, 2021

Adding this to current sprint (9) as it seems we are working on it

@mpguerra mpguerra added this to the 2021 Sprint 9 milestone May 7, 2021
@teor2345
Copy link
Contributor Author

teor2345 commented May 9, 2021

Adding this to current sprint (9) as it seems we are working on it

I implemented some of these features in #2123, to increase integration test coverage for #2120.

But the rest of these features aren't urgent, so I don't want to do any more work on this ticket during the current sprint.

@teor2345 teor2345 removed this from the 2021 Sprint 9 milestone May 9, 2021
@mpguerra mpguerra added P-Medium and removed P-High labels Nov 29, 2021
@mpguerra mpguerra added the A-network Area: Network protocol updates or fixes label Dec 16, 2021
@teor2345 teor2345 removed C-bug Category: This is a bug C-enhancement Category: This is an improvement labels Dec 16, 2021
@teor2345 teor2345 added P-Low and removed P-Medium A-network Area: Network protocol updates or fixes labels Dec 16, 2021
@teor2345
Copy link
Contributor Author

teor2345 commented Jun 2, 2022

The current performance is good enough, we can open specific tickets if we need to.

@teor2345 teor2345 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2022
@teor2345 teor2345 mentioned this issue May 15, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rust Area: Updates to Rust code 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-slow Problems with performance or responsiveness I-usability Zebra is hard to understand or use
Projects
None yet
Development

No branches or pull requests

2 participants