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 launch the DDoS attack in RPL contiki cooja simulator?

Description

Unnecessary incoming traffic are originated from one source. This makes it an impossible to differentiates the normal data traffic from the DDOS flooding.

Step-1

   Open the file at location:
Contiki/examples/ipv6/
tpl-udp /udp-client.c -

Change the Interval,

#define PERIOD1 1

#define SEND_INTERVAL_1 (PERIOD1 * CLOCK_SECOND)

#define SEND_TIME_1 (random_rand() % (SEND_INTERVAL_1))

if (node_id == 21) {

ctimer_set(&backoff_timer, SEND_TIME_1, send_packet, NULL);

} else {

ctimer_set(&backoff_timer, SEND_TIME, send_packet, NULL);

}

Step-2

   Open cooja simulation

   In terminal, go
to this directory: cd “contiki/
tools/ cooja/”

   Give Command in terminal :
ant run

   To create simulation.

Create motes for choose this
location server, client file.

/home/user/contiki/examples/
ipv6/rpl-udp

Step 3

   Run the simulation.

  , Start- click run the simulation

Output

Normal Traffic