Commit graph

2354 commits

Author SHA1 Message Date
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
cfc1f0fe57 Fix ht:lua_calls chart
Fixes #3021
2019-10-31 18:06:02 +01:00
emanuele-f
33949d31fd Rework benchmark stats and charts 2019-10-31 17:48:53 +01:00
Alfredo Cardigliano
d10dfc7762 Deferred flow alerts insertion through a redis queue. Removed alerts DB select when printing flow details. 2019-10-31 12:53:23 +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
Simone Mainardi
18a1d5ea8d Minor fix 2019-10-30 16:43:36 +01:00
Simone Mainardi
e10dfb1b24 Fixes for the CZ translation 2019-10-30 16:41:19 +01:00
emanuele-f
34c196d99e User scripts stats improvements 2019-10-30 10:53:54 +01:00
emanuele-f
29e5b10e6f Fix network interface alias not used in alerts configuration 2019-10-29 16:47:22 +01:00
emanuele-f
63660b59f4 Add stacked top user scripts chart 2019-10-29 16:36:00 +01:00
emanuele-f
13a7b8ba67 Add total row in flow user scripts benchmarks 2019-10-29 15:38:22 +01:00
emanuele-f
1de959ed88 Missing reload fix 2019-10-29 12:07:27 +01:00
emanuele-f
378a1e2cd8 Optimize nDPI categories reload to avoid packet drops 2019-10-29 12:07:27 +01:00
Simone Mainardi
cce73c2f44 Implements lua interpreters telemetry 2019-10-28 23:47:03 +01:00
Simone Mainardi
dc748b1b6d Implements stats for periodic scripts duration 2019-10-28 17:10:03 +01:00
Alfredo Cardigliano
fa57c701bb Displaying file id to retrieve files stored by Suricata 2019-10-28 12:24:15 +01:00
emanuele-f
943012e8c3 Avoid un-necessary hourly reload of category lists when nothing changed 2019-10-28 12:22:57 +01:00
emanuele-f
930fdc9bd1 Fix flows script table 2019-10-25 18:41:37 +02:00
emanuele-f
e238605f86 Fix latest run label 2019-10-25 17:51:29 +02:00
Alfredo Cardigliano
c7120e23f3 Hide periodic user scripts in pcap dump mode (unless --original-speed is specified) 2019-10-25 16:45:23 +02:00
emanuele-f
8a2d3dafff Fix interface paused icon 2019-10-25 16:44:20 +02:00
Alfredo Cardigliano
96ef3c05e7 New alert when the number of idle entries in the hash tabel exceeds a configured threshold (implements #3005) 2019-10-25 14:29:37 +02:00
emanuele-f
1d5ff7c4e7 Remove global flow user scripts on/off 2019-10-25 13:12:47 +02:00
Alfredo Cardigliano
b42989154c Drawing active items in addition to idle in the internals chart 2019-10-25 12:14:53 +02:00
emanuele-f
0ea6856b44 Clean flow user scripts page 2019-10-25 11:30:06 +02: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
emanuele-f
3882e2f26d Fix invalid failed exports key 2019-10-24 16:34:06 +02:00
emanuele-f
0d04eb2d5c Stop writing points if InfluxDB export is failing.
The dropped points are accounted and shown in the gui. Dropped points alert are generated as usual.

Fixes #2998
2019-10-24 16:09:01 +02:00
Alfredo Cardigliano
afbb34e262 TCP SYN Scan detection (implements #2963) 2019-10-24 15:35:26 +02:00
Simone Mainardi
955eed4b50 Reworks idling and purging of hash table entries to make it faster 2019-10-24 15:48:18 +02:00
emanuele-f
d1d789ea88 Improve category lists limits and reporting 2019-10-23 18:12:24 +02:00
emanuele-f
bb51396151 Fix bad categories lists limit check 2019-10-23 16:17:08 +02:00
emanuele-f
6fbc01b28e Remove redis hash access for user scripts disabled check 2019-10-23 14:41:10 +02:00
Simone Mainardi
60e657c0d2 Makes hash table state counters as gauges 2019-10-23 14:25:12 +02:00
Simone Mainardi
47f8525144 Adds chars and page for hash table states 2019-10-23 14:14:44 +02:00
Simone Mainardi
15e17a801a Implements per-state hash entry counters and writes them to ts 2019-10-23 13:09:02 +02:00
emanuele-f
10aa5542f8 Rework alertEntity functions to avoid modules circular dependencies
Fixes #2975
2019-10-23 13:01:57 +02:00
emanuele-f
19f820f1bc Add max rules limit for category lists
Fixes #2966
2019-10-23 11:53:21 +02:00
emanuele-f
4b29fa2af1 Only save the edited preferences in category lists
Fixes #2967
2019-10-23 11:37:04 +02:00
emanuele-f
0c96c49157 Avoid redis KEYS command for MUD 2019-10-23 11:24:33 +02:00
emanuele-f
76812f42af Add priority column in status overview 2019-10-22 19:52:05 +02:00
Simone Mainardi
fca66af5e5 Adds speed and num calls to script duration information 2019-10-22 19:05:57 +02:00
emanuele-f
bb4f073b1a Avoid triggering remote-to-remote alerts when disabled 2019-10-22 18:46:03 +02:00
emanuele-f
f136a19123 Fix flows script expert view 2019-10-22 17:52:53 +02:00
emanuele-f
f264311e73 Also show the disabled scripts in the overview page 2019-10-22 17:48:38 +02:00
emanuele-f
cbddac0562 Fix outside DHCP range alert 2019-10-22 17:16:45 +02:00
Alfredo Cardigliano
b816bfc2d6 Fix purge past alerts button 2019-10-22 16:56:06 +02:00
emanuele-f
ac8d6f1110 Fix host MUD user script 2019-10-22 15:35:19 +02:00