Research Article

A Protocol-Independent Botnet Detection Method Using Flow Similarity

Algorithm 1

Truncation algorithm.
Require:
Ensure:
Param: ,
 if then
 end if
 for do
  if then
   
  end if
  if then
   break
  end if
 end for
 return