This commit introduces a class to handle host communities, that are
a logical representation of clusters of hosts that fall under the
same administrative domain. This commit also adds a new command line
option to specify a file containing aggregation rules and code to
parse such file with an adequate syntax:
communityX@id1=net1,net2,net3
communityY@id2=net4,net5,net6
...
Communities are unused now. Further commits will introduce reports
to represent communities and describe them with stats.
This addresses issue #75.
This commit adds two constants representing a possible limit
for flows and hosts to be loaded into the Lua stack. Note that
the constants are still unused. This change is made towards
future modifications for issue #26.
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.
Starting ntopng from outside the install folder can cause problems
if ntopng has not been installed but instead compiled from source.
This commit adds an install-dir parameter to allow to specify where
ntopng executable and scripts are so that variables are set
correctly. Please refer to the help to get info about the usage
of the option.
This commit adds a first option to filter results of queries
on flows so that only relevant info can be returned. This for
now only introduces a PORTS filter. This helps reducing the
load on the Lua stack when the flows limit is high.
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 a first implementation of configuration preferences for RRDs.
Different config options are selectable for network interfaces RRDs and
other RRDs. This addresses issue #33.
This commit lets the Historical Interface retrieve rows only with
a limited amount. This should work around current stats retrieval
issues. The max number of retrievable rows is split across queries
equally.
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 fixes an issue with sizing of the buffer used to retrieve
data from the sqlite backend keeping top stats. Now the sqlite
backend allocates itself data structures of the needed size and
these same structures are used for retrieval
This commit adds to ntopng the possibility to start it on top of
a netfilter queue. The queue must be previously created before
being passed on as parameter to ntopng with the syntax explained
in the README.netfilter file, added with this commit.
This addresses issue #5.
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