ssulca / ddosdn

Mitigation and Detection of DDoS Attacks in Software Defined Networks
MIT License
33 stars 12 forks source link

ERROR:mininet:Error setting vict1-eth0 up: #27

Open viettd14 opened 1 year ago

viettd14 commented 1 year ago

Hi Sluca,

My name is Tran Duc Viet, and I am a student at UIT. I am research DDos SDN project in my University. So i want reference your project I followed your instructions to install onos, mininet, docker, containernet. I run the file topo.py, i get mininet error: ERROR:mininet: Error: ERROR:mininet: Error: ERROR:mininet:Error setting vict1-eth0 up: ERROR:mininet: Error: ERROR:mininet: Error: ERROR:mininet:Error setting vict2-eth0 up: ERROR:mininet: Error: ERROR:mininet: Error: Ping: testing ping reachability Level 25:mininet: Ping: testing ping reachability

ids1 -> Level 25:mininet:ids1 -> X Level 25:mininet:X X Level 25:mininet:X ..........

Level 25:mininet:

*** Results: 100% dropped (0/702 received)

Level 25:mininet:*** Results: 100% dropped (0/702 received) I can't fix bug This project is very important to me. You can give me your email or any contact information (eg: facebook, instagram), I will actively contact you.

I have been researching anti-DDoS models in software-defined networking (SDN), and I am particularly interested in the approach you proposed in your paper. I believe that the source code would greatly aid my research by allowing me to reproduce and build upon your findings.

Thank you for your time and consideration. I look forward to hearing from you soon.

Best regards,

ssulca commented 1 year ago

Hi Tran, What is your OS?

viettd14 commented 1 year ago

My OS is Ubuntu 18.04 desktop I tried to fix the bug on topo.py file, but it didn't work, because mininet doesn't return error log

viettd14 commented 1 year ago

do you have ova file your project, can you share to me

ssulca commented 1 year ago

what is your mininet version?

do you have ova file your project, can you share to me

No, last time that ddosdn was update was run locally when mininet pass from python2 to python 3

viettd14 commented 1 year ago

I have tried with 2 mininet versions: 2.2.2 and 2.3.1b1. Both mininet versions have error ERROR:mininet:Error setting vict1-eth0 up: I am using python3 for run file topo.py

ssulca commented 1 year ago

Im going to try reproduce your error.

viettd14 commented 1 year ago

Im going to try reproduce your error.

Yes, thank you. hope you can help me fix my error. i tried using os ubuntu 20 desktop and using mininet 2.3.1b1, also got error ERROR:mininet:Error setting vict1-eth0 up. also, in your demo video, https://www.youtube.com/watch?v=oPERE8d_F40 you have accessed the link locahost:5000/control, i tried accessing this link but it doesn't work. Can you tell me more information what service or software is using port 5000 on your system. how to install an run it

ssulca commented 1 year ago

locahost:5000/control this service was done by @GastonLopez and I think he didn't share their project.

viettd14 commented 1 year ago

locahost:5000/control this service was done by @GastonLopez and I think he didn't share their project. Hi @GastonLopez and @ssulca, I am researching on the topic of ddos attack detection on sdn network. Gaston, can you share with me your project on monitoring and get log on localhost:5000? I will not share it publicly or anyone, I only use it for research purposes

ssulca commented 1 year ago

your openvswitch-switch service is enable ? you can check using

sudo systemctl status openvswitch-switch
viettd14 commented 1 year ago

My openvswitch-switch service is running

will@ubuntu:~$ sudo systemctl status openvswitch-switch ● openvswitch-switch.service - Open vSwitch Loaded: loaded (/lib/systemd/system/openvswitch-switch.service; enabled; vendor preset: enabled) Active: active (exited) since Tue 2023-04-25 19:50:27 PDT; 5min ago Process: 883 ExecStart=/bin/true (code=exited, status=0/SUCCESS) Main PID: 883 (code=exited, status=0/SUCCESS)

Apr 25 19:50:27 ubuntu systemd[1]: Starting Open vSwitch... Apr 25 19:50:27 ubuntu systemd[1]: Finished Open vSwitch.

viettd14 commented 1 year ago

locahost:5000/control this service was done by @GastonLopez and I think he didn't share their project.

Hi ssula, Can you help me fix my mininet error? Also you can share me email of @GastonLopez, I want to contact him, share locahost:5000. I would like to consult your thesis and Gaston for research purposes at my university Best regards,

ssulca commented 1 year ago

I think openvsiwitch-switch is not enabled try

sudo systemctl restart openvswitch-switch
ssulca commented 1 year ago

@viettd14 if you want to contact to @GastonLopez try to do via linkedin

viettd14 commented 1 year ago

@viettd14 if you want to contact to @GastonLopez try to do via linkedin

Oh great. Thank you Sulca for your sharing. I will contact Gaston immediately