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

Don't retrieve block for authing bitswap requests #74

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

ianopolous
Copy link
Member

This removes an attack where remote peers could DOS us with 1000s of requests for a block we have, but with invalid auth, each resulting in a block get from the blockstore. This is possible now because of the block metadata db.

@ianopolous ianopolous requested a review from kevodwyer November 8, 2023 15:45
@ianopolous ianopolous merged commit 917440e into master Nov 8, 2023
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants