NETWORK ATTACKS FRAMEWORK  1.0.0
A NETwork Attacks framework. Making network attacks impact evaluation easier!
NA_HackedModule Class Reference

Dropping attack hacked module. More...

#include <NA_HackedModule.h>

Inheritance diagram for NA_HackedModule:
NA_AODVUU NA_IPv4

List of all members.

Public Member Functions

virtual void handleMessageFromAttackController (cMessage *msg)
 This method is in charge of to receive the control message from the attack controller.

Private Attributes

NA_NesgLog log
 Log reference.

Detailed Description

Dropping attack hacked module.

This hacked module is in charge of implement the dropping behavior on IP layer. When this module receive a dropping control message from the controller this activate or deactivate the dropping behavior. The packets are discarded randomly following a normal distribution with a

droppingAttackProbability 

probability.

See also:
NA_HackedModule, NA_DroppingAttack
Author:
Gabriel Maciá Fernández, gmacia@ugr.es
Date:
01/22/2013

Definition at line 48 of file NA_HackedModule.h.


Member Function Documentation

void NA_HackedModule::handleMessageFromAttackController ( cMessage *  msg) [virtual]

This method is in charge of to receive the control message from the attack controller.

Depending of the message information, this method sets the specific hacked module properties to allow the attack behavior or not.

This method must be overridden for all hacked modules.

Parameters:
msgcMessage the received message from attack controller

Reimplemented in NA_AODVUU, and NA_IPv4.

Definition at line 29 of file NA_HackedModule.cc.

                                                                     {

    LOG << "Class HackedModule: HandleMessageFromAttackController\n";

}

Member Data Documentation

Log reference.

Reimplemented in NA_AODVUU, and NA_IPv4.

Definition at line 54 of file NA_HackedModule.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerator Defines