Commit graph

963 commits

Author SHA1 Message Date
Luca
c3d2ecc749 Implemented flow packets interarrival stats 2016-03-23 23:22:58 +01:00
Luca Deri
0c0b671e0f Improved top sites 2016-03-22 14:56:03 +01:00
Simone Mainardi
d89cde0409 Handles interface alerts with ids
The Interface Alerts toggle button was not working. This
commit fixes this bug as well.
2016-03-16 19:53:13 +01:00
Luca
8f0f8fc1cf Added logic to detect flows with low goodput (e.g. originated by tools like https://github.com/shekyan/slowhttptest) 2016-03-08 19:18:28 +01:00
Simone Mainardi
5fe6d42bb4 Fixes unescaped dots in lua string.find methods 2016-02-18 19:52:44 +01:00
Luca
ce178a1127 Initial work towards counter trends 2016-02-13 00:07:03 +01:00
Simone Mainardi
25ee0d5c11 Implements Top Talkers and Top Applications In Time Range
Top Talkers and Top applications can be retrieved via MySQL
both interface-wide and per-host. A couple of tabs, namely
"Top Talkers" and "Top Applications" become available in the
historical page of interfaces and hosts. Upon focus of each
tab, an ajax request is triggered and data is fetched from MySQL.

TODO: interface wide top-talkers are retrieved from sqlite and
need to be moved to mysql.
2016-02-06 18:11:31 +01:00
Simone Mainardi
418f48e714 Adds JSON endpoints to retrieve top talkers data 2016-02-01 22:14:28 +01:00
Luca Deri
ddbfacaefb Various fixes to host categorization
Added optional parameter for ntop.getInfo() call
2016-01-05 11:07:12 +01:00
Simone Mainardi
06ef8d21ab Implements historical RRDs for traffic categories
Traffic categorization can be optionally saved to RRDs
on a per-host basis.
2016-01-04 19:18:22 +01:00
Luca Deri
47d43d986b Implemented multi-categories for flows 2016-01-02 12:55:13 +01:00
Luca Deri
b9068886a4 Reworked flashstart categorization support (work in progress) 2016-01-01 20:05:58 +01:00
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
2e576e2ca0 Initial category mapping 2015-12-18 10:21:00 +01:00
Simone Mainardi
51b7702b44 Refactored UI preferences code 2015-12-12 19:12:05 +01:00
Luca Deri
4a5948ff27 Added tab pane for traffic profiles 2015-11-07 18:28:05 +01:00
Luca
86b793d006 Harvested interface view code and replaced with simpler one 2015-11-07 10:47:29 +01:00
Luca Deri
71afffaf7c Additional conversion fix for #246 2015-10-21 22:51:31 +02:00
Luca Deri
80e248fc35 Fixed version check 2015-10-04 22:23:53 +02:00
Luca Deri
29513c466b Removed unused StatsManager methods
Removed unused get_real_epochs.lua
2015-10-01 23:36:16 +02:00
Simone Mainardi
295327cb78 added min and max functions to find maximum and minimum values in tables, together with their argmax and argmin 2015-10-01 19:41:21 +02:00
Luca Deri
2767caa991 Added in preferences the ability to specify the MySQL data retention 2015-09-22 23:32:39 +02:00
Luca Deri
0db67b2f09 Minor time/protocol formatting changes 2015-09-22 09:09:57 +02:00
Luca Deri
011e126f6f Inhanced tprint, table dump function 2015-09-17 19:54:04 +02:00
Luca Deri
9e0907179e Fixed but in host matrix where a nil could happen during host name conversion
If defines, mapped symbolic interface name in interfaces menu
2015-09-16 19:15:22 +02:00
Luca Deri
4dd80d4778 Partial rework of NetworkInterfaceView (work in progress) 2015-09-16 00:41:29 +02:00
Luca Deri
4bf10f4fce Added user role in About page
Fixed SQL when exploring subnets
Modified preferences to specify that when nDPI RRDs are created, they do for both local hosts and networks
2015-09-14 14:16:11 +02:00
Luca Deri
9d3e29ff74 Added information about traffic shapers in case you use ntopng inline
When using packet bridges, the local interface networks are now added to ntopng configuration
2015-09-14 00:19:57 +02:00
Luca Deri
c7de08f89c Fixed lua code where some shared variables created issues with some reports.
Minor c++ code fixes
2015-09-13 23:03:06 +02:00
Luca Deri
0d23f1aa10 Minor footer change
Reworked some lua utility functions
2015-09-13 19:14:46 +02:00
Luca Deri
dfe98e6a69 Improved flow search 2015-08-24 23:44:06 +02:00
Luca Deri
2a5baca948 Various flow dump improvements and bug fixes 2015-08-17 10:57:17 +02:00
Luca Deri
e59d699837 Added initial work towards a new historical interface. In the Interfaces->name->Historical Actitivity it is now possible to see top flows when -F "mysql;...." is used 2015-08-16 15:00:40 +02:00
Luca Deri
83fe0afb99 Fix for top scripts: the code was not discarding non .lua files 2015-08-15 12:19:06 +02:00
Luca Deri
44deca8b60 Fixes for supporting ifSpeed on non Linux platforms
Fixed speed conversion to use 1000 instead of 1024 as rate
2015-08-15 11:36:37 +02:00
Campus
2deb319f57 added function to get max speed of eth - modified interface speed page 2015-08-15 01:48:08 +02:00
Luca Deri
d609b8c80d Change to convert a float to an integer prior to call rrd_update. This patch should fix #122. 2015-08-11 22:26:17 +02:00
Luca Deri
792ccd15ac Fix for saving/reading local hosts activities 2015-08-09 11:49:01 +02:00
Luca Deri
c755bd6fd4 Fixed layour of hosts matrix: empty rows/columns are not rendered 2015-08-09 10:33:37 +02:00
Michele Campus
653a63aa2c fixing hosts_matrix.lua to delete empty lines generated by local hosts 2015-08-08 22:08:37 +02:00
Luca Deri
8cedf73bfa Updated FontAwesome
Fixed minor HTML errors
Added mime type for fonts in HTTP server
Shortened version id
2015-08-08 16:01:12 +02:00
Luca Deri
df38dee87d Removed old legacy code
Added various fixes to networks view including the ability to visualize per-network graphs
Local hosts dumps (before purging) are now handled properly again.
2015-08-08 15:30:04 +02:00
Luca
3945b18eb4 Moved ethernet OUI on a place that is included in packages 2015-08-05 13:22:32 +02:00
Luca Deri
2243804a94 Fixes for MAC address listing
Enhanced numeric MAC -> symbolic MAC conversion
2015-08-03 16:49:39 +02:00
Luca Deri
e1b876e440 Fixed MAC address list (work in progress) 2015-08-01 17:02:12 +02:00
Michele Campus
258f64757b changed name function from getservbyname to getservbyport 2015-08-01 04:12:33 +02:00
Luca
3b93709556 Initil work towards symbolic application port mapping 2015-07-31 18:39:48 +02:00
Luca Deri
e292d95814 Updated fontawesome to the latest version
Added supporto for BATMAN antenna stats
Improved MAC formatting
2015-07-27 09:07:10 +02:00
Arianna Avanzini
eec2b3e01c scripts/lua/host_details.lua: changes to let historical be viewed alone
This commit changes the host_details Lua script to let the Historical
data be viewed even if the host is no more in memory if a get parameter
is specified.
2015-07-11 17:19:28 +02:00