Removed "hide from top" hist feature that was not popular and reduced the overall speed

Added icon for blackhole hosts (i.e. hosts RX-only)
This commit is contained in:
Luca Deri 2023-02-17 15:00:53 +01:00
parent ce5c657432
commit 2f20e3f903
18 changed files with 62 additions and 53 deletions

View file

@ -660,7 +660,8 @@ local function formatFlowHost(flow, cli_or_srv, historical_bounds, hyperlink_suf
mac = host["mac"]
end
return hostinfo2detailshref(flow2hostinfo(flow, cli_or_srv), hyperlink_params, host_name, tooltip, true --[[ perform link existance checks --]]), mac
return hostinfo2detailshref(flow2hostinfo(flow, cli_or_srv), hyperlink_params,
host_name, tooltip, true --[[ perform link existance checks --]]), mac
end
local function formatFlowPort(flow, cli_or_srv, port, historical_bounds)
@ -669,7 +670,10 @@ local function formatFlowPort(flow, cli_or_srv, port, historical_bounds)
end
-- TODO port filter
return hostinfo2detailshref(flow2hostinfo(flow, cli_or_srv), {page = "historical", epoch_begin = historical_bounds[1], epoch_end = historical_bounds[2], detail_view = "flows", port = port}, port, port, true --[[ check href existance --]])
return hostinfo2detailshref(flow2hostinfo(flow, cli_or_srv),
{page = "historical", epoch_begin = historical_bounds[1],
epoch_end = historical_bounds[2], detail_view = "flows",
port = port}, port, port, true --[[ check href existance --]])
end
function getFlowLabel(flow, show_macs, add_hyperlinks, historical_bounds, hyperlink_suffix, add_flag, add_hostnames)