mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes issues with unexpected XXX alerts where impacted server was not reported
Added Lua getFlowProtoClientIP/getFlowProtoServerIP calls in flows
This commit is contained in:
parent
fbbbe4f4ad
commit
06161556ac
19 changed files with 143 additions and 44 deletions
|
|
@ -2,9 +2,12 @@ local alert_keys = require "alert_keys"
|
|||
|
||||
-- #################################################
|
||||
|
||||
local function createUnexpectedSMTP(smtp_info)
|
||||
local function createUnexpectedSMTP(client_ip, server_ip)
|
||||
local built = {
|
||||
alert_type_params = smtp_info
|
||||
alert_type_params = {
|
||||
client_ip = client_ip,
|
||||
server_ip = server_ip
|
||||
}
|
||||
}
|
||||
|
||||
return built
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue