mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 08:50:12 +00:00
32 lines
722 B
Lua
32 lines
722 B
Lua
--
|
|
-- (C) 2019-20 - ntop.org
|
|
--
|
|
|
|
local mud_utils = require "mud_utils"
|
|
local user_scripts = require("user_scripts")
|
|
|
|
-- #################################################################
|
|
|
|
local script = {
|
|
-- Script category
|
|
category = user_scripts.script_categories.security,
|
|
|
|
-- NOTE: hooks defined below
|
|
hooks = {},
|
|
default_enabled = false,
|
|
|
|
gui = {
|
|
i18n_title = "flow_callbacks_config.mud",
|
|
i18n_description = "flow_callbacks_config.mud_description",
|
|
}
|
|
}
|
|
|
|
-- #################################################################
|
|
|
|
function script.hooks.protocolDetected(now)
|
|
mud_utils.handleFlow(now)
|
|
end
|
|
|
|
-- #################################################################
|
|
|
|
return script
|