Commit graph

3564 commits

Author SHA1 Message Date
Luca
5e556396d1 Implemented dummy interface (-i dummy) to be used only for debugging purposes for testing low-memory conditions and internal routines.
Updated scripts that were still using old API calls
2015-12-28 23:16:54 +01:00
Luca
11f8c934d0 Reworked hosts listing in order to avoid/limit out-of-memory issues
Implemented aggregation of hosts and flows when using views
2015-12-27 18:55:50 +01:00
Luca
df957f9e55 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-12-26 15:41:50 +01:00
Luca
440a2c8329 Reworked flow listing by sorting flows in memory before they are pased to Lua. This prevents Lua from using too much memory (in particular with limited-memory hosts or large sites with many flows) 2015-12-26 12:34:45 +01:00
Simone Mainardi
1edb469294 Allows values greather than 65k seconds for idle timeouts 2015-12-24 15:57:10 +01:00
Simone Mainardi
63bcbb12c7 Adds status information to nagios alerts
Alert status information is propagated together with nagios alerts.
This status will be used by nagios to handle service statuses.
2015-12-19 15:08:18 +01:00
Luca
2e576e2ca0 Initial category mapping 2015-12-18 10:21:00 +01:00
Luca
3e6fec8d84 Added support for http-based categorization (work in progress) 2015-12-18 08:32:15 +01:00
Luca
bd66cbcdcd Work in progress toward per-minute stats 2015-12-15 18:47:58 +01:00
Simone Mainardi
ce25732104 Adds Nagios Alerts support (Pro Version)
Nagios alerts support has been added via NSCA (Nagios Service Check Acceptor).
Nagios NSCA alerts configuration can be set at runtime via the
preferences page of the UI. The running instance of ntopng is
notified asynchronously upon preference changes.
2015-12-12 19:37:36 +01:00
Simone Mainardi
8a0358d46a Adds an utility function to strip HTML from strings 2015-12-12 19:09:12 +01:00
Luca
32780947f5 Minor code cleanup 2015-12-09 18:01:52 +01:00
Luca
d31a5d5267 Fix to avoid that ZMQ-received flows with old timestamps are not purged immediately but at least show up for at least 5 sec 2015-12-08 10:14:09 +08:00
Simone Mainardi
2228a8529c Adds ntopng instance name (#283)
ntopng instance name can be specified using command line parameter
--instance-name. If no parameter is specified, instance name defaults
to the current host name.

this information is exported to MySQL and ES.
2015-12-07 15:32:00 +01:00
Luca Deri
376b645f8f Reworked -k parameter to introduce support for flashstart service (work in progress) 2015-12-05 11:55:48 +01:00
Luca Deri
2b8336b67e Win fixes 2015-11-27 00:59:54 +01:00
Luca Deri
4545068b02 Win changes 2015-11-26 23:54:51 +01:00
Luca Deri
54d2a5175e Reimplemented support for netfilter packet sniffing in the pro version with support for dropping traffic 2015-11-26 13:21:43 +01:00
Simone Mainardi
b4b9cbf176 Fixes #277: Adds support for longer interface names
Interface names are now supported up to 256 characters
2015-11-24 12:42:43 +01:00
Luca Deri
ca289802b6 Further improvements to make periodic scripts more accurate in execution time (#263) 2015-11-14 09:27:25 +01:00
Luca
877749d936 Changes due to the new nDPI 2015-11-12 15:27:00 +01:00
Simone Mainardi
71b390ec47 Adds MySQL support for traffic profiles
Traffic profile information is dumped to MySQL.
2015-11-10 11:36:55 +01:00
Luca Deri
3b0d35a822 Fixed empty network name
Various minor optimizations
2015-11-08 21:06:18 +01:00
Luca Deri
a15f7629a5 Fixed invalid free
Fixed a couple of small memory leaks
2015-11-08 19:09:12 +01:00
Luca Deri
4a5948ff27 Added tab pane for traffic profiles 2015-11-07 18:28:05 +01:00
Luca Deri
714352b25e Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2015-11-07 16:22:17 +01:00
Luca Deri
28e32c72c9 Fixed dumping to tap interfaces 2015-11-07 16:22:01 +01:00
Simone Mainardi
164f94dd90 Merge remote-tracking branch 'upstream/dev' into dev 2015-11-07 10:54:13 +01:00
Luca
86b793d006 Harvested interface view code and replaced with simpler one 2015-11-07 10:47:29 +01:00
Simone Mainardi
09ac01a1ee Stores local network traffic statistics on a minute basis
Local network traffic statistics are stored in RRDS on
a minute basis. Network traffic statistics are per interface.
If an interface has never seen a network, then no RRD is created.
2015-11-06 17:49:36 +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
aafac73593 Minor optimization for ELK template setup 2015-10-28 00:26:59 +01:00
Simone Mainardi
bea6f4750e Push ntopng index configuration to ElasticSearch
When ES flow export is enabled, ntopng sends its index configuration
to ES before actually exporting flows.
2015-10-27 12:25:32 +01:00
Luca Deri
4e1d667a6b Removed warnings 2015-10-09 23:13:01 +02:00
Luca Deri
829c24ac17 Fix for #205 and #206 2015-10-20 21:14:46 +02:00
Simone Mainardi
dfc3d2c99d used std::vector type for collection of addresses 2015-10-19 23:24:10 +02:00
Simone Mainardi
a33224adc1 Merge remote-tracking branch 'upstream/dev' into dev 2015-10-19 19:18:23 +02:00
Luca Deri
598f128200 Implemented traffic profiles (pro) 2015-10-19 00:48:55 +02:00
Simone Mainardi
f8374c7450 fix: local networks were not added; refactoring: code refactoring for address tree and address resolution 2015-10-18 23:47:50 +02:00
Luca Deri
cfbf3f2ac6 Removed duplicated interfaces (issue #236)
Initial work towards traffic profiles support
2015-10-17 19:14:16 +02:00
Luca Deri
631d54781e MySQL/MariaDB is now compulsory to compile ntopng 2015-10-16 14:56:01 +02:00
Luca Deri
02e6183960 Windows changes 2015-10-15 12:44:20 +02:00
Luca Deri
792c0ad20d Refactored network management code 2015-10-14 23:31:50 +02:00
Simone Mainardi
0753b1ebaf added compiler directives to exclude parts of code when NTOPNG_PRO is disabled 2015-10-14 00:12:37 +02:00
Simone Mainardi
73c50c369f fix: nagios alerts were broken. Now alerts work but this feature should be considered Experimental 2015-10-13 22:52:47 +02:00
Luca Deri
4cb4fb5b0c Fixed issues with MTU calculation for loopback interface
Fixed invalid packaging on embedded systems
2015-10-13 08:43:14 +00:00
Luca Deri
c8e0bb24a4 Initial work for supporting communities (work in progress)
Fixrd bug in daily Lua script
2015-10-12 01:04:34 +02:00
Luca Deri
5506dd5166 Added support for TZSP encapsulation 2015-10-11 22:44:38 +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