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
|
|
@ -7,10 +7,10 @@ package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|||
if((dirs.scriptdir ~= nil) and (dirs.scriptdir ~= "")) then package.path = dirs.scriptdir .. "/lua/modules/?.lua;" .. package.path end
|
||||
require "lua_utils"
|
||||
require "prefs_utils"
|
||||
require "blacklist_utils"
|
||||
require "alert_utils"
|
||||
local template = require "template_utils"
|
||||
local callback_utils = require "callback_utils"
|
||||
local lists_utils = require "lists_utils"
|
||||
local have_nedge = ntop.isnEdge()
|
||||
|
||||
if(ntop.isPro()) then
|
||||
|
|
@ -1370,7 +1370,7 @@ if(_SERVER["REQUEST_METHOD"] == "POST") then
|
|||
end
|
||||
|
||||
if(_POST["toggle_malware_probing"] ~= nil) then
|
||||
loadHostBlackList(true --[[ force the reload of the list ]])
|
||||
lists_utils.reloadLists(true --[[ force the reload of the list ]])
|
||||
end
|
||||
|
||||
end --[[ haveAdminPrivileges ]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue