-
Notifications
You must be signed in to change notification settings - Fork 0
Network Initalizer
The python script used to initialize a CORE network for the setup of a trial
The core-daemon must be running before executing this script in order for it to successfully initialize a CORE network for simulation. This script can be run from the terminal or loaded into the CORE GUI using the Execute Python script with options button. Load this script with the CORE GUI if your interested in visualizing a DDoS Simulation. When running from the terminal the initialized network will automatically terminate after 360 seconds. By default this script will randomly initialize a network with 2-10 switches where a random number of the hosts are running the attacker process. This script accepts optional parameters to allow the experimenter or driver to specify the number of switches in a network or to specifically deploy the attacker process on select hosts.
The network_initializer script accepts 3 parameters. An integer -s which is the number of switches to be initialized. A float -c between 0.0 and 1.0 which defines the percentage of hosts with the attacker process. A comma separated list -a of hosts where a attackers should be deployed. If the list -a is specified the -c composition parameter is ignored.
| number of switches | attacker composition | list of attackers |
|---|---|---|
| -s | -c | -a |