Commit graph

260 commits

Author SHA1 Message Date
Simone Mainardi
0b30eb14ba Implements host grouping facilities in C (WIP) 2016-04-19 19:51:53 +02:00
Simone Mainardi
466fde46df Applies host filter criteria in C
Hosts are filtered directly in C to improve efficiency.
This commit also fixes #498 and partially addresses #486
2016-04-18 21:26:26 +02:00
Luca Deri
dc1779f176 Initial work for fixing #498 (work in progress) 2016-04-16 00:36:09 +02:00
Luca Deri
8b150132d2 Added interface TCP stats 2016-04-11 00:02:37 +02:00
Luca Deri
1144a2fcf0 Fixed bug that was including known hosts in list of Unknown Networks
Minor initialization fixes
2016-04-10 10:46:15 +02:00
Luca
12a04e4da3 Reworked shaper interface 2016-04-05 16:41:04 +02:00
Luca Deri
5618c4489f Implemented support for clock drift when collecting flows from remote probes with clock time screw 2016-03-30 16:19:36 +02:00
Luca Deri
5c418ae0e9 Fixed invalid bytes/pkts update on ZMQ interfaces 2016-03-29 01:38:11 +02:00
Luca Deri
fac51e9fca Reworked MySQL interface 2016-03-26 22:52:54 +01:00
Luca Deri
744c0e88c0 Traffic shaping protocols/flows are not immediately refreshed 2016-03-18 19:48:00 +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
27945e797d Fix for #417 2016-02-24 19:34:13 +01:00
Luca Deri
382ac9d2eb Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-02-19 21:17:07 +01:00
Luca Deri
f8353b109e Minor changes to traffic profiles 2016-02-19 21:16:05 +01:00
Simone Mainardi
165be14dfd Makes the maximum number of rows retrieved from MySQL configurable
The limit in the number of rows that can be retrieved from MySQL
has been made configurable. This is useful especially when downloading
historical flows in txt format.
2016-02-19 20:14:29 +01:00
Luca
dba8bcce49 Added enhancement to filter flows with L7 protocol more efficiently 2016-02-18 16:19:05 +01:00
Luca Deri
fe8218e258 Minor code cleanup 2016-02-06 13:38:30 +01:00
Luca
c4546c4e75 Minor fixes 2016-01-13 10:40:09 -05:00
Luca Deri
d7c452f0a3 Moved to 2016 2016-01-01 09:27:39 +01:00
Simone Mainardi
5d53d78af2 Abstracts flow profiles to generic profiles
New abstract classes have been added with the
aim of creating both Flow and Host Profiles.
2015-12-29 23:07:39 +01:00
Luca
11f8c934d0 Reworked hosts listing in order to avoid/limit out-of-memory issues
Implemented aggregation of hosts and flows when using views
2015-12-27 18:55:50 +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
bd66cbcdcd Work in progress toward per-minute stats 2015-12-15 18:47:58 +01:00
Luca
32780947f5 Minor code cleanup 2015-12-09 18:01:52 +01:00
Luca
877749d936 Changes due to the new nDPI 2015-11-12 15:27:00 +01:00
Luca Deri
4a5948ff27 Added tab pane for traffic profiles 2015-11-07 18:28:05 +01:00
Luca Deri
28e32c72c9 Fixed dumping to tap interfaces 2015-11-07 16:22:01 +01:00
Luca
86b793d006 Harvested interface view code and replaced with simpler one 2015-11-07 10:47:29 +01:00
Simone Mainardi
6fb662ae82 Network Statistics: lua and fixes 2015-11-04 17:32:53 +01:00
Luca
9bf2c0f83c Initial work towards network stats 2015-11-03 17:11:06 +01:00
Luca Deri
598f128200 Implemented traffic profiles (pro) 2015-10-19 00:48:55 +02:00
Luca Deri
bc94680a81 Removed communities support. Its implementatation was sub-optimal and so we'll start over 2015-10-10 11:02:11 +02:00
Luca Deri
80e248fc35 Fixed version check 2015-10-04 22:23:53 +02:00
Luca Deri
18bee82d99 Added check for discarding packets with invalid lenghts that might confuse reports and stats 2015-08-23 23:54:05 +02:00
Luca Deri
4945f5c902 Added ability to navigate IPv4 and IPv6 flows 2015-08-16 23:44:01 +02:00
Luca Deri
3b72506ab0 Added the ability to query flows from Lua
Added simple testing tool db_query.lua to issue queries
2015-08-15 20:38:01 +02:00
Luca Deri
44deca8b60 Fixes for supporting ifSpeed on non Linux platforms
Fixed speed conversion to use 1000 instead of 1024 as rate
2015-08-15 11:36:37 +02:00
Luca Deri
900484b2e0 Reworked DB structure 2015-08-09 15:54:18 +02:00
Luca Deri
d7f755bac7 Added interface addresses to the network interface view
Fixed local hosts dump of activities
2015-08-09 14:00:08 +02:00
Luca Deri
6aa141caa9 Code cleanup: removed code used very seldom such as host aggregations/contacts. This should reduce memory usage and make ntopng faster
Little progresses towards MySQL support
2015-08-08 01:13:59 +02:00
Luca Deri
72f37d0772 The stats on mesh network traffic are shown (menu Hosts) only if mesh network traffic is monitored 2015-08-03 17:59:32 +02:00
Luca Deri
cfbc7e4265 Fixed bug for handlign on-Batman protocols 2015-07-29 00:02:11 +02:00
berat
d7ee03c508 Adds antenna_mac variable and getAntennaMac() method. 2015-07-26 17:37:49 +02:00
Arianna Avanzini
4b4d5a5e80 src/CommunitiesManager.cpp: add bindings to retrieve active hosts of a community
This commit adds Lua bindings to the CommunitiesManager to retrieve
a Lua table with the active hosts of a community. This also adds
binding functions to the Host and NetworkInterface class so that
it can iterate efficiently over hosts of a community.
2015-07-21 02:10:53 +02:00
Arianna Avanzini
6d6387e3be src/Lua.cpp: add possibility to get hosts info just for local hosts
This commit adds iterators to the Host class to the purpose of
allowing to get information just for local hosts. This also adds
Lua bindings to the Lua class so that scripts can access the
newly-added feature. This will help with issue #26.
2015-07-10 23:06:34 +02:00
Luca
f6c0cb24d2 Reworked code to handle changes in nDPI master/sub-protocol support
Documented -t parameter and fixed bug for handling it
2015-07-07 10:59:41 -04:00
Arianna Avanzini
ad0ea8a2ec src/FlowsManager.cpp: implement very basic SQL-like parser
This commit implements in the FlowsManager class a very basic parser
for SQL-like fixed-format strings, which allows for better flexibility.
This is a first step towards delegating to Lua scripts the construction
of the SQL statement.
2015-06-14 14:43:01 +02:00
Arianna Avanzini
41b30de775 src: add flexible interface to filter flows stats
This commit introduces FlowsManager, a class implementing a flexible
interface for filtering flows stats. This is to be complemented
with a high-level interface allowing the Lua part to filter stats,
but as of now simply replaces the current getActiveFlowsList()
interface.
2015-06-13 03:42:13 +02:00
Luca Deri
a8c3ee2465 Reworked CPIU/interface affinity 2015-06-07 08:45:40 +02:00