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

Add XDP support and TCP Syn flooding into the attack tool. #3950

Merged
merged 17 commits into from
Nov 14, 2023

Conversation

VipAlekseyPetrenko
Copy link
Contributor

Description

Enabled XDP support in the attack tool to allow for faster flooding rates by the attackers.
Enabled TCP Syn flooding attack.
Added a helper function for checking if RawDataPath is enabled on the CXPLAT_DATAPATH variables.

Testing

Manually tested my changes with 2 attacker VMs (one with XDP enabled and one with XDP disabled) and having a Windows Server running with a WireShark tool reading incoming packets.

Documentation

No.

@VipAlekseyPetrenko VipAlekseyPetrenko requested a review from a team as a code owner November 2, 2023 23:02
@nibanks nibanks added Area: Testing Related to test coverage Area: Stress Related to stress testing with spinquic labels Nov 2, 2023
@VipAlekseyPetrenko
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Microsoft"

Copy link

codecov bot commented Nov 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (297c29d) 87.46% compared to head (0342d71) 87.08%.

❗ Current head 0342d71 differs from pull request most recent head 411c112. Consider uploading reports for the commit 411c112 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3950      +/-   ##
==========================================
- Coverage   87.46%   87.08%   -0.39%     
==========================================
  Files          56       56              
  Lines       16958    16958              
==========================================
- Hits        14833    14768      -65     
- Misses       2125     2190      +65     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/tools/attack/attack.cpp Outdated Show resolved Hide resolved
src/tools/attack/attack.cpp Outdated Show resolved Hide resolved
src/tools/attack/attack.cpp Outdated Show resolved Hide resolved
src/tools/attack/attack.cpp Outdated Show resolved Hide resolved
src/tools/attack/attack.cpp Outdated Show resolved Hide resolved
src/tools/attack/attack.cpp Outdated Show resolved Hide resolved
src/tools/attack/attack.cpp Outdated Show resolved Hide resolved
@VipAlekseyPetrenko
Copy link
Contributor Author

Acted on comments.

src/inc/quic_datapath.h Outdated Show resolved Hide resolved
src/tools/attack/attack.cpp Outdated Show resolved Hide resolved
nibanks
nibanks previously approved these changes Nov 9, 2023
@nibanks nibanks dismissed their stale review November 9, 2023 12:09

Looks like Linux is failing to build.

@nibanks nibanks merged commit 49b2e0c into microsoft:main Nov 14, 2023
395 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Stress Related to stress testing with spinquic Area: Testing Related to test coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants