Reworks implementation of {DNS,HTTP}RepliesRequestsRatio

This commit is contained in:
Simone Mainardi 2021-04-08 10:02:35 +02:00
parent 32a2778f28
commit 7d7e84a7a9
19 changed files with 230 additions and 189 deletions

View file

@ -5,18 +5,18 @@
-- ##############################################
local host_alert_keys = {
host_alert_normal = 0,
host_alert_dns_requests_errors_ratio = 1,
host_alert_replies_requests_ratio = 2,
host_alert_smtp_server_contacts = 3,
host_alert_dns_server_contacts = 4,
host_alert_ntp_server_contacts = 5,
host_alert_flow_flood = 6,
host_alert_syn_scan = 7,
host_alert_syn_flood = 8,
host_alert_score = 9,
host_alert_p2p_traffic = 10,
host_alert_dns_traffic = 11,
host_alert_normal = 0,
host_alert_http_replies_requests_ratio = 1,
host_alert_dns_replies_requests_ratio = 2,
host_alert_smtp_server_contacts = 3,
host_alert_dns_server_contacts = 4,
host_alert_ntp_server_contacts = 5,
host_alert_flow_flood = 6,
host_alert_syn_scan = 7,
host_alert_syn_flood = 8,
host_alert_score = 9,
host_alert_p2p_traffic = 10,
host_alert_dns_traffic = 11,
-- NOTE: for host alerts not not go beyond the size of Bitmap16 alert_map inside Host.h
}