Commit graph

911 commits

Author SHA1 Message Date
Simone Mainardi
6b00fe18b3 Refactors function historicalProtoHostHref 2016-06-15 16:02:57 +02:00
Simone Mainardi
96e964b14e Adds IN_ and OUT_BYTES to historical flows tables 2016-06-15 15:57:37 +02:00
Luca Deri
d6bc2ce91a Implemented ICMP handling
Optimized flow memory
2016-06-15 15:33:00 +02:00
Luca Deri
46e0fef38b Implemented alert generation for suspicious probing attempts
Refactored code for historical traffic analysis
Added various HTML anchors to quick jump to historical reports if -F is used (Pro version only)
2016-06-15 11:37:52 +02:00
Luca Deri
a26dbe0a6a Fixed bug in interface switch 2016-06-14 16:46:39 +02:00
Luca Deri
ceca189c8e Implemented per interface TCP stats 2016-06-14 14:31:58 +02:00
Simone Mainardi
5d8fbaef9a Prevents nil-string comparisons
Addresses #609
2016-06-10 12:57:55 +02:00
Simone Mainardi
0d9ee594c6 Hides historical talkers and protocols for networks
No queries that search for range of hosts in MySQL are
currently available. For this reason, historical tabs are hidden
from the view and will be re-enabled in the future.
2016-06-09 17:13:16 +02:00
Luca Deri
63879f9635 Added new alert to track idle hosts 2016-06-08 16:44:49 +02:00
Simone Mainardi
58bc707cd1 Minor fix for interface alerts 2016-06-06 21:45:25 +02:00
Simone Mainardi
95a4618c17 Fixes alert scan that was causing possible issues in periodic scripts
Method scanAlerts was called inside a loop over the interfaces in minute.lua.
Since scanAlerts was looping over the interfaces as well, this was causing
interfaces to be deselected from the outer loop.

This commit fixes the issues by forcing scanAlerts to receive an input interface.

Fixes #582
2016-06-04 18:22:13 +02:00
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
valentina
b818b053e7 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-05-31 22:17:17 +02:00
valentina
bb05649525 Changes for rtp flows (second part) 2016-05-31 22:16:58 +02:00
Simone Mainardi
616ca6b3d1 Implements preferences refresh facilities
Preferences set automatically trigger an update of
the class Preferences() members to make sure they are up
to date.

Additionally, the housekeeping frequency has been made customizable.
2016-05-31 19:09:07 +02:00
Luca Deri
d35b1b6348 Fixed missing smile 2016-05-31 12:43:53 +02:00
Simone Mainardi
e808cbb78b Hides Ipv4/Ipv6 download buttons when no flows were detected 2016-05-31 10:59:37 +02:00
valentina
9385516d94 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-05-31 00:09:22 +02:00
valentina
615145b05d Changes for rtp flows (first part) 2016-05-31 00:08:20 +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
Simone Mainardi
7b210f527e Fixes a minor issue when parsing integer strings 2016-05-24 18:32:39 +02:00
Simone Mainardi
f100d21083 Fixes historical flow interface for more than 1000 flows 2016-05-24 18:22:03 +02:00
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
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
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
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
Simone Mainardi
92f2a33c75 Prevents attempts to perform op. on a nil values (Fixes #525) 2016-04-22 10:20:15 +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
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
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
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
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
Luca Deri
8b150132d2 Added interface TCP stats 2016-04-11 00:02:37 +02:00
Simone Mainardi
53fdd4f36b Specifies Interface in the top talkers minute stats table 2016-04-08 17:30:30 +02:00