ntopng/scripts/plugins/mud/user_scripts/flow/mud.lua
2020-01-23 16:30:47 +01:00

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