mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implements eBPF per-username flows view
This commit is contained in:
parent
d08534cb8f
commit
8ecf392682
3 changed files with 167 additions and 146 deletions
|
|
@ -2,7 +2,7 @@
|
|||
-- (C) 2013-18 - ntop.org
|
||||
--
|
||||
|
||||
dirs = ntop.getDirs()
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
require "lua_utils"
|
||||
|
|
@ -30,6 +30,7 @@ local application = _GET["application"]
|
|||
local category = _GET["category"]
|
||||
local network_id = _GET["network"]
|
||||
local vlan = _GET["vlan"]
|
||||
local uid = _GET["uid"]
|
||||
|
||||
local deviceIP = _GET["deviceIP"]
|
||||
local inIfIdx = _GET["inIfIdx"]
|
||||
|
|
@ -158,6 +159,10 @@ if not isEmptyString(vlan) then
|
|||
pageinfo["vlanIdFilter"] = tonumber(vlan)
|
||||
end
|
||||
|
||||
if not isEmptyString(uid) then
|
||||
pageinfo["uidFilter"] = tonumber(uid)
|
||||
end
|
||||
|
||||
if not isEmptyString(deviceIP) then
|
||||
pageinfo["deviceIpFilter"] = deviceIP
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue