
Fighting against Black Hole Attacks in Mobile Ad Hoc Networks ◾ 83
e algorithm of the detector module is outlined in Algorithm 1. Basically, the
Bayesian detection function performs analysis over direct observations, obtaining
the values of α and β. If the relationship between α and β exceeds a predefined
tolerance level Φ, the watchdog identifies that node as malicious. ese values of α
and β are also used in the collaborative detection function, according to Equations
4.4 and 4.5. is function operates similarly to the Bayesian detection function,
although it uses secondhand information and other parameters to perform its task.
For the sa