Filter flows by L4 protocol

This commit is contained in:
Alfredo Cardigliano 2019-07-12 14:41:07 +02:00
parent 57a7dcb727
commit 54c783f236
8 changed files with 60 additions and 2 deletions

View file

@ -45,8 +45,9 @@ local outIfIdx = _GET["outIfIdx"]
local asn = _GET["asn"]
local vhost = _GET["vhost"]
local flowhosts_type = _GET["flowhosts_type"]
local ipversion = _GET["version"]
local flowhosts_type = _GET["flowhosts_type"]
local ipversion = _GET["version"]
local l4proto = _GET["l4proto"]
local traffic_type = _GET["traffic_type"]
local flow_status = _GET["flow_status"]
local tcp_state = _GET["tcp_flow_state"]
@ -169,6 +170,10 @@ if not isEmptyString(ipversion) then
pageinfo["ipVersion"] = tonumber(ipversion)
end
if not isEmptyString(l4proto) then
pageinfo["L4Protocol"] = tonumber(l4proto)
end
if not isEmptyString(vlan) then
pageinfo["vlanIdFilter"] = tonumber(vlan)
end