mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Initial implementation of lua flow callback scripts and blacklisted alerts
Partially implements #2842
This commit is contained in:
parent
6f62989869
commit
b3d595653e
14 changed files with 476 additions and 10 deletions
|
|
@ -462,6 +462,7 @@ class Flow : public GenericHashEntry {
|
|||
inline void setIDSAlert(json_object *a, u_int8_t severity) { if (ids_alert) json_object_put(ids_alert); ids_alert = a; ids_alert_severity = severity; };
|
||||
inline json_object *getIDSAlert() { return ids_alert; };
|
||||
inline u_int8_t getIDSAlertSeverity() { return ids_alert_severity; };
|
||||
int storeFlowAlert(AlertType alert_type, AlertLevel alert_severity, const char *status_info);
|
||||
|
||||
#if defined(NTOPNG_PRO) && !defined(HAVE_NEDGE)
|
||||
inline void updateProfile() { trafficProfile = iface->getFlowProfile(this); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue