error while implementing encryption in ns2
i m implementing Xtea in ns2 and facing a error
invalid command name "Agent/xtea" while executing "Agent/xtea instproc init recv {from rtt mess originmess hash} { $self instvar node_ puts "node [$node_ id] received packet from \ $from with trip-time..." (file "xte.tcl" line 242) can anyone help me in resolving this error? |
Hey Vartika
Is that the complete error? I'm not familiar with xtea encryption other than it's a kind of cyclical public/private pair hash, but in that kind of encryption scheme, to avoid replay attacks within the network, they use time-stamps to control the life cycle of encryption keys and this... Quote:
Does xtea require you sync to a network time server or widely known external time server? |
thanx for rplying. this is the error
num_nodes is set 18
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead invalid command name "Agent/null" while executing "Agent/null create _o300 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Agent/null" invoked from within "set p(1) [new Agent/null]" (file "xte.tcl" line 76) |
All times are GMT -5. The time now is 12:03 AM. |