Dear Basant, I am not very sure of the error you have mentioned.
However, you may be interested to look into the Blackhole patch given on the following link: http://mohittahiliani.blogspot.in/2014/05/blackhole-attack-in-ns-2.html Hope it helps. Best Regards, Mohit P. Tahiliani On Thursday, September 4, 2014 5:34 AM, "ns-users-requ...@isi.edu" <ns-users-requ...@isi.edu> wrote: Send Ns-users mailing list submissions to ns-users@isi.edu To subscribe or unsubscribe via the World Wide Web, visit http://mailman.isi.edu/mailman/listinfo/ns-users or, via email, send a message with subject or body 'help' to ns-users-requ...@isi.edu You can reach the person managing the list at ns-users-ow...@isi.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Ns-users digest..." Today's Topics: 1. request joining (i kok) 2. Different Packets Priority (How can I do packet priority for wireless nodes in ns2 ? ) (i kok) 3. Implementation of Black-hole attack against AODV protocol in NS2 (basant subba) ---------------------------------------------------------------------- Message: 1 Date: Wed, 3 Sep 2014 12:48:16 +0300 From: i kok <ikok.c...@gmail.com> Subject: [ns] request joining To: ns-users@isi.edu Message-ID: <cap3po8hzoexi-krcjed1vvyx-lgqt2ed4prj2cbym71yzyi...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 ------------------------------ Message: 2 Date: Wed, 3 Sep 2014 13:16:35 +0300 From: i kok <ikok.c...@gmail.com> Subject: [ns] Different Packets Priority (How can I do packet priority for wireless nodes in ns2 ? ) To: ns-users@isi.edu Message-ID: <CAP3pO8F_g-ZboyGEoMYap=_4rgczhtbr0n22p5uyvpvjz_h...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Hi , I want to simulate packet priority for mobile nodes, How can I do this in ns 2 ? Could you show me a way ? Links,.Tcl file or etc. Thanks.. ------------------------------ Message: 3 Date: Wed, 3 Sep 2014 17:36:14 +0530 From: basant subba <basantsu...@gmail.com> Subject: [ns] Implementation of Black-hole attack against AODV protocol in NS2 To: ns-users@isi.edu Message-ID: <CAMRmPAG2voRLMHUc4865N=m1dcpvgqeh_tnfpnnqskpw0zq...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Hello everyone I am trying to implement a blackhole attack in AODV protocol in NS2(version 2.35). After making all the necessary changes in ns-lib.tcl, ns-default.tcl, ns-packet.tcl, cmu-trace.cc, priqueue.cc and Makefile, when I ran my tcl script it threw this error. (_o14 cmd line 1) invoked from within "_o14 cmd addr" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o14" line 2) (SplitObject unknown line 2) invoked from within "_o14 addr" ("eval" body line 1) invoked from within "eval $node addr $args" ("default" arm line 2) invoked from within "switch -exact $routingAgent_ { DSDV { set ragent [$self create-dsdv-agent $node] } DSR { $self at 0.0 "$node start-dsr" } AODV { set ragent [$self cre..." (procedure "_o3" line 14) (Simulator create-wireless-node line 14) invoked from within "_o3 create-wireless-node" ("eval" body line 1) invoked from within "eval $self create-wireless-node $args" (procedure "_o3" line 23) (Simulator node line 23) invoked from within "$ns_ node" ("for" body line 2) invoked from within "for {set i 0} {$i < $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 0 ;# disable random motion }" (file "simple-wireless.tcl" line 93) Has any1 else encountered this problem while implementing a new protocol? If anyone knows how to fix this problem please help. Thanks and Regards. CHEERS...!! ------------------------------ _______________________________________________ Ns-users mailing list Ns-users@isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 129, Issue 2 ****************************************