Commit graph

378 commits

Author SHA1 Message Date
Simone Mainardi
4aebe42ab7 Fixes refresh for VLAN-tagged hosts in hosts_stats.lua 2016-06-04 16:37:01 +02:00
Simone Mainardi
a07b8fe22a Escapes double-quotes in AS html 2016-06-01 15:47:02 +02:00
Luca Deri
d35b1b6348 Fixed missing smile 2016-05-31 12:43:53 +02:00
Luca Deri
79022c7238 Fixed flow statistics in host_get_json.lua
Fixed TCP flags
Smaller cosmetic fixes
2016-05-30 22:58:08 +02:00
Simone Mainardi
c28fe1248e Adds a method to print purged hosts/flows error messages 2016-05-27 14:26:44 +02:00
Luca Deri
58e48e4529 Improved flow status detection 2016-05-16 19:13:55 +02:00
Luca
5ff9db9dd5 Improved detection of flow status 2016-05-16 18:54:08 +02:00
Luca Deri
4acb2b0e81 Minor cosmetic fixes 2016-05-07 00:20:55 +02:00
Simone Mainardi
9ce96af916 Prevents localstats to be overwritten in interfaces aggregation
Fixes #552
2016-05-06 11:02:44 +02:00
Luca Deri
7a34bd7891 Added checks for #497 2016-04-15 22:11:50 +02:00
Simone Mainardi
05c1209310 Pops-up a window to download flows (and prevents page changes to be lost) 2016-04-13 15:51:23 +02:00
Simone Mainardi
7b1e38cc6e Checks whether local packet dump is enabled via Lua
Fixes #487
2016-04-12 18:26:32 +02:00
Luca Deri
8b150132d2 Added interface TCP stats 2016-04-11 00:02:37 +02:00
Simone Mainardi
27d9f37016 Fixes issues when sorting flows
Todo: check also host sort that may be affected as well

Fixes #464
2016-04-02 18:11:42 +02:00
Luca Deri
ef6fdebf63 Fixes in MySQl batch 2016-03-26 22:00:56 +01:00
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