Detection of Distributed Denial of Service Attack on Software Defined Networks using Support Vector Machines.
- This directory module1 contains four directories.
- net
- params
- pkts
- svm
-
Start with net directory
-
Run atr_normal.py in one window sudo python atr_normal.py
-
Go to pkts directory
-
Run pcap.sh in another window sudo pcap.sh normal.pcap
-
Capture for approx. 2 minutes. Then press cntrl - C
-
Do the same thing for attack.
-
Copy normal.pcap and attack.pcap to params directory
-
Go to params directory, use gawk to extract our desired parameters gawk -f normal_pkt100.awk normal.pcap
-
Do the same thing for attack
-
Copy the files normal_data100.csv and attack_data100.csv to svm directory.
-
Run svmclassifier.py python svmclassifier.py