LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-20-2014, 04:00 AM   #1
vartika.shah
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Rep: Reputation: Disabled
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?
 
Old 06-22-2014, 08:13 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
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:
$from with trip-time..."
(file "xte.tcl" line 242)
Looks like it may be trying to apply a trip time delta to a time-stamp nonce and failing.
Does xtea require you sync to a network time server or widely known external time server?
 
1 members found this post helpful.
Old 06-28-2014, 01:26 AM   #3
vartika.shah
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
implementing new protocol in ns2.35 saeed.m Linux - Software 28 02-17-2015 11:21 AM
implementing a handoff algorithm in NS2 RSM_smile Programming 1 06-25-2012 04:01 PM
implementing DSR in NS2 ritoban87 Linux - Networking 3 05-24-2012 05:15 AM
NS2 - Experts for Implementing attack krishnaceg Linux - Wireless Networking 2 10-30-2011 08:16 AM
Implementing 3DES Encryption in linux thirumalesh Programming 0 02-06-2009 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration