Research Article

CHAOS: An SDN-Based Moving Target Defense System

Algorithm 1

CHAOS.
Require: packetInp, Inf, Sup, RandomIndex; is the height of the
if isFromSrcSwitch (p) orisFromDstSwitch (p) then installHostMutationFlows (p);
end if
srcLayer ←getSrcLayer (p);
dstLayer←getDstLayer (p);
  Altitude←srcLayerdstLayer;
Possibility←random ;
if    Altitude ≥ 0  then
  Forward (p);
else
    Altitude←  Altitude;
  if    Altitude/HEIGHTthreshold  then
   if  isRequestPacket (p) andPossibilityRandomIndex
   then
    PacketOut (p);
   else
    ForwardToDecoyServer (p);
   end if
  else
  InstallForwardingFlows (p);
  end if
end if