mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Add support for custom categories lists
- Extend malware hosts from list - Read web mining hosts from list and generate alerts
This commit is contained in:
parent
0a0d2d76ee
commit
89d203883f
20 changed files with 2262 additions and 111 deletions
|
|
@ -646,7 +646,12 @@ function formatRawFlow(record, flow_json)
|
|||
msg = msg..flow.." "
|
||||
end
|
||||
if not isEmptyString(decoded["info"]) then
|
||||
msg = msg.."["..i18n("info")..": "..decoded["info"].."] "
|
||||
local lb = ""
|
||||
if (record["flow_status"] == "13") -- blacklisted flow
|
||||
and (not flow["srv.blacklisted"]) and (not flow["cli.blacklisted"]) then
|
||||
lb = " <i class='fa fa-ban' aria-hidden='true' title='Blacklisted'></i>"
|
||||
end
|
||||
msg = msg.."["..i18n("info")..": "..decoded["info"]..lb.."] "
|
||||
end
|
||||
|
||||
flow = msg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue