Commit graph

35 commits

Author SHA1 Message Date
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
99b67b16ad Remove old nedge define and move to new one 2018-02-09 13:01:08 +01:00
Luca Deri
c9ecd931d9 Code cleanup 2017-12-16 08:23:56 +01:00
Luca Deri
074a08e7ce Simplified ntopng when nEdge is used 2017-10-21 15:36:28 +02:00
Luca Deri
a29e17cc1d Enlarged ZMQ buffer
Implemented conditional varianbe class
2017-10-15 23:01:20 +02:00
Luca Deri
3cfbfd4900 Fix ZMQ flow increment when multiple flows are delivered on the same ZMQ message 2017-10-13 15:24:47 +02:00
Luca Deri
594abe68ce Implemented ZMQ flow buffering support for enhancing ZMQ performance and decreasing data exchanged 2017-10-10 10:45:25 +02:00
Simone Mainardi
cc155573ae purgeIdle performance improvements
purgeIdle is only run on interfaces that have actually seen
traffic
2017-09-26 15:37:20 +02:00
Simone Mainardi
d172cafce3 Reworks CollectorInterfaces and adds remote nProbe stats
Fixes #572
2017-08-05 21:37:18 +02:00
Simone Mainardi
85da10af61 Implements new flow drill-down criteria: exporter ip and in/out interfaces
Implements #1326
2017-07-20 19:54:11 +02:00
Simone Mainardi
2ca0e4f72a Improves purgeIdle over ZMQ 2017-07-20 11:52:21 +02:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca Deri
4f1c52599b Removed debug message 2017-01-07 07:40:36 +01:00
Luca Deri
f09e58b191 Code cleanup (strtok replacement) 2016-12-27 23:14:39 +01:00
Luca Deri
1cdd21106a Improvements to the ZMQ drop counter logic 2016-12-19 13:57:44 +01:00
Luca Deri
3892eacd6a Computed ZMQ message drops reported in the interface stats. The latest nprobe is required for ZMQ stats otherwise the value will be zero 2016-12-17 17:09:19 +01:00
Luca
6094c023fb Added support for ZMQ version 1 2016-12-17 13:37:55 +01:00
Luca Deri
65239694a9 Added ZMQ flow stats
Removed unused interface drops method
2016-11-10 21:10:56 +01:00
Simone Mainardi
2a68676d93 Improves idle flows purge over ZMQ interfaces 2016-11-07 19:00:04 +01:00
Luca Deri
5088fe0f33 Flow collection improvements 2016-07-04 17:50:23 +02:00
Luca Deri
71570bb638 ZMQ collection fix 2016-07-03 14:35:44 +02:00
Luca Deri
9bf27b6940 Removed --zmq-collector-mode replaced with a c at the end of the endpoint. Example -i tcp://1.2.3.4:5678c 2016-07-03 14:23:29 +02:00
Luca Deri
194b3fdb88 Initial work towards supporting sFlow device/interface counters 2016-06-29 19:26:40 +02:00
Luca Deri
91b4315ea7 Added error message to report when ZMQ-received flows can't be decompressed because of lact of ZMQ 2016-04-27 21:27:15 +02:00
Simone Mainardi
0a23af08a2 Fixes a free call on a non-allocated pointer
Fixes:
18/Mar/2016 15:35:27 [NetworkInterface.cpp:1435] Started packet polling on interface tcp://192.168.2.129:5556 [id: 30]...
18/Mar/2016 15:35:28 [CollectorInterface.cpp:104] Collecting flows on tcp://192.168.2.129:5556 [ntopng->nprobe]
ntopng(14074,0x70000082e000) malloc: *** error for object 0x70000082be90: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
2016-03-18 16:06:26 +01:00
Luca Deri
263f3123e2 Improved ZMQ handling by adding encryption and compression support 2016-03-15 17:08:23 +01:00
Luca Deri
2d8337496d Fix for #316 (latest nProbe dev is required) 2016-02-27 19:29:20 +01:00
Luca Deri
6f82d6b4b3 Added --zmq-collector-mode for ZMQ collection mode 2016-02-27 15:39:08 +01:00
Luca Deri
d7c452f0a3 Moved to 2016 2016-01-01 09:27:39 +01:00
Luca
440a2c8329 Reworked flow listing by sorting flows in memory before they are pased to Lua. This prevents Lua from using too much memory (in particular with limited-memory hosts or large sites with many flows) 2015-12-26 12:34:45 +01:00
Luca Deri
29906527a8 Removed some warnings 2015-11-07 18:36:56 +01:00
Luca Deri
4c35559151 Various code optimizations and cleanup 2015-08-08 11:05:00 +02:00
Luca Deri
a8c3ee2465 Reworked CPIU/interface affinity 2015-06-07 08:45:40 +02:00
Arianna Avanzini
0a0e25568b src/NetfilterInterface.cpp: handle absence of pollLoop correctly
This commit fixes a segfault issue in pthread_setaffinity_np()
happening when the NetfilterInterface is used with some values
of pollLoop due to the poll loop not being actually used.
2015-05-17 01:40:22 +02:00
Luca Deri
b178cf4121 Added travis file for code testing
Added .gitignore file for ignoring selected files
Reworked src and include paths to organize the source better
Fixed bug with invalid git version caused in some settings that do not compile code extracting it from github
2015-05-01 19:40:52 +02:00
Renamed from CollectorInterface.cpp (Browse further)