Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
DDoS.json: add workload profile for DDoS testing
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rister committed Mar 13, 2019
1 parent 5f0f4ab commit 54b7d04
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions trex-profiles/workloads/DDoS.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"streams": [
{
"flows": 10240,
"frame_size": 64,
"flow_mods": "function:create_flow_mod_object(use_src_ip_flows=True, use_dst_ip_flows=False, use_src_mac_flows=False, use_dst_mac_flows=False, use_src_port_flows=True, use_dst_port_flows=False)",
"rate": 1000000,
"frame_type": "generic",
"stream_types": [
"measurement",
"teaching_warmup"
],
"stream_id": "good",
"the_packet": "scapy:Ether()/IP(src='10.2.0.0', dst='10.10.0.15')/UDP(sport=32768, dport=53)"
},
{
"flows": 10240,
"frame_size": 74,
"flow_mods": "function:create_flow_mod_object(use_src_ip_flows=True, use_dst_ip_flows=False, use_src_mac_flows=False, use_dst_mac_flows=False, use_src_port_flows=True, use_dst_port_flows=False)",
"rate": 9000000,
"frame_type": "generic",
"stream_types": [
"ddos"
],
"stream_id": "bad",
"the_packet": "scapy:Ether()/IP(src='10.3.0.0', dst='10.10.0.15')/TCP(sport=42768, dport=80, flags='S')"
}
]
}

0 comments on commit 54b7d04

Please sign in to comment.