Research Article
Detection and Prevention of Man-in-the-Middle Spoofing Attacks in MANETs Using Predictive Techniques in Artificial Neural Networks (ANN)
Code Listing 1
Packet registration in ns-packet.tcl.
| #PNB: added by me for protoname | | AODV_MITM #for implementing man in the middle attack using the AODV protocol | | { | | set allhdrs [regsub -all {#.∗?\n} $protolist \n]; # strip comments from above | | foreachprot $allhdrs { | | add-packet-header $prot | | } |
|