Commit graph

584 commits

Author SHA1 Message Date
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
Luca Deri
15e6730236 CPU affinity on network interfaces is now set before changing user to nobody
Fixed shutdown crash
2015-06-06 17:32:04 +02:00
Zbynek Houska
71414f65be Fixes needed for smooth compilation on OpenBSD 5.7 2015-06-02 12:46:47 +01:00
Luca Deri
e2b04d128f Revamped host categorization and moved to Google Safe Browsing for detecting safe and malware sites 2015-05-27 17:58:26 +02:00
Luca Deri
2b252633cb Changes to the shaper GUI 2015-05-19 01:02:15 +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
9787317927 Merge branch 'dev' of https://github.com/ntop/ntopng into dev
Conflicts:
	include/ntop_includes.h
2015-05-18 01:18:27 +02:00
Luca Deri
6630297dcd Policer update 2015-05-18 01:15:55 +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
Arianna Avanzini
e2ac52d02a if_stats.lua: add option to dump all traffic
This commit adds to the per-interface Packet Dump tab an option
to dump all traffic to the selected media. This makes the dump
filtering option a three-state mechanism, which allows to
disable dump, enable dump only for selected hosts, and enable
dump of all traffic.
2015-05-02 01:02:37 +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 NetworkInterface.h (Browse further)