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

Disconnect stalling peers after timeout of header sync #386

Open
yixiao5428 opened this issue Jul 17, 2021 · 0 comments
Open

Disconnect stalling peers after timeout of header sync #386

yixiao5428 opened this issue Jul 17, 2021 · 0 comments

Comments

@yixiao5428
Copy link

This is a security vulnerability.

Though we have a detection for block download stalling in SendMessages() of src/main.cpp at line 6380, the timeout for header sync remain unchecked.

This check should be also added to the SendMessages() function, and disconnect the stalling peer after timeout.

Similar fix from Bitcoin: bitcoin/bitcoin@76f7481.

Reported by 6004ed5feaa31ae9df36b5dbc60f0fa53255a5fb734334082c6d202405fc738c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant