[1,3,4,5,6,7,8]
But before this, we need to prevent malicious hosts to enter into a particular zone. These malicious hosts are the victims of several attacks which are discussed later. Attack on a host leads to a malicious host, which interrupt the route in the communication path. Hence a trust based framework is essential to detect and recover from the network layer attacks like black hole attack, wormhole attack and Byzantine attack. Black hole attack interrupts the packets forwarding to the destination. Wormhole attack disrupts the routing and Byzantine attack degrades the routing services. To overcome these attacks the proposed trust based frame work calculates the observed trust value (OTV) and advertised trust value (ATV