mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
* Added check and alert implementation * Fixed size of estimation and some typo * Added HLL counters and DES structure Co-authored-by: Paolo Junior Mollica <p.mollica@studenti.unipi.it> * fixes according comments of PR * decreased memory footprint * resolved conflicts * fixed HostCheckID * Removed wrongly committed file Co-authored-by: paolo-junior-mollica <paolo.junior.mollica@gmail.com> Co-authored-by: Matteo Biscosi <49585191+MatteoBiscosi@users.noreply.github.com>
33 lines
1.1 KiB
Lua
33 lines
1.1 KiB
Lua
--
|
|
-- (C) 2020-21 - ntop.org
|
|
--
|
|
|
|
-- ##############################################
|
|
|
|
local host_alert_keys = {
|
|
host_alert_normal = 0,
|
|
host_alert_smtp_server_contacts = 1,
|
|
host_alert_dns_server_contacts = 2,
|
|
host_alert_ntp_server_contacts = 3,
|
|
host_alert_flow_flood = 4,
|
|
host_alert_syn_scan = 5,
|
|
host_alert_syn_flood = 6,
|
|
host_alert_domain_names_contacts = 7,
|
|
host_alert_p2p_traffic = 8,
|
|
host_alert_dns_traffic = 9,
|
|
host_alert_flows_anomaly = 10,
|
|
host_alert_score_anomaly = 11,
|
|
host_alert_remote_connection = 12,
|
|
host_alert_host_log = 13,
|
|
host_alert_dangerous_host = 14,
|
|
host_alert_ntp_traffic = 15,
|
|
host_alert_countries_contacts = 16,
|
|
|
|
-- NOTE: Keep in sync with HostAlertTypeEnum in ntop_typedefs.h
|
|
}
|
|
|
|
-- ##############################################
|
|
|
|
return host_alert_keys
|
|
|
|
-- ##############################################
|