GAR-Project / project

DDoS attacks detection by using SVM on SDN networks.
https://gar-project.github.io/project/
139 stars 28 forks source link

SVM chapter related questions #11

Closed abc744587 closed 2 years ago

abc744587 commented 2 years ago

Dear all,

The first question is,should data_gathering.py be executed locally on Windows? Or should it be in the VM? Because I don't see data_gathering.py in both VMs.

image

================================================================================== The second question is, does matplotlib have to perform extra? image

Thank you all for listening. --Ren

davidcawork commented 2 years ago

Hello @abc744587 !

Let's go by parts,

First of all, the whole project is designed to run in a Linux environment! So I don't understand why you are asking if it should run in Windows or in a VM. I strongly recommend you to read section Installation methods again.

Second, the data_gathering.py script only serves to generate the datasets that you can find here. We have also added it so as not to take anything for granted and to be completely transparent with the reader.

Third,

The second question is, does matplotlib have to perform extra?

I don't understand the question, what do you mean? Feel free to rephrase the question and reopen the issue if u want

Have a nice day!

abc744587 commented 2 years ago

Dear @davidcawork ,

Do you mean the whole environment will be executed in Vagrant in Linux? Because I use Vagrant in Windows to start test&controller.

And I don't see data_gathering.py in the test and controller machine. It can only be seen in the project downloaded by clone.

The second question is, does matplotlib have to perform extra?

Sorry, I mean does matplotlib need to be installed extra?

Thank you all for listening. --Ren

davidcawork commented 2 years ago

Hi,

What I mean is, the test and control environment is going to be Linux machines. The fact that you use Vagrant to run two Linux virtual machines does not imply that you run the scritps from Windows, that's what I meant. The data_gathering.py file is not on any of the machines because it has been used in parallel to generate the dataset.

You don't need matplotlib to run the tests. If you want to paint the results with matplotlib as we have done, you can do it.

abc744587 commented 2 years ago

Dear @davidcawork ,

Thanks for your answer :smiley: .

If I have other questions, I will ask you again.

--Ren

davidcawork commented 2 years ago

It will be our pleasure to help!