[ns] ARAN simulation Authenticated Routing for Ad hoc Networks
hello is there any existing packege to simulate ARAN ( Authenticated Routing for Ad hoc Networks) plz a link Regards _ Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous ! http://www.microsoft.com/windows/windowslive/default.aspx
[ns] how to bind variabl from tcl in a protocole
hello i want to add a variable which i set from tcl and use in the protocol AODV in my tcl i put .tcl set ragent [new Agent/AODV 2] $node_(2) attach $ragent 255 $ragent set victimNode 4 in the AODV protocol aodv.cc i add bind("victimNode", &victim_); in AODV.h i add nsaddr_t victim_; finaly in ns_default.tcl i add Agent/AODV set attackNode 200 when i print the attack_ variable from AODV.cc it's always equal to 200 , i set it 4 in the tcl i dont understand what's the wrong ?? any suggestion?? Regards _ Découvrez tout ce que Windows Live a à vous apporter ! http://www.microsoft.com/windows/windowslive/
[ns] how to emulate encryption operation?
hi all I'm making a simulator for testing the performance of SAODV. Since the encryption/decryption algorithm constitutes a significant time in packet processing, I want to include this time into the simulation. help plz _ Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous ! http://www.microsoft.com/windows/windowslive/default.aspx
[ns] Is there any way I can introduce a delay using the scheduler?
Is there any way I can introduce a delay using the scheduler? I want to simulate the authentication opertion (signature and hash chaine) any sugestion _ Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics ! http://spaces.live.com/signup.aspx
[ns] how to simulate a signature delay
hi all i simulate a secure routing protocol , i add signature RSA to the messages , and i don't know how to simulate a signature delay ?? Any suggestions ?? Regards _ Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en ligne... si nouveaux qu'ils ne sont pas encore sortis officiellement sur le marché ! http://ideas.live.com
[ns] AODV attacks
hi all i want to implement an attack model on AODV protocol have somebody an idea how can i do that?? best regards _ Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics ! http://spaces.live.com/signup.aspx
[ns] SAODV in NS2
Hello i read SAODV draft and i wish to integrate this protocol with NS2 i would be grateful if somebody can provide me the necessary SAODV implementation Patch or a link to download it. best regards _ Découvrez tout ce que Windows Live a à vous apporter ! http://www.microsoft.com/windows/windowslive/
[ns] SAODV implementation
Hello I'm using the NS2 simulator , i read SAODV draft and i wish to integrate this protocol with NS2 i would be grateful if somebody can provide me the necessary SAODV implementation Patch or a link to download it. best regards _ Découvrez toutes les possibilités de communication avec vos proches http://www.microsoft.com/windows/windowslive/default.aspx
[ns] jtrana on unix
Hello ! I read about NS-2 wireless simulation trace analyzer called : Jtrana I downloaded the code but I think that this tool runs on windows Does someone knows how to install Jtrana on unix (ubuntu) ??? best regards _ Découvrez toutes les possibilités de communication avec vos proches http://www.microsoft.com/windows/windowslive/default.aspx
[ns] new packet size equal to zero
hello i create a new packet for aodv protocol , i add it in cmutrace.cc when i run a tcl script and i open the trace file i found my new packet but it's size is all the time equal to zero , idon't know why is this happen?? this is my declaration ## struct hdr_aodv_hello1 { u_int8_thello1_type;// Packet Type nsaddr_thello1_dst; // Destination IP Address nsaddr_thello1_src; // Source IP Address inline int size() { int sz = 0; /* sz = sizeof(u_int8_t)// h_type + sizeof(nsaddr_t)// h_dst + sizeof(nsaddr_t)// h_src */ sz = 3*sizeof(u_int32_t); assert (sz >= 0); return sz; } }; ## some suggestion ?? or help?? Best regards _ Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en ligne... si nouveaux qu'ils ne sont pas encore sortis officiellement sur le marché ! http://ideas.live.com
[ns] RAL route acquisition latency
hello everybody does anybody know how to calculate the RAL route acquisition latency ?? with awk best regards _ Découvrez tout ce que Windows Live a à vous apporter ! http://www.microsoft.com/windows/windowslive/
[ns] RAL route acquisition latency
hello everybody does anybody know how to calculate the RAL route acquisition latency ?? with awk best regards _ Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous ! http://www.microsoft.com/windows/windowslive/default.aspx
[ns] FW: INSPECT
hi again i want please the INSPECT 3D version . i read about it in this link http://www.cn.uni-duesseldorf.de/publications/library/Scheuermann2005b.pdf i get other INSPECT but it's 2D best regards From: binome_...@hotmail.com To: ns-users@isi.edu Subject: INSPECT Date: Fri, 20 Mar 2009 09:56:03 + hello does somebody know how can i get INSPACT ? i wish to use this tool to visualize my network I would be grateful if you can provide it. best regards Tous vos amis discutent sur Messenger, et vous ? Téléchargez Messenger, c'est gratuit ! _ Découvrez tout ce que Windows Live a à vous apporter ! http://www.microsoft.com/windows/windowslive/
[ns] how to get INSPECT
hello does somebody know how can i get INSPACT ? i wish to use this tool to visualize my network I would be grateful if you can provide it. best regards _ Découvrez tout ce que Windows Live a à vous apporter ! http://www.microsoft.com/windows/windowslive/
[ns] AODV whith no hello msg
hi everybody i wrote a small tcl script i use AODV protocol but when i open the trace file , i don't find any HELLO message , i note that the simulation duration is 200 why is this happen ?? regards _ Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous ! http://www.microsoft.com/windows/windowslive/default.aspx
[ns] invalid _AODV packet type
hello i introduce a new packet in AODV protocol #define AODVTYPE_HELLO1 0x12 and i create a functions (sendhello1 and recvhello1) , i use a timer to shedule this task , when i run a tcl script, i've got these errors send hello1 send hello1 format_aodv: invalid _AODV packet type so i think that a packet is sent twice but when it is received it isn't recognized , cause if it folow the recv function (look at bold lines only) void AODV::recvAODV(Packet *p) { struct hdr_aodv *ah = HDR_AODV(p); assert(HDR_IP (p)->sport() == RT_PORT); assert(HDR_IP (p)->dport() == RT_PORT); /* * Incoming Packets. */ switch(ah->ah_type) { case AODVTYPE_RREQ: recvRequest(p); break; ... .. case AODVTYPE_HELLO1: recvHello1(p); break; default: fprintf(stderr, "Invalid AODV type (%x)\n", ah->ah_type); exit(1); } } it dosen't take the case AODVTYPE_HELLO1.it's strange , isn't it what about the file CMUtrace , must i change it ??? to avoid this error? cause when i change the message fprintf(stderr, "Invalid AODV type (%x)\n", ah->ah_type); to fprintf(stderr, " may be here (%x)\n", ah->ah_type); i had exactly the first error message format_aodv: invalid _AODV packet type i find that the message was not from this procedure . i'm really surprised!!! somebody help me please! best regards Tous vos amis discutent sur Messenger, et vous ? Téléchargez Messenger, c'est gratuit ! _ Découvrez toutes les possibilités de communication avec vos proches http://www.microsoft.com/windows/windowslive/default.aspx
[ns] ormat_aodv: invalid _AODV packet type
hello i introduce a new packet in AODV protocol #define AODVTYPE_HELLO1 0x12 and i create a functions (sendhello1 and recvhello1) , i use a timer to shedule this task , when i run a tcl script, i've got these errors send hello1 send hello1 format_aodv: invalid _AODV packet type so i think that a packet is sent twice but when it is received it isn't recognized , cause if it folow the recv function (look at bold lines only) void AODV::recvAODV(Packet *p) { struct hdr_aodv *ah = HDR_AODV(p); assert(HDR_IP (p)->sport() == RT_PORT); assert(HDR_IP (p)->dport() == RT_PORT); /* * Incoming Packets. */ switch(ah->ah_type) { case AODVTYPE_RREQ: recvRequest(p); break; case AODVTYPE_RREP: recvReply(p); break; case AODVTYPE_RERR: recvError(p); break; case AODVTYPE_HELLO: recvHello(p); break; case AODVTYPE_HELLO1: recvHello1(p); break; default: fprintf(stderr, "Invalid AODV type (%x)\n", ah->ah_type); exit(1); } } it dosen't take the case AODVTYPE_HELLO1.it's strange , isn't it best regards _ Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics ! http://spaces.live.com/signup.aspx
[ns] shedule Null handler timer pb
hello i introduced a new pkt in AODV protocol ,witch i want to send it once when i start a simulation i want to broadcast it , so i write a send_newpkt () and I have this error when I run a tcl example Scheduler: attempt to schedule an event with a NULL handler. Don't DO that. i didn't use any timer cause i don't send the newpkt periodically but only once at the beginning plz look the code below : this is the code and i call it in AODV.CC AODV::AODV(nsaddr_t id) : Agent(PT_AODV), btimer(this), htimer(this), ntimer(this), rtimer(this), lrtimer(this), rqueue() { index = id; seqno = 2; bid = 1; LIST_INIT(&nbhead); LIST_INIT(&bihead); logtarget = 0; ifqueue = 0; sendnewpkt(); } void AODV::sendnewpkt() { Packet *p = Packet::alloc(); struct hdr_cmn *ch = HDR_CMN(p); struct hdr_ip *ih = HDR_IP(p); struct hdr_srs_aodv_reply *rh = HDR_srs_AODV_REPLY(p); #ifdef DEBUG fprintf(stderr, "sending newpkt from %d at %.2f\n", index, Scheduler::instance().clock()); #endif // DEBUG rh->rp_type = AODVTYPE_newpkt; //rh->rp_flags = 0x00; rh->rp_hop_count = 1; rh->rp_dst = index; rh->rp_dst_seqno = seqno; rh->rp_lifetime = (1 + ALLOWED_HELLO_LOSS) * HELLO_INTERVAL; // ch->uid() = 0; ch->ptype() = PT_AODV; ch->size() = IP_HDR_LEN + rh->size(); ch->iface() = -2; ch->error() = 0; ch->addr_type() = NS_AF_NONE; ch->prev_hop_ = index; //AODV hack ih->saddr() = index; ih->daddr() = IP_BROADCAST; ih->sport() = RT_PORT; ih->dport() = RT_PORT; ih->ttl_ = 1; Scheduler::instance().schedule(target_, p, 0.0); //send(p,0); } i tried send(p,0) but i had a segment fault best regards _ Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics ! http://spaces.live.com/signup.aspx
[ns] AODV new pkt send error
Hello i create a new packet “newpkt” aodv and I create a function send_newpkt (for neighbor only )and recv_newpkt and I call it in constructor (bold underlined ) AODV::AODV(nsaddr_t id) : Agent(PT_AODV), btimer(this), htimer(this), ntimer(this), rtimer(this), lrtimer(this), rqueue() { ... logtarget = 0; ifqueue = 0; /// sendnewpkt(); } and I have this error when I run a tcl example Scheduler: attempt to schedule an event with a NULL handler. Don't DO that. I think it's happen when my newpkt is sent: I create a newpkt exactly like sendhello() but I didn't use any timer exactly here: Scheduler::instance().schedule(target_, p, 0.); must I use a timer ??? I don't need to send my newpkt periodically, I just send it once . void AODV::sendHello() { Packet *p = Packet::alloc(); struct hdr_cmn *ch = HDR_CMN(p); struct hdr_ip *ih = HDR_IP(p); struct hdr_aodv_reply *rh = HDR_AODV_REPLY(p); #ifdef DEBUG fprintf(stderr, "sending Hello from %d at %.2f\n", index, Scheduler::instance().clock()); #endif // DEBUG rh->rp_type = AODVTYPE_HELLO; //rh->rp_flags = 0x00; rh->rp_hop_count = 1; rh->rp_dst = index; rh->rp_dst_seqno = seqno; rh->rp_lifetime = (1 + ALLOWED_HELLO_LOSS) * HELLO_INTERVAL; // ch->uid() = 0; ch->ptype() = PT_AODV; ch->size() = IP_HDR_LEN + rh->size(); ch->iface() = -2; ch->error() = 0; ch->addr_type() = NS_AF_NONE; ch->prev_hop_ = index; // AODV hack ih->saddr() = index; ih->daddr() = IP_BROADCAST; ih->sport() = RT_PORT; ih->dport() = RT_PORT; ih->ttl_ = 1; Scheduler::instance().schedule(target_, p, 0.0); } Regards _ Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous ! http://www.microsoft.com/windows/windowslive/default.aspx
[ns] tcl script & eclipse
hello my question is: can i write tcl script and run it from eclipse cdt or i'm oblige to run it in a terminal with command ns file.tcl ? what about the nam and xgraph ?? have a good day _ Découvrez toutes les possibilités de communication avec vos proches http://www.microsoft.com/windows/windowslive/default.aspx
[ns] ns in eclipse
hello how can i integrate ns in eclipse ? have u any idea ? plz help me _ Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en ligne... si nouveaux qu'ils ne sont pas encore sortis officiellement sur le marché ! http://ideas.live.com
[ns] add library to configure.in or makefile
hi everybody i add a function in a AODV protocol, this function use a openssl library (cryptography library ) when i run ./configure and make , i have error cause it didn't recognize the code aodv/aodv.o: In function `AODV::AODV(int)': aodv.cc:(.text+0x266f): undefined reference to `OpenSSL_add_all_digests' aodv.cc:(.text+0x2693): undefined reference to `RSA_generate_key' aodv.cc:(.text+0x26a9): undefined reference to `RSAPublicKey_dup' collect2: ld returned 1 exit status make: *** [ns] Error 1 i try this code before in simple program, i compile it with g++ -lssl -lcrypto simple.cc -o simple_exec and i'd no problem! therefore i suppose that i have to add -lssl and -lcrypto to my configure.in but i have no idea how and where i can add this lib something like this in configure.in (or maybe makefile.in) AC_CHECK_LIB([ssl], [SSL_library_init], [LIBS="$LIBS -lssl -lcrypto"]) somebody help me please best regard _ Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics ! http://spaces.live.com/signup.aspx
[ns] cryptolib integratuion
hello i want to install the openSSL cryptolib in order to add signature extension to my routing protocol, i want a link where can i find how to integrate this library with the NS2 simulator? (is it necessairy to do that , cause i think i have only to install it and include the crypto_file.h in my program.cc ) please if some body have an examples or link how to use this library , it so much hard for me to understand it. best regads _ Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics ! http://spaces.live.com/signup.aspx
[ns] new protocol my ping
hello i make some change in a ping example in order to try to compile a new protocol , but it doesn't work i don't know why !! i've only create new files myping.cc myping.h myping.tcl i put them in ns-2.33/apps, and i've replace only ping by myping in all class for example in myping.h #ifndef ns_myping_h #define ns_myping_h #include "agent.h" #include "tclcl.h" #include "packet.h" #include "address.h" #include "ip.h" struct hdr_myping { char ret; char nbhop; double send_time; }; class myPingAgent : public Agent { public: myPingAgent(); int command(int argc, const char*const* argv); void recv(Packet*, Handler*); protected: int off_myping_; }; #endif i did all the necessary changement in tcl/lib/default.tcl, common/packet.h..and in Makefile i add apps/myping.o tell me plz if i have to create myping.o or it's automaticly generated i run ./configure but when i run make oooh my dearest god a lot of error , i'm dispointed look in to that : configure: creating ./config.status config.status: creating Makefile config.status: creating tcl/lib/ns-autoconf.tcl config.status: creating indep-utils/webtrace-conv/ucb/Makefile config.status: creating indep-utils/webtrace-conv/dec/Makefile config.status: creating indep-utils/webtrace-conv/nlanr/Makefile config.status: creating indep-utils/webtrace-conv/epa/Makefile config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile config.status: creating autoconf.h config.status: autoconf.h is unchanged sa...@sarym-laptop:~/Bureau/ns-allinone-2.33/ns-2.33$ make g++ -c -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I. -I/home/sarym/Bureau/ns-allinone-2.33/tclcl-1.19 -I/home/sarym/Bureau/ns-allinone-2.33/otcl -I/home/sarym/Bureau/ns-allinone-2.33/include -I/home/sarym/Bureau/ns-allinone-2.33/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o apps/myping.o apps/myping.cc In file included from ./common/agent.h:41, from apps/myping.h:12, from apps/myping.cc:10: ./common/packet.h: In static member function ‘static void p_info::initName()’: ./common/packet.h:287: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:288: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:289: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:290: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:291: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:292: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:293: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:294: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:295: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:296: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:297: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:298: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:299: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:300: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:301: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:302: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:303: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:304: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:305: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:306: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:308: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:309: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:310: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:311: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:312: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:313: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:315: warning: deprecated conversion from stri
[ns] add signature to a routing protocol
From: binome_...@hotmail.com To: ns-users@isi.edu Subject: secure routing Date: Wed, 4 Feb 2009 11:24:13 + hi everybody i want to add some security aspects for AODV routing protocols, i have to integrate a cryptolib (cryptography algorithm) , but i have no idea how to do that , and how can i use the algorithm , i want to use RSA to generate a signature and SHA2 for a hash function . if somebody did it befor i ask him or her to help me . i need some simple example or a link for a biginners thank's have a good day Découvrez tout ce que Windows Live a à vous apporter ! _ Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous ! http://www.microsoft.com/windows/windowslive/default.aspx
[ns] compile a new protocol
From: binome_...@hotmail.com To: ns-users@isi.edu Subject: ping.o Date: Thu, 5 Feb 2009 11:25:08 + hi everybody i want to create a new protocol i saw the example ping in ns tutorial, i want to do the same thing but i don't know how to add ping.o to the makefile cause when i searched it in the ns-2.33 folder i found a lot of file named Makefile , i don't know where can i add my_ping.o somebody help me plz best regards Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous ! _ Découvrez tout ce que Windows Live a à vous apporter ! http://www.microsoft.com/windows/windowslive/
[ns] what the Handoff Attempted error mean
hello i have this error when i simulate AODV protocol Client 7: Handoff Attempted best regards sarym _ Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics ! http://spaces.live.com/signup.aspx
[ns] how can i change the pause time parameters?
hello how can i change the pause time parameters without creating a lot of scenario file and change the -p (when we use the setdest) ? is it possible (how can i do it ?) how can i set the radio range = 250m , where can i initiate this variable ? best regards _ Glissez - déplacez : c'est si simple de partager vos photos sur Windows Live™ Photos ! http://www.microsoft.com/windows/windowslive/photos.aspx
[ns] AODV (PDR, EED,bandwith
bonjour have any body an example , how to mesure thre performance of AODV (PDR, EED,bandwith). best regrds _ Découvrez tout ce que Windows Live a à vous apporter ! http://www.microsoft.com/windows/windowslive/