Research Article

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

Algorithm 2

Operation of node after receiving RREQ packet.
Procedure 1: Actions by the node after receiving an RREQ
Retrieve the Status of the node forwarding RREQ packet
If (Status == malicious ) then
Discard the RREQ packet
End If
Else If (valid fresher route is available in the routing table) then
Generate the RREP packet and forward it towards the Source Node.
End If
Else
Update the Routing Information and forward the RREQ further.
(10) Exit