Problem with Creating Malicious Node For OLSR in Ubuntu 14.10 with ns 2.35
Experts,
I need your help to create malicious nodes for OLSR routing protocol. I completly patch OSLR in ns 2.35 in ubuntu 14.10 (32-bit) and its working but when I am try to create any malcious node by defining it "Malicious" or "hacker" it show me an error and not running that .tcl file. for an example. $ns_ at 0.0 "[$node_(8) set ragent_] hacker " $ns_ at 0.0 "[$node_(14) set ragent_] hacker " $ns_ at 0.0 "[$node_(20) set ragent_] hacker " $ns_ at 0.0 "[$node_(26) set ragent_] hacker " Help me to solve this problem. I searched over internet but couldn't find any solution. Help me to solve this. Thank you. |
Ya I have same Problem as you have.
I already put that in my previous post but i didn't get any answers. |
I guess you will have to add malicious (hacker) to OLSR**.cc. OLSR**.h,
... like it's added for AODV. ( Or ZRP.) . ... And try if it works. Malicious : aodv-malicious_ns235.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing Malicious ZRP : zrp-malicious_ns235.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing - |
Dear knudfl,
I tried that too but it's not working for OLSR. So , If you have any other idea please help me. |
Hey,
I tried But its not working. Can anyone help me to add misbehaving node for OLSR ..?? |
Well, lots of information to find .... but no code ?
Google https://www.google.com/webhp?hl=all&...2+olsr+attacks ------- http://link.springer.com/article/10....2826773#page-1 http://link.springer.com/article/10.1007%2FBF02826773 http://www.ijcsit.com/docs/Volume%20...0140503379.pdf http://www.researchgate.net/profile/...17f2fa81ea.pdf http://www.ijaiem.org/volume3issue4/...-04-30-091.pdf etc. |
I am facing another problem in ns 2 from now
Hey Experts, I installed two version of ns2 in ubutntu 14.10 ns 2.34 and ns 2.35 so I set path in .bashrc file completly correct also when actually i m going to run any .tcl file it not showing me nam but showing xgraphs. so anyone can help me with this . error : Can't find a usable init.tcl in the following directories: /home/sunny/ns/ns-allinone-2.34/tcl8.4.18/library:/usr/lib /home/sunny/ns-allinone-2.35/lib/tcl8.5 ./lib/tcl8.5 ./lib/tcl8.5 ./library ./library ./tcl8.5.10/library ./tcl8.5.10/library |
Re #7.
Please read the OLSR postings (again) http://www.linuxquestions.org/questions/tags/olsr/ , also > > > http://www.linuxquestions.org/questi...-4175503158/#2 ... and you will know that ns2 doesn't require any *PATH settings ( in .bashrc ). ns-2.34 , ""Can't find a usable init.tcl "" : The executable 'ns_any-name' is hard coded to know it`s library location : ns-allinone-2.34/{ bin/tcsh8.4 , lib/*/* }. (And .bashrc cannot change that location.) ... So the only way "cannot find" will appear, is if you moved ns-allinone-2.34/ to a new location. ( Or deleted { bin/ , lib/ } .) Moving the ns2: You will have to leave a copy of ns-allinone-2.34/{bin/, lib/} in the build location. Installing ns-allinone is : cd ns-allinone-2.34/ns-2.34/ && cp ns ns234-olsr && sudo cp ns234-olsr /usr/local/bin/ cd ns-allinone-2.35/ns-2.35/ && sudo make install cp ns ns235-olsr && sudo cp ns235-olsr /usr/local/bin/ cd ../nam-1.15/ && sudo make install Then you have /usr/local/bin/{ nam, ns, ns234-olsr, ns235-olsr } Simulation : ns234-olsr mezyana-30.tcl - |
hello
how to add a malicious node in ns2.35 protocol OLSR please help me |
hello
how to add a malicious node in ns2.35 protocol OLSR please help me |
All times are GMT -5. The time now is 06:24 PM. |