Commit graph

762 commits

Author SHA1 Message Date
Simone Mainardi
0de06c5db8 Hides sub interfaces menu on view / disaggregated faces 2019-12-20 15:21:19 +01:00
Simone Mainardi
562ac1d0f8 Fixes custom categories detection and concurrency issues 2019-12-19 18:38:14 +01:00
Simone Mainardi
ba13e49856 Updates vlans, pools, ases stats for view interfaces 2019-12-13 18:49:29 +01:00
Simone Mainardi
0ebc64cf71 Handles offline NetBIOS updates 2019-12-13 17:08:35 +01:00
Simone Mainardi
0a7d677beb Handles offline MDNS updates 2019-12-13 16:54:13 +01:00
Simone Mainardi
69453397a5 Handles offline MDNS updates 2019-12-13 16:47:18 +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
4a9ac03cb4 Implements dns hosts stats for view interfaces 2019-12-13 09:58:09 +01:00
Simone Mainardi
371fec9fb0 Allows flows info to be shown for view interface flows 2019-12-12 17:22:17 +01:00
Simone Mainardi
8b0869da46 Implements http hosts stats for view interfaces 2019-12-12 17:11:56 +01:00
Simone Mainardi
1eb3bf9335 Moves hosts HTTP updates offline 2019-12-12 15:54:23 +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
dd7a96d71b Simplifies flow stats access 2019-12-11 09:56:33 +01:00
Simone Mainardi
e2ed60bf3a Reworks FlowTrafficStats from POD to class 2019-12-10 19:27:45 +01:00
Simone Mainardi
4afa348f89 Fixes possibly invalid icmp echo id 2019-12-10 14:26:27 +01:00
Simone Mainardi
993fcc2fc3 Fixes interfaces TCP timeseries
Fixes #3077
2019-11-25 15:53:30 +01:00
Simone Mainardi
5b81a3ab9e Implements low goodput calculation in lua 2019-11-21 16:37:33 +01:00
Simone Mainardi
8b9b7b8b19 Reworks and simplifies flow lua calls code 2019-11-18 19:02:24 +01:00
emanuele-f
7d0888d302 Flow user scripts optimizations 2019-11-15 15:52:36 +01:00
Alfredo Cardigliano
e38835a603 Rename SSL to TLS (fix #3013) 2019-11-15 12:40:01 +01:00
emanuele-f
60fc7e0cfb Improve flow.lua and add statistics 2019-11-15 10:51:19 +01:00
emanuele-f
1a1eb50acd Retry skipped flow user calls if there isn't enough time 2019-11-14 16:36:39 +01:00
emanuele-f
bde0a51f9c Add periodic_update_seconds parameter 2019-11-14 16:10:45 +01:00
emanuele-f
df0556cb87 Optimize flow alerts generation
This provides a ~10x speedup by performing the JSON serialization work in C
(and thus avoiding Lua->C overhead). This also implements two in-memory alerts
queues (one for sqlite and one for the notifications) in order to reduce Redis load.
Alerts queue are now global instead of per-interface as there is only 1 dequeing thread.
2019-11-14 11:54:13 +01:00
Simone Mainardi
05e6dc1677 Implements bi- and mono-directional flow callbacks filter
Implements #3055
2019-11-13 18:14:49 +01:00
Simone Mainardi
0fabd87491 Implements TWH-complete flow callbacks filter
Implements #3056
2019-11-13 17:27:41 +01:00
Simone Mainardi
7b7b7f9eec Fixes use of THW information to detect probing 2019-11-13 16:49:31 +01:00
Simone Mainardi
c9137bbbcf Implements export of nprobe-agent fields to elastic and logstash
Implements #3045
2019-11-12 12:53:37 +01:00
Simone Mainardi
47169b82be Reworks counting of skipped flow lua calls 2019-11-11 18:22:37 +01:00
emanuele-f
739c87a52d Initial flow user scripts optimization 2019-11-11 18:04:48 +01:00
Simone Mainardi
eeeff4baf3 Refactors code duplication of 4d45ffff08 2019-11-11 15:29:33 +01:00
emanuele-f
26abe5e958 Split flow.getDurationInfo in smaller functions 2019-11-08 20:14:02 +01:00
emanuele-f
4d45ffff08 Add missed calls stats 2019-11-08 17:13:24 +01:00
Alfredo Cardigliano
280213e148 Enqueueing alerts as soon as they are detected, instead of using 2-steps (#3038) 2019-11-05 11:04:44 +01:00
emanuele-f
675adcf90e Migrate hosts disabled flow status preference to lua
By loading all the preferences at once in flow.lua setup() the
redis load is reduced and design is simpler.
2019-11-04 16:50:26 +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
Simone Mainardi
4e87cde719 Reworks, fixes and simplifies periodic flows dump 2019-10-30 12:19:47 +01:00
Simone Mainardi
e8277e46ff Reworks view interfaces implementation 2019-10-30 11:47:56 +01:00
Simone Mainardi
8d25c53871 Fixes idle flows not dumped to db 2019-10-29 11:37:49 +01:00
Simone Mainardi
2d0b9e005a Generalizes hosts/flows periodic stats update 2019-10-28 12:07:11 +01:00
Simone Mainardi
68246efd01 Decouples periodic hash table updates using a thread pool 2019-10-27 17:40:07 +01:00
Simone Mainardi
00f8c7d681 Handles slow flow scripts causing long delays and slow purges 2019-10-25 12:16:01 +02:00
Alfredo Cardigliano
d05777df1e External alerts API update and cleanup 2019-10-22 15:08:06 +02:00
Simone Mainardi
7683989920 Fixes crash after flow status migration to Lua 2019-10-22 11:31:32 +02:00
emanuele-f
b3374651ce Merge branch 'alerts_cleanup' into dev 2019-10-22 10:50:21 +02:00
emanuele-f
b3a8c6d49a Migrate C flow status alerts to Lua user scripts
- Alerts and flow status cleanup
- Community flow user scripts migration
- Implement scripts filters by l7 proto and packet interface only
- Migrate flow2statusinfojson
- Lower flow periodic update to 30 seconds if there is flow activity
- Display flow scripts without a gui section
2019-10-22 10:42:22 +02:00
Luca Deri
9d071c44c9 Minor code cleanup 2019-10-17 11:56:55 +02:00
Simone Mainardi
6fd7386c03 Fixes possible collisions when looking up flows by key 2019-10-16 19:04:10 +02:00