Open Marvelous-coco opened 6 months ago
And i ran topology.py then tried "pingall" in mininet , the hosts can not reach each othe. Then I used command"sudo mn -c" but it didn't work, do you have any suggestions for it?.( I used Ubuntu18.04 ,python 3.6)
Hello @Marvelous-coco , Answer 1: The last sentence in your message refers to the script importing the package. It's not stuck; rather, it's running in the background. You can now proceed to perform attacks and observe the detected and mitigated traffic. As for the Ryu manager, if it's not outputting anything after you launched the ICMP flood in Mininet, you might want to check the configuration or logs to troubleshoot the issue. Keep an eye on the Ryu manager's logs or console output for any relevant information. Check if mininet is connected properly.
Answer 2: You can get predictflow.csv here-> https://drive.google.com/file/d/1N2QLDPb90XOdxcuQ_Fb7ZSVOG4J3w_zY/view
Answer 3: There separate script for different methods ex: knn.py, rf.py, you can also check dump folder
And i ran topology.py then tried "pingall" in mininet , the hosts can not reach each othe. Then I used command"sudo mn -c" but it didn't work, do you have any suggestions for it?.( I used Ubuntu18.04 ,python 3.6)
Have you changed mininet ip with your mininet ip?
And i ran topology.py then tried "pingall" in mininet , the hosts can not reach each othe. Then I used command"sudo mn -c" but it didn't work, do you have any suggestions for it?.( I used Ubuntu18.04 ,python 3.6)
Have you changed mininet ip with your mininet ip?
Yes, I replaced the controller ip with my own ryu controller ip, while keep the hosts and switches ip the same as your settings.
And i ran topology.py then tried "pingall" in mininet , the hosts can not reach each othe. Then I used command"sudo mn -c" but it didn't work, do you have any suggestions for it?.( I used Ubuntu18.04 ,python 3.6)
Have you changed mininet ip with your mininet ip?
Yes, I replaced the controller ip with my own ryu controller ip, while keep the hosts and switches ip the same as your settings.
Can you share your machine details: OS, whether your are using VM, etc
Hello!Thank you for your kindly reply! But I still can't see the attack be mitigated after I run KNN_controller.py and minigation_module.py.
Hello, i have a few questions when i try to run the project. question1 : After I run controller.py in ryu, I stuck to this step for 8 hours: what does the last sentence mean?and the ryu manager output nothing after i launched ICMP flood in mininet.
Question2 : How can i get "PredictFlowStatsfile.csv" to predict flow?
Question3 : How can I change learning methods in controller.py and how can i use ml.py?
I would greatly appreciate it if you could provide some guidance on how to resolve these issue. Thank you for your time and for sharing your code with the community.