Research Article

Hybrid Internal Anomaly Detection System for IoT: Reactive Nodes with Cross-Layer Operation

Pseudocode 1

MGSS and ISS overview.
for every incoming IPv6 packet
if (sender exists in nbr_monitor)
if (normal node)
extract required information;
generate appropriate information from extracted info;
manipulate status flags based on current and available information;
optimize and store information as log;
allow packet to upper layers;
}  else
discard packet;
} end if
else
extract required information;
generate appropriate information from extracted information;
assign default operational settings;
allow packet to upper layers;
} end if