Commit graph

4357 commits

Author SHA1 Message Date
Simone Mainardi
3ce3b9dc46 Implements list hosts according to retransmissions
Implements #4420
2020-10-08 17:54:04 +02:00
Simone Mainardi
31907dc2ff Avoids incs on HTTP req type when unknown via ZMQ
Fixes #4541
2020-10-08 15:25:32 +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
dea1a94bf1 Fixes purging of VLANs 2020-10-07 15:38:57 +02:00
Alfredo Cardigliano
e744b57f73 Add isForcedCommunity Lua api. Handle license check in community mode. 2020-10-07 10:46:41 +02:00
Simone Mainardi
7320c8266c Adds throughput estimation via ZMQ
Implements #3508
2020-10-06 19:28:11 +02:00
Simone Mainardi
78e61c8e13 Reworks VirtualHostHash (fixes leaks and improves speed)
Fixes #4296
2020-10-06 17:52:21 +02:00
Simone Mainardi
b052eeebee Reports engaged alerts in system status bar
Implements #4522
2020-10-06 11:11:11 +02:00
Simone Mainardi
d15e1c4e71 Fixes hash table entries not purged
Fixes #4528
2020-10-05 17:49:12 +02:00
Simone Mainardi
efe6bcf691 Fixes notifications.lua running for too long
Fixes #4523
2020-10-05 13:14:55 +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
72e4382333 Reworks purging of idle entries without Lua periodic scripts 2020-10-01 16:08:21 +02:00
Simone Mainardi
f0a2aba619 Simplifies incNumFlows/decNumFlows for Hosts 2020-10-01 14:28:13 +02:00
Simone Mainardi
fa96c5e2f5 Code cleanup 2020-10-01 14:20:07 +02:00
Alfredo Cardigliano
a5f8ae135d Fix dump_flows_on_nindex initialization 2020-10-01 11:30:45 +02:00
Simone Mainardi
09d88bbc26 View interfaces fix to use the new C++ loop 2020-09-30 18:56:16 +02:00
Simone Mainardi
b5781eea2c Cleanup unused flow_acle lua context member 2020-09-30 18:44:39 +02:00
Simone Mainardi
0db456c0cf Reworks flow user scripts execution in C++ 2020-09-30 18:41:36 +02:00
Simone Mainardi
36aec9019a Adds missing interface selection in purge_idle.lua 2020-09-29 19:16:50 +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
Simone Mainardi
2bbcea8ac1 Improves idle/purged hash entries counters 2020-09-29 10:12:25 +02:00
Simone Mainardi
5181fe4d7e Avoids flooding logs when Ping.h IPv4/v6 is not supported 2020-09-29 09:07:01 +02:00
Luca Deri
255496dcac Fixed crash when restoring serialized hosts in memory 2020-09-28 18:16:47 +02:00
Luca Deri
80dfd37e04 Reworked baheviour analysis code 2020-09-28 12:55:37 +02:00
Simone Mainardi
d288357c60 Fixes init of flows dump 2020-09-28 12:20:46 +02:00
Luca Deri
35d47287b0
Workaround for flow dump crash
Added workaround until a fix is implemented
2020-09-28 12:18:49 +02:00
Simone Mainardi
90a5a57b36 Implements user script queues (avoids 5-sec HT walk) 2020-09-28 11:45:00 +02:00
Simone Mainardi
57b5010433 Fixes DB loop always initialized 2020-09-28 09:34:14 +02:00
Luca Deri
dd50729bc3 Added condvar to SPSC queue to avoid active wait 2020-09-27 16:54:54 +02:00
Simone Mainardi
857d8ef7d3 Flow-dump initialization fixes and cleanup 2020-09-27 10:38:36 +02:00
Luca Deri
8c170103bb Added flow dumo check 2020-09-26 19:45:16 +02:00
Simone Mainardi
0f6459ad6d Prevents flows dump init when -F is not used 2020-09-25 13:28:36 +00: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
814ee67cf9 Reworks nDPI Risks flow plugins to handle all risks and scores
Fixes #4432
2020-09-23 17:58:51 +02:00
Luca Deri
930e4c362d Fixes #4320
Implements peak score of the last minute
2020-09-23 13:51:40 +02:00
Luca Deri
9d5ca3b7d8 Fixes #4414 2020-09-23 12:24:25 +02:00
Luca Deri
55d8e299fa Cleanued up code for flow score 2020-09-23 10:51:36 +02:00
Luca Deri
c7b7f2ee1b Minor cleanup 2020-09-23 09:35:32 +02:00
Luca Deri
96917218e2 Cosmetic flow score fixes 2020-09-23 09:23:23 +02:00
Simone Mainardi
a9a323acf1 Reworks (simplifies) hosts score calculation
Fixes #4459
Fixes #4460
2020-09-22 15:46:38 +02:00
Alfredo Cardigliano
ee253b4569 Fix flow dump alert 2020-09-21 23:02:33 +02:00
Luca Deri
a8463eac89 Impemented default values support for IEC 104 2020-09-21 22:36:27 +02:00
Simone Mainardi
841dacd4cd Simplifies per-category host score 2020-09-21 11:44:00 +02:00