Commit graph

75 commits

Author SHA1 Message Date
emanuele-f
c336cca0e7 Improve host score calculation 2020-01-15 18:42:48 +01:00
Simone Mainardi
e3b1b0c2f0 Fixes ViewInterfaces not purging hosts
Fixes #3228
2020-01-13 15:44:55 +01:00
Luca Deri
57e6a93065 Improved scheduling algorithm to guarantee minimum service time when number of entries allow
Updated (C)
2020-01-06 23:36:36 +01:00
Simone Mainardi
b44de6e18d Implements discarded probing traffic counters and timeseries 2019-12-31 16:01:24 +01:00
Simone Mainardi
c873aee41b Implement counter and chart for new flows per second 2019-12-27 12:29:55 +01:00
emanuele-f
8b7d711a36 Add option to disable flow user scripts invocation 2019-12-23 18:03:19 +01:00
Luca Deri
941c017ac1 Compilation fixes 2019-12-20 12:06:57 +01:00
Simone Mainardi
ba13e49856 Updates vlans, pools, ases stats for view interfaces 2019-12-13 18:49:29 +01:00
Simone Mainardi
e0c247bfca Implements tcp stats for view interfaces 2019-12-13 15:28:02 +01:00
Simone Mainardi
a65b6efc7c Implements icmp hosts stats for view interfaces 2019-12-13 13:06:26 +01:00
Simone Mainardi
8b0869da46 Implements http hosts stats for view interfaces 2019-12-12 17:11:56 +01:00
Simone Mainardi
0140318856 Reworks Flow::periodic_stats_update using PartializableFlowTrafficStats 2019-12-11 12:51:23 +01:00
Simone Mainardi
df8351ec83 Implements PartializableFlowTrafficStats for flow periodic updates 2019-12-11 10:42:15 +01:00
Simone Mainardi
e2ed60bf3a Reworks FlowTrafficStats from POD to class 2019-12-10 19:27:45 +01:00
Simone Mainardi
993fcc2fc3 Fixes interfaces TCP timeseries
Fixes #3077
2019-11-25 15:53:30 +01:00
emanuele-f
2df9b34201 Add flow user scripts drops alert 2019-11-19 17:37:58 +01:00
Simone Mainardi
8f2399c0a4 Fixes flows dump for view interfaces 2019-10-30 12:04:33 +01:00
Simone Mainardi
09b5ec032f View interfaces updates and comments 2019-10-30 11:58:05 +01:00
Simone Mainardi
e8277e46ff Reworks view interfaces implementation 2019-10-30 11:47:56 +01:00
Simone Mainardi
68246efd01 Decouples periodic hash table updates using a thread pool 2019-10-27 17:40:07 +01:00
Simone Mainardi
955eed4b50 Reworks idling and purging of hash table entries to make it faster 2019-10-24 15:48:18 +02:00
Simone Mainardi
6fd7386c03 Fixes possible collisions when looking up flows by key 2019-10-16 19:04:10 +02:00
Simone Mainardi
2fc7144eb6 Implements hash tables rwlocks 2019-10-04 17:06:24 +02:00
Simone Mainardi
d3fa133d1c Implements alerted flows counter for view interfaces 2019-09-19 15:26:57 +02:00
Simone Mainardi
093a27cd71 Implements counter resets for view interfaces 2019-09-13 12:25:54 +02:00
Simone Mainardi
a44def039f Fixes custom catecories not counted in nDPI stats 2019-09-13 10:20:08 +02:00
Simone Mainardi
9fe404772d Handles flow alerts and alert queues in view interfaces
Implements #2828
2019-09-10 15:48:39 +02:00
Simone Mainardi
f9a8ca8002 Uses getStatsUpdateFreq as min ts step for non-packet interfaces 2019-09-05 14:31:04 +02:00
Simone Mainardi
e46221e0bb Implements packet distribution and tcp flags stats for view interfaces 2019-08-27 12:34:12 +02:00
Simone Mainardi
af61cfd483 Implements tcp packet stats for hosts, ases, networks in interface views 2019-08-27 11:16:20 +02:00
Simone Mainardi
f110602192 Refactors hash entry state setters to ease override 2019-08-05 12:12:16 +02:00
Simone Mainardi
f035d5c894 Reworks shutdown operations to properly terminate pool loops and periodic activites 2019-07-25 11:58:13 +02:00
Simone Mainardi
4155bd69b5 Shows VLANs in view interfaces hosts page when tags are present 2019-07-24 13:33:24 +02:00
Simone Mainardi
25fc8da061 Implements host flows fetch for view interfaces 2019-07-24 13:04:22 +02:00
Simone Mainardi
b9ae314776 Compilation fixes 2019-07-24 11:51:20 +02:00
Simone Mainardi
9c448445ac Implements MySQL flow dump for view interfaces 2019-07-23 17:44:40 +02:00
Simone Mainardi
92bf42fa0d Fixes flow partials for database dumps 2019-07-23 15:09:17 +02:00
Simone Mainardi
ed5c0d4d4c Implements proper shutdown with view interfaces 2019-07-22 18:43:30 +02:00
Simone Mainardi
dd87bdb246 Uses hash entries finite states machine on view interfaces 2019-07-22 16:13:27 +02:00
Simone Mainardi
5f95d0727b Adds is_view flag to the NetworkInterface 2019-07-19 19:24:54 +02:00
Simone Mainardi
d9275ac166 Allows an extra runHousekeepingTasks before shutting down to do proper cleanup 2019-07-19 19:11:29 +02:00
Simone Mainardi
3cd6a92efd Implements nDPI stats counters for views 2019-07-19 10:30:59 +02:00
Simone Mainardi
6e8d0caca7 Implements host flows counters in View interfaces 2019-07-19 09:37:33 +02:00
Simone Mainardi
f289ab4ddc Cleanups old ViewInterface unused functions 2019-07-17 20:01:55 +02:00
Simone Mainardi
5fcc4986bc Implements interface view hosts updates 2019-07-17 18:31:25 +02:00
Simone Mainardi
6b6c0843be Groups base flow stats in a structure to allow easy snapshotting 2019-07-17 17:42:20 +02:00
Simone Mainardi
22211af8c2 Performs a ViewInterface purgeIdle after visiting each flow 2019-07-17 16:29:25 +02:00
Simone Mainardi
34f91bfd9f Implements new algorithm to allow flows purging control from interface views 2019-07-17 16:15:56 +02:00
Simone Mainardi
0c31d9a57e Implements interface view flows pool thread skeleton 2019-07-17 14:06:20 +02:00
Simone Mainardi
c984d33034 Prevents HTs allocation in viewed interfaces 2019-07-17 12:16:46 +02:00