mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Added Victim and Attacker shown into the Developer page
This commit is contained in:
parent
cc611b25b3
commit
bf12e0c103
27 changed files with 338 additions and 82 deletions
|
|
@ -59,7 +59,7 @@ function script.hooks.min(params)
|
|||
end
|
||||
|
||||
-- Check if the configured threshold is crossed by the value and possibly trigger an alert
|
||||
alerts_api.checkThresholdAlert(params, alert_consts.alert_types.alert_tcp_syn_scan, value, attacker)
|
||||
alerts_api.checkThresholdAlert(params, alert_consts.alert_types.alert_tcp_syn_scan_attacker, value, attacker)
|
||||
end
|
||||
|
||||
-- #################################################################
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ function script.hooks.min(params)
|
|||
end
|
||||
|
||||
-- Check if the configured threshold is crossed by the value and possibly trigger an alert
|
||||
alerts_api.checkThresholdAlert(params, alert_consts.alert_types.alert_tcp_syn_scan, value, nil, victim)
|
||||
alerts_api.checkThresholdAlert(params, alert_consts.alert_types.alert_tcp_syn_scan_victim, value, nil, victim)
|
||||
end
|
||||
|
||||
-- #################################################################
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ function script.hooks.min(params)
|
|||
end
|
||||
|
||||
-- Check if the configured threshold is crossed by the value and possibly trigger an alert
|
||||
alerts_api.checkThresholdAlert(params, alert_consts.alert_types.alert_tcp_syn_scan, value, nil, victim)
|
||||
alerts_api.checkThresholdAlert(params, alert_consts.alert_types.alert_tcp_syn_scan_victim, value, nil, victim)
|
||||
end
|
||||
|
||||
-- #################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue