Commit graph

34 commits

Author SHA1 Message Date
emanuele-f
96925a7e03 Fix invalid flow.triggerStatus calls 2020-02-06 10:31:22 +01:00
Luca
a4c91fd2bd Added value check 2020-01-30 18:58:16 +01:00
emanuele-f
4f6788fb58 New page_utils api to handle sidebar subitems selection 2020-01-30 11:53:13 +01:00
emanuele-f
9833a87cbc Implement alert on InfluxDB error messages 2020-01-28 15:09:24 +01:00
Simone Mainardi
0d70d7c8b9 Fixes title and descr for networks syn scan victim 2020-01-25 18:38:30 +01:00
emanuele-f
2d7b7c86e6 Move user scripts localization to the main localization file 2020-01-24 11:59:16 +01:00
Simone Mainardi
e15fcf721c Implements User Script Categories
Implements #3280
2020-01-23 16:30:47 +01:00
Simone Mainardi
26c7906744 Moves plugin description to manifest.lua 2020-01-21 16:05:38 +01:00
Simone Mainardi
5b11db117b Reworks plugin for not purged flow alerts
Fixes #3264
2020-01-21 12:50:31 +01:00
Simone Mainardi
1cbdbbd339 Hides status_id from flow.{trigger,set,clear}Status
Fixes #3266
2020-01-21 12:27:33 +01:00
Simone Mainardi
391c4c1e99 Removes unused require in flow blacklisted script 2020-01-17 15:29:10 +01:00
emanuele-f
de7adeacfe Reduce UDP unidirectional score 2020-01-17 11:20:11 +01:00
emanuele-f
566b9ece0b Score changes
- Move score from status definition to user scripts
- Separate flow score counter from the peers score
- Create a new HostScore class to hold the score data
2020-01-16 18:11:14 +01:00
Simone Mainardi
48910b9f87 Implements auto assignment of user script alert and status ids 2020-01-15 13:08:58 +01:00
emanuele-f
d7528e1628 Score improvements
The score is now calculated differently on the client and on the server of the flow.
The hosts flow is updated every minute and charted.
It's now possible to trigger an alert when the score threshold is exceeded
2020-01-15 12:34:16 +01:00
emanuele-f
7679da4d21 Implement blacklisted country alert 2020-01-13 18:15:27 +01:00
emanuele-f
5b05b06c96 Use extended icon classes.
Also fixes mining alert icon
2020-01-10 17:02:11 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
Alfredo Cardigliano
5e5d50d72a Alert on software update 2020-01-08 18:51:21 +01:00
emanuele-f
481a00a2ad Add missing user scripts gui labels 2020-01-07 19:04:11 +01:00
emanuele-f
ad9c386bb3 Move user scripts gui config to admin, cleanup 2020-01-03 15:16:46 +01:00
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