mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implements DNS searches and reworks INFO column
This commit is contained in:
parent
1531767f72
commit
d7b929bdc1
7 changed files with 98 additions and 52 deletions
|
|
@ -303,16 +303,8 @@ for key, value in ipairs(flows_stats) do
|
|||
if(debug and (not process)) then io.write("Stop Host\n") end
|
||||
|
||||
info = ""
|
||||
if(flows_stats[key]["protos.dns.last_query"] ~= nil) then
|
||||
info = shortenString(flows_stats[key]["protos.dns.last_query"])
|
||||
elseif(flows_stats[key]["protos.http.last_url"] ~= nil) then
|
||||
info = shortenString(flows_stats[key]["protos.http.last_url"])
|
||||
elseif(flows_stats[key]["protos.ssl.certificate"] ~= nil) then
|
||||
info = shortenString(flows_stats[key]["protos.ssl.certificate"])
|
||||
elseif(flows_stats[key]["bittorrent_hash"] ~= nil) then
|
||||
info = shortenString(flows_stats[key]["bittorrent_hash"])
|
||||
elseif(flows_stats[key]["host_server_name"] ~= nil) then
|
||||
info = shortenString(flows_stats[key]["host_server_name"])
|
||||
if(flows_stats[key]["info"] ~= nil) then
|
||||
info = shortenString(flows_stats[key]["info"])
|
||||
elseif(flows_stats[key]["icmp"] ~= nil) then
|
||||
info = getICMPTypeCode(flows_stats[key]["icmp"])
|
||||
elseif(flows_stats[key]["proto.ndpi"] == "SIP") then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue