ntopng/scripts/lua/modules/alert_keys/host_alert_keys.lua
Luca Ferretti edef411ebc
added contacted_server_port alert (#8408)
* initial integretion of server port check

* update learning period and received packet time

* updated host initial time

* Update Flow.cpp

* fixed reported issues

* added server_ports_contacts alert

* minor changes
2024-05-28 12:52:36 +02:00

47 lines
1.9 KiB
Lua

--
-- (C) 2020-24 - ntop.org
--
-- ##############################################
-- Keep in sync with ntop_typedefs.h HostAlertTypeEnum
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_notused_1 = 8, -- Obsolete: use local host rules
host_alert_notused_2 = 9, -- Obsolete: use local host rules
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_notused_3 = 15, -- Obsolete: use local host rules
host_alert_countries_contacts = 16,
host_alert_score_threshold = 17,
host_alert_icmp_flood = 18,
host_alert_notused_4 = 19, -- Obsolete: use local host rules
host_alert_scan_detected = 20,
host_alert_fin_scan = 21,
host_alert_dns_flood = 22,
host_alert_snmp_flood = 23,
host_alert_custom_lua_script = 24,
host_alert_rst_scan = 25,
host_alert_traffic_volume = 26,
host_alert_external_script = 27,
host_alert_host_scanner = 28,
host_alert_server_ports_contacts = 29,
-- NOTE: Keep in sync with HostAlertTypeEnum in ntop_typedefs.h
}
-- ##############################################
return host_alert_keys
-- ##############################################