Algorithm Implementation in TCL language...

34 views
Skip to first unread message

Shoukat Ali

unread,
Jul 7, 2019, 7:32:35 AM7/7/19
to Network Simulator 2 (NS2)
Hello Everyone,
I am working on Blackhole attack using NS2.35. My question is can I deploy my proposed idea (Algorithm) inTCL language? TCL mostly termed as a scripting language, can I use it for Implementing my idea.
Thanks in advance 

knudfl

unread,
Jul 7, 2019, 8:12:08 AM7/7/19
to Network Simulator 2 (NS2)
Hi.

The classic way of adding `blackholeaodv´ :  blackholeaodv2013-ns235_1.patch
https://drive.google.com/file/d/0B7S255p3kFXNWWVDZzd2ZC14akE/view?usp=sharing

And a new "basic / simple / primitive" blackholeaodv :

The above "Search for messages" :   Keyword = blackhole  →  →
ns2-INFO.txt

Shoukat Ali

unread,
Jul 17, 2019, 3:55:03 AM7/17/19
to ns-u...@googlegroups.com
Sir,
Thanks for the reply and help. Actually i implemented the black hole attack and it working fine now. source node stop communicating with malicious node. But now i need to bypass the attacker using my algo. Can you please share a little bit further help, where i can code??? Can i implement my algo in TCL??? Or C++ is a must? If C++ is the only solution, where i can deploy it? Please reply me back.


Shoukat Ali


--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/48e84329-58d4-413b-ae9c-582f78533e49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages