Enabled blacklist host detection (via EmerginThreats)

This commit is contained in:
Luca Deri 2016-12-12 19:40:42 +01:00
parent d1d94d8a5e
commit 6db2d2026e
2 changed files with 3 additions and 4 deletions

View file

@ -7,6 +7,7 @@ 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"
if (ntop.isPro()) then
package.path = dirs.installdir .. "/scripts/lua/pro/?.lua;" .. package.path
@ -208,14 +209,12 @@ function printAlerts()
"toggle_alert_probing", "ntopng.prefs.probing_alerts", "1",
false, nil, nil, showElements)
if(false) then
toggleTableButtonPrefs("Enable Hosts Malware Blacklists",
"Enable alerts generated by traffic sent/received by malware-marked hosts.",
"Enable alerts generated by traffic sent/received by <A HREF=https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt>malware-marked hosts</A>. Overnight new blacklist rules are refreshed.",
"On", "enabled", "success",
"Off","disabled", "danger",
"toggle_malware_probing", "ntopng.prefs.host_blacklist", "1",
false, nil, nil, showElements)
end
toggleTableButtonPrefs("Alerts On Syslog",
"Enable alerts logging on system syslog.",