mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
TCP SYN Scan detection (implements #2963)
This commit is contained in:
parent
955eed4b50
commit
afbb34e262
10 changed files with 128 additions and 5 deletions
|
|
@ -555,6 +555,21 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function alerts_api.synScanType(granularity, metric, value, operator, threshold)
|
||||
return({
|
||||
alert_type = alert_consts.alert_types.alert_tcp_syn_scan,
|
||||
alert_subtype = metric,
|
||||
alert_granularity = alert_consts.alerts_granularities[granularity],
|
||||
alert_severity = alert_consts.alert_severities.error,
|
||||
alert_type_params = {
|
||||
value = value,
|
||||
threshold = threshold,
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function alerts_api.flowFloodType(granularity, metric, value, operator, threshold)
|
||||
return({
|
||||
alert_type = alert_consts.alert_types.alert_flows_flood,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue