Commit graph

63 commits

Author SHA1 Message Date
emanuele-f
d3b9f22b0a Add missing ARP matrix entries purging
This resulted in the ARP matrix hash growing as idle entries were not purged.

Fixes #3152
2019-12-31 12:32:21 +01:00
emanuele-f
818a21d9ee Add ability to hide a plugin menu entry 2019-12-20 11:04:18 +01:00
Luca Deri
187c9a8535 Added error message when InfluxDB is not enabled 2019-12-19 22:02:03 +01:00
emanuele-f
4c370de8cf Fix missing suricata user scripts 2019-12-19 16:36:51 +01:00
emanuele-f
2047386431 Implement alert_endpoints and http_lint plugin extensions
Alert endpoints can now be loaded via custom plugins.
It's now possible to extend the http_lint parameters with custom parameters and validators.
2019-12-19 12:44:39 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
emanuele-f
26c80529aa Add example plugin with documentation 2019-12-17 16:23:15 +01:00
Simone Mainardi
f5b12acfdc Fixes font-awesome 5 fa-exchange 2019-12-16 18:50:18 +01:00
Simone Mainardi
be01a6d0eb Bootstrap migration influxdb stats navbar 2019-12-16 15:32:01 +01:00
Simone Mainardi
37f54a5090 Fixes font-awesome 5 external link
Fixes #3125
2019-12-13 10:18:20 +01:00
emanuele-f
e3052f4b63 Mark alerts-only user scripts
Such scripts are not even loaded when alerts are disabled
2019-12-12 18:36:41 +01:00
emanuele-f
3a6897bb84 Community plugins fixes 2019-12-10 11:48:03 +01:00
emanuele-f
a3432e00e8 Implement ntopng plugins
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:

- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +01:00