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.
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.
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.
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.
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.
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.
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.
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