Number of nodes = 30
Routing Protocol = AODV
Type of attacker = Black hole
Security Provider = IDS &P (Intrusion Detection System and Prevention)
Step1: Send the request to all intermediate nodes between sources to destination.
Step2: Add the next hop in routing table if we have a destination route, otherwise rebroadcast the request.
Step3: Compare the aodv routing table to next hop routing table if table is matched it means no attack in the network and route is true, then forward all data packet.
Step4: If next node is false, and routing table is not matched it means no previous data is sent to that hop, insert the new entry to the table which have shortest path to destination.
Step5: If next hop is true, sending data through that hop is false then send the data packet for checking the reliability.
Step6: If routing table is not matched it means some mis activity occur in the network through malicious node, then prevention scheme is applied and block that hop and change the path, forward data packet.
Step7: If routing is matched then forward data packet until send all data packet to reach the destination.
|Source Code||Complete Code files|