Commit graph

920 commits

Author SHA1 Message Date
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)