Implements Alerts for elephant flows #2164

This commit is contained in:
Alfredo Cardigliano 2018-12-06 18:10:54 +01:00
parent 6a826a7b96
commit 313d025dfb
11 changed files with 93 additions and 4 deletions

View file

@ -2502,6 +2502,8 @@ function getFlowStatus(status, flowstatus_info)
elseif(status == 14) then return(""..i18n("flow_details.flow_blocked_by_bridge").."")
elseif(status == 15) then return(""..i18n("flow_details.web_mining_detected").."")
elseif(status == 16) then return(formatSuspiciousDeviceProtocolAlert(flowstatus_info))
elseif(status == 17) then return("<font color=orange>"..i18n("flow_details.elephant_flow_l2r").."</font>")
elseif(status == 18) then return("<font color=orange>"..i18n("flow_details.elephant_flow_r2l").."</font>")
else return("<font color=orange>"..i18n("flow_details.unknown_status",{status=status}).."</font>")
end
end