Amazing technological breakthrough possible @S-Logix pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to create the DIS attack in RPL in Contiki cooja simulator?

Description

Generating a large amount of traffic through DIS messages, causing nodes within ranges are to send DIO messages (using advertise information about DODAG to new nodes) and reset their trickle timers.

Step-1

Open the file at location:

home/user/contiki/core/net/rpl/

rpl-private.h – Here defines and declared default values for control messages.

#define RPL_DIS_INTERVAL 0

#define RPL_DIS_START_DELAY 0

To launch dis attack, macros defined with default values .set it as 0 .

Step 2: Open a file

rpl-timers.c The function handling the operation DIS message send time interval

Static void handle_periodic_timer(void *ptr)

Code:

int i=0;

while(i<10){

i++;

dis_output(NULL);

}

Output