Research Article

Efficient Hybrid Detection of Node Replication Attacks in Mobile Sensor Networks

Algorithm 3

Global detection.
() if   ∥ NextHop == null  then
() for  each in   do
() if   is inconsistent with   then
() Raise-alert();
() end if
() end for
(7) Add into ;
(8) else
(9) Forwarding ;
(10) end if
(11) Remove s 2 epoches older than the current time from .