Research Article

Detecting and Mitigating Smart Insider Jamming Attacks in MANETs Using Reputation-Based Coalition Game

Algorithm 2

Coalition maintenance through reputation.
(1)Assign values for and
(2) Start for all nodes
(3)Node checks its transmission rate table to assign reputation value for neighbor .
(4)if   shares its transmission rate then
(5) compute reputation value according to:
(6)        
(7)else
(8)  Set if [34]
(9)end if
(10) if   refuses to share its transmission rate then
(11) compute reputation value according to
(12)         
(13) else
(14) Set if
(15) end if
(16) Node updates node ’s reputation value according to:
(17) 
(18) Store this reputation value in its reputation table
(19) Share reputation table with neighbors at every time-slot.
(20) return  
(21) All nodes continue to update their reputation table.