Commit graph

37 commits

Author SHA1 Message Date
Alfredo Cardigliano
55b1ca75a9 Replace anomalous with misbehaving to avoid inconsistencies (fix #2866) 2020-01-14 15:49:19 +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
a65b6efc7c Implements icmp hosts stats for view interfaces 2019-12-13 13:06:26 +01:00
emanuele-f
46c30d5d6b Improve virtual hosts warning 2019-11-29 09:03:19 +01:00
Simone Mainardi
e80dc962f4 Optimizes host.getFullInfo with smaller functions in periodic scripts 2019-10-21 16:21:03 +02:00
Simone Mainardi
3950c3ddc8 Support for 5-min timeseries resolution in InfluxDB 2019-10-15 15:06:20 +02:00
Simone Mainardi
2774ea0dc2 Fixes crash when purging the virtual hosts hash 2019-10-11 16:07:27 +02:00
Simone Mainardi
48caf68f69 Fixes invalid state transitions 2019-10-11 11:15:38 +02:00
Simone Mainardi
a44def039f Fixes custom catecories not counted in nDPI stats 2019-09-13 10:20:08 +02:00
Simone Mainardi
3bfedf8f4c Implements ThroughputStats and reworks GenericTrafficElement 2019-09-03 11:07:21 +02:00
emanuele-f
281a67e10d Refactor LocalHostStats::makeTsPoint and fix bug when ts ring is disabled 2019-08-21 15:52:16 +02:00
emanuele-f
2b2a74af79 Fix bad time resolution of values for some host exported timeseries
- active_flows.as_client
- active_flows.as_server
- total_flows.as_client
- total_flows.as_server
- contacts.as_client
- contacts.as_server
- DNS, TCP, ICMP stats

Fixes #2776
2019-08-21 15:37:17 +02:00
emanuele-f
c715bb36f3 Implement per-alert-type host counters
Such counters will be used in the future to generate alert timeseries.
Counters are not currently serialized as internally discussed.

Closes #2728
2019-07-19 17:27:23 +02:00
Simone Mainardi
24624c8ed0 Implements new minute-by-minute top talkers 2019-07-09 15:43:09 +02:00
emanuele-f
aa739268f7 Fix UDP unicast serialization and add check on tolongint of NaN 2019-06-20 14:56:36 +02:00
emanuele-f
a6037e96c3 Unify GenericTrafficElement serialization and deserialization 2019-05-24 16:48:32 +02:00
Luca Deri
11e7bafbb3 Initialization fix 2019-05-22 21:47:03 +02:00
emanuele-f
dbbbeae461 Move L4Stats to separate class 2019-05-22 20:11:06 +02:00
emanuele-f
461ee43e16 Add UDP unicast vs non unicast breakdown 2019-05-22 17:36:24 +02:00
Simone Mainardi
e22d13533a Implements sent and rcvd TCP seqs counters per host
Implements #2503
2019-05-20 20:02:06 +02:00
Salvatore Costantino
76dded229a Added ICMP ECHO time series (#2518)
* Added ICMP ECHO time series

* added icmp echo time series
2019-04-08 16:10:30 +02:00
Salvatore Costantino
dd24d2a932 Removed net unreachable counters (#2517) 2019-04-05 21:32:37 +02:00
Simone Mainardi
d8924afa19 Fixes LocalHostStats after TCP timeseries changes 2019-04-02 19:40:30 +02:00
SalvatoreCostantino
27fcedf9ff Added TCP time series 2019-04-02 16:22:39 +02:00
Salvatore Costantino
c8a95d9476 Added dns time series (#2487) 2019-03-28 19:14:51 +01:00
Salvatore Costantino
58becaeebe Added host and net unreachable counters (#2483)
* Added host and net unreachable counters

* Added host and net unreachable counters

* Added host and net unreachable counters
2019-03-27 21:44:47 +01:00
Simone Mainardi
840313dd60 Fixes hidden 'LocalHostStats::lua' overloaded virtual function 2019-03-08 18:34:19 +01:00
Simone Mainardi
5851395d80 Reworks timeseries code
Implements #2448
2019-03-08 18:20:45 +01:00
Simone Mainardi
40b02e88c2 Propaedeutic work to refactor timeseries C code 2019-03-07 18:15:27 +01:00
Luca Deri
468558ddb4 Adding a new timeseries: how to add number of unrecheable flows client/server per host. 2019-03-06 10:05:05 +01:00
Simone Mainardi
f8b120a9ce Implements alerts for ICMP anomalies
Partially addresses #2387
2019-03-05 18:02:34 +01:00
Simone Mainardi
1f349c5dee Implements DNS monitored counters 2019-02-21 17:41:57 +01:00
emanuele-f
a486d2c19f Implement host counter of total triggered alerts
Closes #2391
2019-02-20 20:12:44 +01:00
Simone Mainardi
7e2ac7fbaa Implements timeseries of per-host misbehaving flows
Implements #2409
2019-02-20 16:31:37 +01:00
emanuele-f
a09e8efed0 Add hosts anomalous flows counter 2019-02-12 12:05:30 +01:00
Emanuele Faranda
1bf7da7ef7 Implements Mac stats/data reset and reset at midnight (#2326)
* Host data/stats delete improvements

* Rework mac counters and implemtent mac stats/data reset

* Implement stats reset at midnight

* Add missing files
2019-01-21 17:27:12 +01:00
emanuele-f
2dbf1e9cb8 Rework host counters and implemtent host stats/data reset 2019-01-18 19:31:16 +01:00