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

core/txpool: additional DoS defense measures #26311

Closed
wants to merge 1 commit into from

Conversation

dwn1998
Copy link
Contributor

@dwn1998 dwn1998 commented Dec 5, 2022

Implemented DoS defense schemes

Implemented DoS defense schemes
@fjl
Copy link
Contributor

fjl commented Dec 5, 2022

Please provide some additional context about these defense measures. They sure look interesting, it would be nice to hear whether these were explored in a paper or in another implementation!

@tristartom
Copy link

We implement a couple of rules restricting transaction admission in the mempool for good. For instance, upon a full mempool, our rule requires discarding an arriving transaction tx if tx is future or tx evicts another transaction to create new future transactions in the mempool. Some of the defensive rules are described in the DETER paper: https://dl.acm.org/doi/pdf/10.1145/3460120.3485369 (or https://tristartom.github.io/docs/ccs21.pdf )

@fjl fjl changed the title Update txpool.go core/txpool: additional DoS defense measures Dec 5, 2022
@fjl
Copy link
Contributor

fjl commented Dec 5, 2022

Thanks for the info! This needs to be reviewed by @karalabe and/or @MariusVanDerWijden.

@mohammadfarari1360

This comment was marked as off-topic.

@holiman
Copy link
Contributor

holiman commented Mar 10, 2023

Superseded by #26648

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.

6 participants