Added SYN Flooding to Scenario Example#54
Open
CarlosBeltranQ wants to merge 45 commits into
Open
Conversation
…tion send_one_syn(). Also created send_syn.hpp
…syn() into a DOS SYN attack.
…rkstations and possibly Raspberry Pis
CarlosBeltranQ
commented
Dec 10, 2025
CarlosBeltranQ
left a comment
Collaborator
Author
There was a problem hiding this comment.
Added SYN Flooding capabilities to Scenario. Plus, Metric Logging for all the DDoS attack types and Python files that plot given metric files.
Jakio815
reviewed
Dec 11, 2025
| } | ||
| total_read += bytes_read; | ||
| } | ||
|
|
…r the config generator.
hokeun
reviewed
Dec 22, 2025
Comment on lines
+19
to
+21
| using namespace std::chrono; | ||
| return duration_cast<microseconds>(system_clock::now().time_since_epoch()) | ||
| .count(); |
Member
There was a problem hiding this comment.
Suggested change
| using namespace std::chrono; | |
| return duration_cast<microseconds>(system_clock::now().time_since_epoch()) | |
| .count(); | |
| return duration_cast<microseconds>(std::chrono::system_clock::now().time_since_epoch()) | |
| .count(); |
hokeun
reviewed
Dec 22, 2025
| #include <iomanip> | ||
| #include <mutex> | ||
|
|
||
| using namespace std; |
Member
There was a problem hiding this comment.
I suggest removing using namespace std; and always explicitly using std::blah.
hokeun
reviewed
Dec 22, 2025
| } | ||
|
|
||
| void metrics_end_row_and_write(MetricsRow& r) { | ||
| using namespace std::chrono; |
Member
There was a problem hiding this comment.
Ditto here for removing using namespace std::chrono;
Jakio815
reviewed
Dec 22, 2025
| 2. Run `mkdir build && cd build` | ||
|
|
||
| 3. Run `cmake ..`. | ||
| 3. Run `cmake ..` |
Collaborator
There was a problem hiding this comment.
Add award winning on top of readme. @CarlosBeltranQ
…ace from metrics.cpp
|
This file contains hidden or 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
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.


Added SYN Flooding to SST Testbed
When the user launches the SYN Flood attack using the
DoSSYNkeyword,clientwill call a function insend_syn.cppcalledsend_syn_packets().send_syn_packets()will create the headers and socket necessary to send syn packets toAuth.Metric Logging
Added the ability to track metrics for the DoS and DDoS attacks by adding an optional
-metricsflag when running./client.The metric log files are put into a file in the
SST_Testbed/metric_logs/directory.These files are CSV files and the values they hold are the:
For more details about each of these values, please visit
SST_Testbed/lib/README.md.Plot Generators
A
plot.pyfile was added inSST_Testbed/plot_generators/that plots given metric files. These plots will extract the latency and throughput information from the metric log files and plot them on graphs.The graphs will have either
latency, in milliseconds, orthroughput, in attempts per second, plotted on the y-axis and the number of malicious clients plotted on the x-axis.latencyis the average duration of each operation during an attack, in milliseconds.throughputis the number of attempted operations during an attack, per second.