Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] Execute multiple command - strange behaviour

Silvia Fichera fichera.sil at gmail.com
Tue Dec 24 05:30:06 PST 2013


Hi all,

I have some problem with the synchronous execution of some command.
I wrote a script in which I create my network, than I start mininet
(net.start()),
execute my command

"   host[100].cmd('xterm -e iperf -s')
    host[68].cmd('python SYN_FLOOD.py -d 10.0.0.101 -c 120 -p 5001 &')
    host[19].cmd('python SYN_FLOOD.py -d 10.0.0.101 -c 120 -p 5001 &')
    host[69].cmd('python SYN_FLOOD.py -d 10.0.0.101 -c 120 -p 5001 &')
    host[0].cmd('xterm -e iperf -c 10.0.0.101 -t 3 -i 1 -f m -m &')
    host[20].cmd('python SYN_FLOOD.py -d 10.0.0.101 -c 120 -p 5001 &')
    host[70].cmd('python SYN_FLOOD.py -d 10.0.0.101 -c 120 -p 5001 &')
    host[50].cmd('xterm -e iperf -c 10.0.0.101 -t 3 -i 1 -f m -m &')
    host[21].cmd('python SYN_FLOOD.py -d 10.0.0.101 -c 120 -p 5001 &')
    host[71].cmd('python SYN_FLOOD.py -d 10.0.0.101 -c 120 -p 5001 &')"

etc...

to perfom ddos SYNFLOOD attack and at the same time open a trusted
connection with iperf, after that I start CLI.
What happen is with the iperf connection because it tells me "no route to
host".

I also tryed to start CLI before my command. When I give the exit command
on CLI, iperf connection starts (I can see the output in the termina) but,
obviously, when the switches shut down it fail (and I know it's normal...)

How can I fix it?

-- 
Silvia Fichera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20131224/6f5a60ca/attachment.html>


More information about the mininet-discuss mailing list