|
Algorithm 1 End-to-end Operation |
← Get connected SDN switches
M← Load RF classifier model
← Blacklist
while True do
for all
S in
do
← Pull flow entries from S
F← FEATURE_CREATION()
ATTACK_DETECTION(F)
end for
Wait for some time
end while
procedureAttack_Detection(F)
C← Classify F using M
if
C is attack then
I← Get source identifiers from F
MITIGATION()
end if
end procedure
procedureMitigation()
if
I is not in
then
E← Create flow entry to block or redirect I
Install E into S
.add(I)
end if
end procedure
|