Research Article

DI-ADS: A Deep Intelligent Distributed Denial of Service Attack Detection Scheme for Fog-Based IoT Applications

Algorithm 5

FN update.
Input:
Output: updating of local table at FN
(1) loop()
(2) {
(3)
(4)
(5)
(6)
(7)for all FN near BS do
(8)  ;
(9)end for
(10) }
(11)if communication starts between and then
(12)  if = = DDoS attacker checks in local table of itself. then
(13)   No communication;
(14)  else
(15)   Communication occurs;
(16)  end if
(17)end if