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

DDoS mitigation test #438

Merged
merged 10 commits into from
Dec 24, 2024
Merged

DDoS mitigation test #438

merged 10 commits into from
Dec 24, 2024

Conversation

RomanBelozerov
Copy link
Contributor

@RomanBelozerov RomanBelozerov commented Apr 17, 2023

Draft tests for #38

Copy link
Contributor

@const-t const-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need few minor changes

tools/mhddos/start.py Outdated Show resolved Hide resolved
tools/mhddos/start.py Outdated Show resolved Hide resolved
tools/mhddos/start.py Outdated Show resolved Hide resolved
t_stress/test_ddos.py Outdated Show resolved Hide resolved
tools/mhddos/start.py Outdated Show resolved Hide resolved
tools/mhddos/start.py Outdated Show resolved Hide resolved
t_stress/test_ddos.py Outdated Show resolved Hide resolved
Copy link
Contributor

@const-t const-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please add copyright to start.py and mention original author

- add tls connections;
- fix all methods to using tls connections;
- fix unexpected logic (invalid body size, invalid headers, etc.);
- added proxy file to `.gitignore` and remove `http.txt` as unnecessary
- changed the basic logic. Now the thread chooses a random method and make the attack.
- changed ddos test. Now it use website config + frang limits (less than the attack)
- add docstring;
- remove unnecessary code;
- some fixes after review.
@RomanBelozerov RomanBelozerov merged commit da44c18 into master Dec 24, 2024
1 check was pending
@RomanBelozerov RomanBelozerov deleted the rb-38-ddos branch December 24, 2024 20:31
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.

4 participants