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

Raft node can break into external cluster by knowing peer IDs #9888

Closed
7 of 18 tasks
geoff-vball opened this issue Dec 15, 2022 · 2 comments
Closed
7 of 18 tasks

Raft node can break into external cluster by knowing peer IDs #9888

geoff-vball opened this issue Dec 15, 2022 · 2 comments
Assignees
Labels
area/cluster effort/days Effort: Multiple Days kind/bug Kind: Bug

Comments

@geoff-vball
Copy link
Contributor

geoff-vball commented Dec 15, 2022

Checklist

  • This is not a security-related bug/issue. If it is, please follow please follow the security policy.
  • This is not a question or a support request. If you have any lotus related questions, please ask in the lotus forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not an enhancement request. If it is, please file a improvement suggestion instead.
  • I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
  • I am running the Latest release, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to lotus.

Lotus component

  • lotus daemon - chain sync
  • lotus miner - mining and block production
  • lotus miner/worker - sealing
  • lotus miner - proving(WindowPoSt)
  • lotus miner/market - storage deal
  • lotus miner/market - retrieval deal
  • lotus miner/market - data transfer
  • lotus client
  • lotus JSON-RPC API
  • lotus message management (mpool)
  • Other

Lotus Version

master

Describe the Bug

Discovered because TestGoRPCAuth is flaky. There are 3 nodes in a cluster, and one outside that cluster. The outside node is passed the peerIDs of the 3 other nodes, and seems like it is able to break into the cluster and become the leader. This is a security risk and shouldn't happen. This is why the test flakes ~25% of the time.

See #9763 for more info.

The test should be re-enabled with this fix.

Logging Information

n/a

Repo Steps

  1. Run '...'
  2. Do '...'
  3. See error '...'
    ...
@jennijuju
Copy link
Member

@shrenujbansal could you please take this one please?

@rjan90
Copy link
Contributor

rjan90 commented Apr 14, 2024

Closing, as the raft cluster support has been dropped entirely: #11468

@rjan90 rjan90 closed this as completed Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster effort/days Effort: Multiple Days kind/bug Kind: Bug
Projects
None yet
Development

No branches or pull requests

4 participants