-
Notifications
You must be signed in to change notification settings - Fork 5
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
test OOM by control frames attack #615
Open
kingluo
wants to merge
11
commits into
master
Choose a base branch
from
jinhua/fix-1346-flood
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+196
−1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kingluo
force-pushed
the
jinhua/fix-1346-flood
branch
from
May 6, 2024 16:06
4d93c65
to
63e2a8c
Compare
RomanBelozerov
requested changes
May 9, 2024
and you need to add these tests to |
- they are no stress tests anymore, now they are tests for `max_queued_control_frames` directive. We don't need a stress tests because TempestaFW has ways to protect against such an attack; - all tests work on DeproxyClientH2; - add tests for default and other values;
…p2_general/test_max_queued_control_frames.py`
change expected number of dmesg warnings. TempestaFW doesn't always output a warning in dmesg
RomanBelozerov
approved these changes
May 28, 2024
RomanBelozerov
force-pushed
the
jinhua/fix-1346-flood
branch
from
June 3, 2024 13:10
69fef44
to
1e3e12e
Compare
kingluo
commented
Jun 3, 2024
client.send_bytes(client.h2_connection.data_to_send()) | ||
self.assertTrue(client.wait_for_ack_settings()) | ||
|
||
client.make_request(client.create_request(method="GET", headers=[])) |
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.
There is no need to request a large response now, because the sockbuf is already set to a small enough size. Also we don't need the backend, because control-frame-slow-read does not involve the backend.
RomanBelozerov
force-pushed
the
jinhua/fix-1346-flood
branch
2 times, most recently
from
June 4, 2024 10:47
fb27281
to
11076fe
Compare
RomanBelozerov
force-pushed
the
jinhua/fix-1346-flood
branch
from
June 4, 2024 17:25
11076fe
to
fcd22dc
Compare
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
part of #612
tests for tempesta-tech/tempesta#2108