The International Journal of Innovative Research in Computer and Communication Engineering
Mobile Ad-hoc NETwork (MANET) is used most commonly all around the world, because it has the ability to communicate each other without any fixed network. Each mobile node can move freely in any direction and changes their links to other devices. Security is an essential part of ad hoc networks. Due to its dynamic topology, no centralized infrastructure, resource constraints and limited security it is vulnerable to various attacks black hole and gray hole attack is one of them. When the malicious node advertises itself as having the shortest path to the destination and falsely replies to the route requests and drops all receiving packets.