Commit graph

920 commits

Author SHA1 Message Date
Luca Deri
ef3d7e3e11 Fixes #4640 2020-10-28 19:02:42 +01:00
Simone Mainardi
a2705a8bda Implements header and drilldown of flow status severities 2020-10-19 19:26:30 +02:00
Simone Mainardi
a0056ef2b7 Unifies alerted and misbehaving flows on hosts
Fixes #4596
2020-10-19 10:19:22 +02:00
Luca Deri
236089d66c Optimized purging strategy to makes it more often and lighter 2020-10-18 21:16:49 +02:00
Luca Deri
abf30f74bc Improved periodicity handling of VLAN tagged traffic 2020-10-14 23:37:29 +02:00
Simone Mainardi
24839a7135 Alerted flows counter fixes 2020-10-14 16:46:09 +02:00
Simone Mainardi
d1f974857c Adds a condition variable for flows dump
Addresses #4576
2020-10-14 12:42:59 +02:00
Simone Mainardi
9a9b161662 Adds a condition variable for flow user script hooks execution
Addresses #4576
2020-10-14 11:36:48 +02:00
Simone Mainardi
d113e38642 Fixes reuse of flow hooks Lua engines
Addresses #4576
2020-10-13 18:32:37 +02:00
Luca Deri
60a238acb0 Various service and periodicty map improvements 2020-10-11 16:17:55 +02:00
Luca Deri
3af2b10a9f Reworked service and periodic map 2020-10-11 14:47:31 +02:00
Simone Mainardi
17ad258589 Fixes exporter stats displayed for invalid interfaces
Fixes #4559
2020-10-11 14:04:45 +02:00
Luca Deri
cfa3d08943 Service map
- Fixed filtering protocol menu
- Added reload button
- Added reset button (interface only)
2020-10-10 16:00:44 +02:00
Alfredo Cardigliano
bafccf2c06 Add malformed/dispatched syslog counters. Inc counters in the Suricata plugin. 2020-10-09 15:00:21 +02:00
Alfredo Cardigliano
fc8357ce6f Add support for Syslog stats (backend and lua API) 2020-10-09 12:00:55 +02:00
Simone Mainardi
8bf82dd0cb Implements stats page for interface queue drops monitoring 2020-10-08 12:52:55 +02:00
Simone Mainardi
626ebacf11 Fixes possible stall in purging in high-capacity views 2020-10-08 10:01:12 +02:00
Simone Mainardi
b052eeebee Reports engaged alerts in system status bar
Implements #4522
2020-10-06 11:11:11 +02:00
Simone Mainardi
83209ac402 Keeps alerted hosts in memory (fixes engaged alert counter out of sync)
Fixes #4506
2020-10-05 11:54:17 +02:00
Luca Deri
21f3fbd847 Added service map reporting 2020-10-02 23:29:15 +02:00
Luca Deri
37da96ae0c Service map changes 2020-10-02 17:08:56 +02:00
Simone Mainardi
fdf0f15140 Fixes races in view interfaces and cli/srv scores
Fixes #4513
Fixes #4512
2020-10-02 16:34:28 +02:00
Simone Mainardi
0db456c0cf Reworks flow user scripts execution in C++ 2020-09-30 18:41:36 +02:00
Simone Mainardi
8392e126f8 Simplifies and reduces the number of threads for purging idle entries 2020-09-29 18:51:44 +02:00
Simone Mainardi
5133af720f Reworks view interfaces with queues; rework idling and flow hooks exec 2020-09-29 18:30:10 +02:00
Luca Deri
80dfd37e04 Reworked baheviour analysis code 2020-09-28 12:55:37 +02:00
Simone Mainardi
90a5a57b36 Implements user script queues (avoids 5-sec HT walk) 2020-09-28 11:45:00 +02:00
Simone Mainardi
6e0c369fa9 Handles flow dump queues in view interfaces - and fixes races 2020-09-25 14:10:06 +02:00
Simone Mainardi
7f2a9b1420 Decouples flow dump from user scripts execution
Addresses #3545
2020-09-24 19:29:00 +02:00
Simone Mainardi
7962bc2565 Always use async dump for any kind of dumper (e.g, MySQL, nIndex, ...) 2020-09-24 14:31:38 +02:00
Simone Mainardi
a9a323acf1 Reworks (simplifies) hosts score calculation
Fixes #4459
Fixes #4460
2020-09-22 15:46:38 +02:00
Alfredo Cardigliano
a65b4ada64 Debug code cleanup, account flow allocation failures as dump drops in direct mode 2020-09-15 23:40:43 +02:00
Alfredo Cardigliano
0a6a569435 Add debug counter for flow allocation failures 2020-09-15 19:16:31 +02:00
Alfredo Cardigliano
0fb6f9472f Direct flow dump improbements and debug counters 2020-09-15 18:13:24 +02:00
Alfredo Cardigliano
14a30b7d66 Replace flow dump queue with SPSC queue 2020-09-14 19:04:27 +02:00
Luca Deri
18637f21e1 Reworked flow dump 2020-09-12 00:23:33 +02:00
Luca Deri
6cd3ebcc3b Flow dump code rework 2020-09-11 15:58:33 +02:00
Alfredo Cardigliano
2ce72cc6b7 Set runHousekeepingTasks as virtual on the interface 2020-09-08 10:24:49 +00:00
Luca Deri
75efc0ec0c Partial fix (community code is now clean) for #2533
Reworked inteface disaggregation
Moved to attic some unused classes
Added ability to disaggregate also for Probe IP + Ingress Interface
2020-08-07 17:20:26 +02:00
Simone Mainardi
99366d6ee3 Optimizes execution of user scripts (avoids multiple hosts HT walks) 2020-07-29 14:45:52 +02:00
Simone Mainardi
8fafd10769 Removes unused slow_stats_update from C and lua 2020-07-27 16:28:41 +02:00
Simone Mainardi
cd142f7448 Cleanup unused lua method to update stats 2020-07-27 15:55:09 +02:00
Simone Mainardi
c969bb9bef Cleanup code to update stats for pcap dump interfaces 2020-07-27 15:22:57 +02:00
Simone Mainardi
1baa7d6cc4 Avoids double 5-sec HT-walks to update stats 2020-07-27 14:22:59 +02:00
Alfredo Cardigliano
8b4f1c7e07 Add rest endpoint to get interface dscp stats 2020-07-20 17:35:03 +02:00
Alfredo Cardigliano
6e1e21f7ba Fix interface type detection with sub interfaces 2020-07-20 12:20:13 +02:00
Luca Deri
7ca59d0c26 Reworked periodicity stats 2020-07-19 08:13:08 +02:00
Luca Deri
40689081c7 Implemented periodicity stats 2020-07-17 13:12:53 +02:00
Alfredo Cardigliano
354866d16a Remove aggregated flows 2020-07-03 17:17:33 +02:00
Simone Mainardi
9e5e63e28f Avoids unnecessary executions of flow user script external_alert_check.lua
Fixes #4080
2020-06-26 12:08:10 +02:00