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