International Journal of Advanced Research in Computer Science and Software Engineering (IJARCSSE)
An ad hoc network is the network with no fixed infrastructure. There is no central administrator so any node can come and move in and outside of the network in a dynamic manner. This makes it more dynamic and complex which makes it more prone to attacks. In this paper, the AODV protocol is modified to handle the blackhole attack and greyhole attack. The ACO is used to modify the AODV routing protocol. The ant place of at each node calculates its pheromone value by using the forwarding ratio at node. This modified protocol is compared with existing protocol by using various parameters i.e. pdr, e2edelay and throughput.