Improved detection of flow status

This commit is contained in:
Luca 2016-05-16 18:54:08 +02:00
parent 689e38d90a
commit 5ff9db9dd5
9 changed files with 214 additions and 12 deletions

View file

@ -440,7 +440,9 @@ for _key, _value in pairsByKeys(vals, funct) do
-- if(value["category"] ~= nil) then print (", \"column_category\" : \"" .. value["category"] .. "\", ") else print (",") end
print (", \"column_proto_l4\" : \"")
if(value["flow.idle"]) then print("<i class='fa fa-clock-o fa-lg'></i> ") end
if(value["flow.status"] ~= 0) then
print("<i class='fa fa-warning fa-lg' style='color: orange;'></i> ")
end
if ((((value["proto.l4"] == "TCP") or (value["proto.l4"] == "UDP")))
and ((value["tcp.seq_problems"] == true) or (value["flow_goodput.low"] == true))) then