Simone Mainardi
d1f974857c
Adds a condition variable for flows dump
...
Addresses #4576
2020-10-14 12:42:59 +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
fdf0f15140
Fixes races in view interfaces and cli/srv scores
...
Fixes #4513
Fixes #4512
2020-10-02 16:34:28 +02:00
Simone Mainardi
f0a2aba619
Simplifies incNumFlows/decNumFlows for Hosts
2020-10-01 14:28:13 +02:00
Simone Mainardi
0db456c0cf
Reworks flow user scripts execution in C++
2020-09-30 18:41:36 +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
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
Alfredo Cardigliano
8b4f1c7e07
Add rest endpoint to get interface dscp stats
2020-07-20 17:35:03 +02:00
Simone Mainardi
ebbe0155e3
Several ZMQ traffic and throughput calc fixes
...
Addresses #3863
2020-05-07 17:28:44 +02:00
emanuele-f
ca3c255d77
Fix inconsistent hosts counters with view interface and full hash tables
...
indFlowHosts could allocate hosts after the first ViewInterface::viewed_flows_walker run.
In this case incUses and incNumFlows would not be called, causing counters desinchronization.
This fix also provides a performance improvement by avoiding access to the hosts hash table on
subsequent runs of ViewInterface::viewed_flows_walker on the same flow.
Should address #3687
2020-04-03 15:33:42 +02:00
emanuele-f
14a3082022
Add convenient "view:all" identifier for view interface creation
...
It is now possible to use "-i view:all" to create a view interface
of all the other interfaces available in ntopng.
Closes #3543
2020-03-24 16:30:16 +01:00
emanuele-f
4f14abacd2
Fix ViewInterface purgeIdle not called on idle sub interfaces
...
Fixes #3522
2020-03-09 19:25:08 +01:00
emanuele-f
8d51dae0e5
Implement Misbehaving vs Alerted flows chart
2020-01-27 15:37:36 +01:00
Luca Deri
e55854aaff
Initial work on host bins
2020-01-27 11:55:00 +01:00
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