Security and Communication Networks / 2018 / Article / Alg 3

Research Article

A Sequence Number Prediction Based Bait Detection Scheme to Mitigate Sequence Number Attacks in MANETs

Algorithm 3

Operation of node after receiving RREP packet.
Procedure 1: Actions by the node after receiving an RREQ
Retrieve the Status of the node forwarding RREP packet
If (Status == malicious) then
Discard the RREP packet
End If
Else If (Status==normal) then
Evaluate the predictive seq. number (PRED_SEQNO)
End If
If (DEST_SEQNO > PRED_SEQNO)
Status=suspicious
(10) Update the Status of the node in the neighboring table.
(11) End If
(12) Else
(13) Perform the normal routing operations.
(14) If (Status = suspicious)
(15) Send BAIT_REQUEST to suspicious node
(16) End if
(17) If (BAIT_REPLY received)
(18) Change the status of the node from suspicious to malicious
(19) Delete the routing entry for the malicious node.
(20) Initiate a local route discovery process to find an alternate route to the destination.
(21) End If
(22) Else
(23) Change the Status from suspicious to normal and perform regular routing operations
(24) Exit

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.