Commit graph

479 commits

Author SHA1 Message Date
Simone Mainardi
b3be99e97b Fixes number of flows in ajax requests 2016-05-24 12:17:43 +02:00
Simone Mainardi
e12c703464 Implements IN_BYTES / OUT_BYTES for historical protocols 2016-05-24 11:57:12 +02:00
Simone Mainardi
9953cc2328 Implements IN_BYTES/OUT_BYTES in historical data
MySQL schema change has been implemented together with
new historical talkers.
TODO: historical protocols.
2016-05-24 11:08:11 +02:00
valentina
5d2f1f4c03 Rework Preference Panes 2016-05-23 23:07:52 +02:00
Simone Mainardi
7d82c7b897 Fixes Host Top Peers Page Rendering
Traffic volume for peers has been fixed. Also the following exception has been handled:

WARNING: Script failure [/usr/share/ntopng/scripts/lua/host_top_peers_protocols.lua][/usr/share/ntopng/scripts/lua/host_top_peers_protocols.lua:34: table index is nil]
2016-05-23 16:26:17 +02:00
Simone Mainardi
d65936a80d Removes Javascript debug print 2016-05-19 17:03:58 +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
Simone Mainardi
46a1edd046 Sets host symbolic names in mutual exclusion
This is to guarantee that symbolic names are left
in a consistent state after possible lua calls.

TODO: check: should get_name be mutex-protected?

Also fixes an issue with minute top talkers:

11/May/2016 11:06:21 [Lua.cpp:4617] WARNING: Script failure [/usr/share/ntopng/scripts/callbacks/minute.lua][/usr/share/ntopng/scripts/lua/modules/top_talkers.lua:215: attempt to concatenate field 'name' (a nil value)]
11/May/2016 11:09:22 [Lua.cpp:4617] WARNING: Script failure [/usr/share/ntopng/scripts/callbacks/minute.lua][/usr/share/ntopng/scripts/lua/modules/top_talkers.lua:185: attempt to concatenate field 'name' (a nil value)]
2016-05-12 00:26:02 +02:00
Simone Mainardi
b29869c053 Makes the historical perPage results persistent
Implements #515
2016-05-10 18:27:56 +02:00
Simone Mainardi
3c722d7a06 Fixes a nil flow label when clicking on dump flow traffic 2016-05-10 17:22:38 +02:00
Luca Deri
4acb2b0e81 Minor cosmetic fixes 2016-05-07 00:20:55 +02:00
Luca Deri
5aa06597b3 Replaced "Too Early" with "Unknown" for nDPI on ZMQ
Minor cosmetic fixes on the interface stats page
2016-05-06 23:40:20 +02:00
Simone Mainardi
9ce96af916 Prevents localstats to be overwritten in interfaces aggregation
Fixes #552
2016-05-06 11:02:44 +02:00
Simone Mainardi
4d6f675a31 Fixes ZMQ speed detection when nprobe is used as NF collector
Code has been fixed and lightly reworked.
Fixes #536 #500
2016-05-02 12:39:53 +02:00
Simone Mainardi
926dfe283b Improves minute top statistics calculations
Minute top statistics were affected by issues when
processing local hosts that were serialized and
deserialized back.

This commit fixes this issue.
2016-04-29 13:36:26 +02:00
Luca Deri
4b89daba92 Fix for command line report 2016-04-27 22:58:20 +02:00
Luca Deri
ea4f4138cc Added the command line option used to start ntopng in the about page (helpful for troubleshooting) 2016-04-27 22:48:37 +02:00
Luca Deri
e88682d8a3 Update license link 2016-04-25 09:41:46 +02:00
Luca Deri
8017ad8c3d Minor flow info change 2016-04-24 21:57:38 +02:00
Luca Deri
89ea597be3 Added ability to report ZMQ bps/pps as exported in latest nProbe 2016-04-24 15:05:06 +02:00
Simone Mainardi
92f2a33c75 Prevents attempts to perform op. on a nil values (Fixes #525) 2016-04-22 10:20:15 +02:00
Simone Mainardi
0d5f2e564b Ensures local stats are updated for ZMQ
Fixes #512
2016-04-21 17:15:48 +02:00
Simone Mainardi
283737cddd Improves the responsiveness of historical pages
Tables with ipv4 and ipv6 flows are loaded dynamically
only when the used clicks on the corresponding tab
2016-04-20 12:38:34 +02:00
Simone Mainardi
0b30eb14ba Implements host grouping facilities in C (WIP) 2016-04-19 19:51:53 +02:00
Luca
6985803662 Added ability to identify idle flows that are now marked on the user interface 2016-04-19 11:56:11 +02:00
Luca
2fb0e863fe Fixed inter-arrival time in flows
Updated (C)
2016-04-19 11:06:39 +02:00
Luca
bc6a018415 Enhanced alerts: added alarm status on/off/permanent to handle in the future for counting pending issues 2016-04-19 10:51:53 +02:00
Luca Deri
3d6233a6d3 Fixed wrong URL for icon on the network stats 2016-04-18 23:54:34 +02:00
Simone Mainardi
466fde46df Applies host filter criteria in C
Hosts are filtered directly in C to improve efficiency.
This commit also fixes #498 and partially addresses #486
2016-04-18 21:26:26 +02:00
Simone Mainardi
7b55e1fc8d Checks lua table entry agains nil (fixes #496) 2016-04-18 12:51:48 +02:00
Luca Deri
dc1779f176 Initial work for fixing #498 (work in progress) 2016-04-16 00:36:09 +02:00
Luca Deri
b6d9ef6af1 Specified the exact version of ntopng pro
Updated ntop version in HTTP request/response headers
2016-04-15 22:28:14 +02:00
Luca Deri
7a34bd7891 Added checks for #497 2016-04-15 22:11:50 +02:00
Simone Mainardi
d46a5b8b5e Refactors historical labels and code to improve readability 2016-04-15 17:05:28 +02:00
Luca
13e4913039 Fixed flow sort with port filter
Implemented application latency in flows
2016-04-14 22:58:58 +02:00
Simone Mainardi
12679976dc Adds a flow inspector to the historical top applications 2016-04-14 17:56:07 +02:00
Simone Mainardi
3c0022197e Adds a flow inspector to the historical top talkers 2016-04-14 15:24:38 +02:00
Simone Mainardi
66513dc093 fixes a MySQL query error on unknown field 2016-04-14 11:04:24 +02:00
Simone Mainardi
fd4057a270 Improves historical talkers/protocols drill down 2016-04-13 18:13:59 +02:00
Simone Mainardi
28ea100379 Fixes a JS uncaught reference exception
Fixes:
host_details.lua?ifname=0&host=192.168.2.130&page=historical:1606 Uncaught ReferenceError: http is not defined
2016-04-13 17:15:30 +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
Simone Mainardi
0ca318ac4d Implements VLAN statistics
Comuptes VLAN statistics and store data to RRD files.
2016-04-12 18:01:05 +02:00
Simone Mainardi
834c551b20 Handles user-overridden interface speeds in if_stats
Fixes #473
2016-04-12 13:02:46 +02:00
Simone Mainardi
9855a381e8 Rearranges http statistics in host_get_json.lua 2016-04-12 10:25:32 +02:00
Simone Mainardi
bb52aa747c Prevents dump buttons from being shown for non-packets interfaces or when nBox integration is enabled
Traffic dump buttons are not shown for non-packet interfaces
as well as when the nbox integration is enabled.
2016-04-11 14:34:21 +02:00
Luca Deri
8b150132d2 Added interface TCP stats 2016-04-11 00:02:37 +02:00
Simone Mainardi
60910a782e Extends password support to ISO 8895-1 (latin 1) 2016-04-10 16:45:35 +02:00
Luca Deri
f88ea31239 Reworked HTTP stats (more work to be done) 2016-04-10 12:34:09 +02:00