Commit graph

3564 commits

Author SHA1 Message Date
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
f09cf25c12 include/ntop_defines.h: use better name for netfilter-based interface
This commit changes the netfilter-based interface's name to lowercase
so that it compiles with existing standards.
2015-05-17 01:39:52 +02:00
Arianna Avanzini
5075ed4f2c ntop_includes.h: fix include paths for pro version
This commit adapts the include file with the correct include
path according to latest changes in the pro version.
2015-05-16 21:42:00 +02:00
Arianna Avanzini
99233759fc include/ntop_includes.h: add include for TokenBucketRing
This commit adds the header file for the new token bucket implementation
available in the professional version of ntopng.
2015-05-15 02:59:38 +02:00
Arianna Avanzini
037e6c3fdd include/StatsManager.h: reduce query buffer size
This commit reduces the size of the buffers used to keep query
strings as it is definitely oversized.
2015-05-12 23:04:04 +02:00
Arianna Avanzini
272f2528bd src/StatsManager.cpp: fix issue with sqlite buffer size
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
2015-05-12 23:02:42 +02:00
Arianna Avanzini
8b7f2de098 src/NetfilterInterface: add ability to start ntopng on top of a netfilter queue
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.
2015-05-11 00:16:49 +02:00
Luca Deri
acb313f0e9 Added -u flag to start capture with promiscuous mode disabled 2015-05-09 09:09:57 +02:00
Arianna Avanzini
3cf6766eea Host.cpp: make alert thresholds per-host
This commit moves alert thresholds so that they are now per host
and not global. This addresses issue #3.
2015-05-07 14:42:48 +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
Arianna Avanzini
8ba4cc531c flow_details.lua: add checkbox to dump flow traffic on disk
This commit adds an option to force dump on disk of a specific
flow, despite what other options and preferences might be.
2015-05-02 00:43:22 +02:00
Luca Deri
e9919c1478 movrd back to where it should be 2015-05-01 23:29: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