Add ICMP flow filter

Closes #2498
This commit is contained in:
emanuele-f 2019-05-14 16:39:36 +02:00
parent d7765bb32d
commit 359d359d09
8 changed files with 121 additions and 73 deletions

View file

@ -35,6 +35,8 @@ local uid = _GET["uid"]
local pid = _GET["pid"]
local container = _GET["container"]
local pod = _GET["pod"]
local icmp_type = _GET["icmp_type"]
local icmp_code = _GET["icmp_cod"]
local deviceIP = _GET["deviceIP"]
local inIfIdx = _GET["inIfIdx"]
@ -196,6 +198,9 @@ if not isEmptyString(asn) then
pageinfo["asnFilter"] = tonumber(asn)
end
pageinfo["icmp_type"] = tonumber(icmp_type)
pageinfo["icmp_code"] = tonumber(icmp_code)
if not isEmptyString(tcp_state) then
pageinfo["tcpFlowStateFilter"] = tcp_state
end