Research Article

Secure and Fair Cluster Head Selection Protocol for Enhancing Security in Mobile Ad Hoc Networks

Algorithm 1

Secure cluster head selection algorithm.
Initiate node state
Cluster formation    assumption one hop clusters
NL = , , ,…,    node’s Neighbour Lists
= , , ,…,    Clustering variable Score
If (NL.size max-cluster-size) then
   Truncate NL to max-cluster-size
   Sort NL based on ;
For each node in NL:
   if ( ) then
   Neighbour is suspect node
   Calculate with from (1)
   Classify whether normal or attacker by reputation system
   Else if ( ) then
   Node is normal node
   Calculate with from (1)
   Else if ( > network-size) then
   Node is attacker node
   exclude node from decision
CH = neighbour node with maximum