warcraft23 / FSMBA-in-NS2

FSMBA simulation in NS2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#FSMBA:Fast and Secure Multi-hop Broadcast Algorithm It is an algorithm created by Claudio E Palazzi and Wafa Ben Jaballah.It is based on the algorithm called Fast Broadcast which is also called as FMBA,Fast Multi-hop Broadcast Algorithm.

FSMBA try to solve the situation in which a malicious vehicle might inject incorrect information into the intervehicle wireless links,leading to life and moneyy losses or any other sort of adversarial selfishness.

Here is the source code of FMBA in NS2 Simulator.

##Fast Broadcast ###PROBLEMS Applications such as online gaming and alert message propagation are sensitive to per-packet delivery delays. Consider a Vehicular Ad-hoc Network (VANET); in this context, the quick propagation of multi-hop broadcast messages generated by the aforementioned applications requires the deployment of specific solutions able to avoid redundant transmissions and other sources of message propagation delays.

###SOLUTIONS We have developed a solution that allows vehicles in a car platoon to dynamically estimate their transmission range and to exploit this information to efficiently propagate a broadcast message with as few hops (and transmissions) as possible. In essence, the farthest vehicle in the transmission range of a message sender/forwarder will be statistically privileged in becoming the next (and only) forwarder.

###ABOUT THE CODE

  • bbcast-packet.h includes the definition of the new packet header;
  • bbcast-packet.cc includes the implementation of the functions to access the packet header;
  • BroadcastbaseAgent.h includes the prototypes of the functions related to the broacast agent;
  • BroadcastbaseAgent.cc includes the implementation of the functions of the broadcast agent;
  • BroadcastbaseApp.h includes the definition of our application's class and, in general, the definition of the data structures utilized by our application;
  • BroadcastbaseApp.cc includes the implementation of our application's class and, in general, all the functional components of our application
  • README_INSTALL how to install the modules into NS2
  • README_SCRIPT.txt how to run the script
  • scripts/broadcast.tcl Tcl Script Example to simulate the FMBA
  • scripts/*.pl other scripts

##FSMBA ###POSTION-CHEATING ATTACK ###FALSE_POSITION DETECTION ###REPLAY BROADCAST MESSAGE ATTACK ###ANTIREPLAY PROTECTION ###INTERRUPTING A FORWARDING ATTACK ###INTERRUPTING FORWARDING ATTACK DETECTION

About

FSMBA simulation in NS2


Languages

Language:C++ 46.1%Language:Shell 24.1%Language:Perl 21.1%Language:Tcl 8.3%Language:C 0.4%