Commit graph

29 commits

Author SHA1 Message Date
Simone Mainardi
188ec66c25 Implements scriptable SNMP devices alerts 2019-11-22 18:00:31 +01:00
emanuele-f
60fc7e0cfb Improve flow.lua and add statistics 2019-11-15 10:51:19 +01:00
emanuele-f
bea63668b8 Separate old benchmark from user scripts 2019-11-14 20:03:43 +01:00
emanuele-f
bde0a51f9c Add periodic_update_seconds parameter 2019-11-14 16:10:45 +01:00
emanuele-f
9b5be79b1d Remove redundant script key
The script file name is used as the key
2019-10-31 18:24:58 +01:00
emanuele-f
33949d31fd Rework benchmark stats and charts 2019-10-31 17:48:53 +01:00
emanuele-f
e978a83151 Improve user scripts charts
Fixes #3020
2019-10-31 13:30:24 +01:00
Simone Mainardi
64b3892909 Counts user scripts execution time using clock ticks 2019-10-30 17:52:59 +01:00
emanuele-f
63660b59f4 Add stacked top user scripts chart 2019-10-29 16:36:00 +01:00
emanuele-f
58a12f1241 Add user scripts benchmark charts
Implements #2999
2019-10-24 20:24:13 +02:00
emanuele-f
8747af5f2b Reduce max queue length 2019-10-24 17:00:03 +02:00
Alfredo Cardigliano
afbb34e262 TCP SYN Scan detection (implements #2963) 2019-10-24 15:35:26 +02:00
emanuele-f
6fbc01b28e Remove redis hash access for user scripts disabled check 2019-10-23 14:41:10 +02:00
emanuele-f
f264311e73 Also show the disabled scripts in the overview page 2019-10-22 17:48:38 +02:00
emanuele-f
db269e54a8 Implement user scripts overview page 2019-10-22 12:05:18 +02:00
emanuele-f
b3a8c6d49a Migrate C flow status alerts to Lua user scripts
- Alerts and flow status cleanup
- Community flow user scripts migration
- Implement scripts filters by l7 proto and packet interface only
- Migrate flow2statusinfojson
- Lower flow periodic update to 30 seconds if there is flow activity
- Display flow scripts without a gui section
2019-10-22 10:42:22 +02:00
emanuele-f
b217909966 Split flow status definitions in multiple files 2019-10-15 17:28:45 +02:00
emanuele-f
2fdc860ed2 Add support for custom flow alerts in user scripts 2019-10-11 19:48:11 +02:00
emanuele-f
7bd6feb622 Rename check_module -> user_script 2019-10-10 18:14:53 +02:00
emanuele-f
b8f1a039fb Fix always_enabled required for non-alert scripts 2019-10-10 18:03:36 +02:00
emanuele-f
75cf795521 Unify teardown function 2019-10-10 17:24:24 +02:00
Simone Mainardi
4ef7d35296 Benchmarks for hosts interface and network scripts 2019-10-10 11:54:31 +02:00
Luca Deri
fc6f055137 Initial code cleanup for flow scripts 2019-10-09 23:39:44 +02:00
Alfredo Cardigliano
c03de01534 Mino user_scripts fix 2019-10-09 20:09:29 +02:00
Simone Mainardi
3cafa97aba Stores benchmark results in plain redis keys with TTL for auto-cleanup 2019-10-09 19:33:33 +02:00
emanuele-f
ab0094c1c3 Unify syslog with user scripts API 2019-10-09 18:53:19 +02:00
Simone Mainardi
b9fa26174c Implements generalized benchmarks for any user_script 2019-10-09 18:48:01 +02:00
emanuele-f
e66889154c Migrate flow script documentation and document traffic element scripts 2019-10-09 17:23:51 +02:00
emanuele-f
ffd3b4c1ee Users scripts api changes and initial documentation 2019-10-09 15:12:28 +02:00
Renamed from scripts/lua/modules/check_modules.lua (Browse further)