Implemented a network intrusion detection system for a software defined network using Random Forest method for classification of port and flow statistics.
Project Execution:
- Run collectstats.py on the controller.
- Then create a mininet custom topology.
- (While collecting normal traffic label the data 0.)
- Run some simple commands. So that you will be able to generate the clean data.
- Stop the controller.
- Change the collectstats.py file. Label the data as 1.
- Start the controller and run collectstats.py file.
- Create topology.
- Run hping flood command to capture malicious data.
- Now stop the controller.
- Run ryuapplication.py on the controller.
- Create a topology.
- Test the model on the new traffic.