-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add 'max_cancel_stream_rate' config for the rapid reset attack #1617
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There should also be tests similar to http2_reset_flood
in security_SUITE
except we would have variants of headers+rst_stream sent:
- a test where we send many HEADERS+RST_STREAM immediately
- a test where we send N (10?) HEADERS then N (10?) RST_STREAM, repeatedly
- a test where we send many HEADERS at once and then all RST_STREAM
Fixed comments and added a test case. Please look again when you can. |
Please rebase onto current master so that CI runs properly. I am planning to do a release with this and other things soon. |
Awesome that we have a working CI. Good job! Merge is fine since you'll do a squash-merge anyway, right? Some test runs (but not all) failed in tracer_SUITE. Do you have a clue? |
tracer_SUITE on master is a bug in OTP, see erlang/otp#7926 I'd prefer a non-merge rebase but don't worry about it I'll deal with it. |
Co-authored-by: Björn Svensson <[email protected]>
247b302
to
3511fed
Compare
Merged, thanks! |
Fixes #1615