Commit graph

31 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
Simone Mainardi
bb52aa747c Prevents dump buttons from being shown for non-packets interfaces or when nBox integration is enabled
Traffic dump buttons are not shown for non-packet interfaces
as well as when the nbox integration is enabled.
2016-04-11 14:34:21 +02:00
Luca Deri
744c0e88c0 Traffic shaping protocols/flows are not immediately refreshed 2016-03-18 19:48:00 +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
d7c452f0a3 Moved to 2016 2016-01-01 09:27: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 Deri
3b0d35a822 Fixed empty network name
Various minor optimizations
2015-11-08 21:06:18 +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 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
dfe98e6a69 Improved flow search 2015-08-24 23:44:06 +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
900484b2e0 Reworked DB structure 2015-08-09 15:54:18 +02:00
Luca Deri
4c35559151 Various code optimizations and cleanup 2015-08-08 11:05:00 +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
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
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
Arianna Avanzini
7ee3b06c21 scripts/lua/host_details.lua: add missing binding for per-host alert prefs
This commit adds missing binding code which handles per-host alert
prefs refresh. This also changes Lua binding code and core ntopng
code to suit the new prefs system.
2015-05-18 11:47:00 +02:00
Luca Deri
6630297dcd Policer update 2015-05-18 01:15:55 +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 NetworkInterfaceView.h (Browse further)