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

Tracking issue for more aggressive removal of bad peers #65

Open
6 of 9 tasks
jmalicevic opened this issue Dec 27, 2022 · 0 comments
Open
6 of 9 tasks

Tracking issue for more aggressive removal of bad peers #65

jmalicevic opened this issue Dec 27, 2022 · 0 comments
Assignees
Labels
security tracking A complex issue broken down into sub-problems

Comments

@jmalicevic
Copy link
Contributor

jmalicevic commented Dec 27, 2022

Original issue : tendermint/tendermint#9545

Description

This issue aims to cover a wide variety of use cases where Tendermint could remove bad peers more proactively. Peer removal is triggered by information from various reactors and aims to a) increase security and b) boost performance.

There are already a number of issues created around this topic.

Definition of done

  • Define and specify bad peer behaviour. By bad behaviour we do not necessarily mean malicious behaviour. Rather, peers can be considered bad if they are slow, sending stale or unwanted messages or too frequent requests. Each issue tackling peer removal has to clearly identify what behaviour is considered bad.
  • Node is disconnected from peers upon detection of bad behaviour.
  • Changes are backported to 0.34.x
  • Changes are backported to the latest 0.37 version
  • QA tests are performed for each backport before release.

Individual issues tackling removal of bad peers

Mempool

Consensus

Blocksync

Pex/p2p

@jmalicevic jmalicevic added the backlog A prioritized task in the team's backlog label Dec 27, 2022
@jmalicevic jmalicevic self-assigned this Dec 27, 2022
@jmalicevic jmalicevic added the tracking A complex issue broken down into sub-problems label Jan 5, 2023
@thanethomson thanethomson added security and removed backlog A prioritized task in the team's backlog labels Apr 4, 2023
cometcrafter pushed a commit to graphprotocol/cometbft that referenced this issue Jun 1, 2024
…ps highlight performance improvements (backport cometbft#2953) (cometbft#2978) (cometbft#61) (cometbft#65)

* refactor(p2p/connection): Slight refactor to sendManyPackets that helps highlight performance improvements (cometbft#2978) (cometbft#61)

Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
(cherry picked from commit 6d0070e)

Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security tracking A complex issue broken down into sub-problems
Projects
No open projects
Status: Todo
Development

No branches or pull requests

2 participants