Commit graph

94 commits

Author SHA1 Message Date
Luca Deri
43a375dae2 RRD last now returns the DS count that is used to refresh the RRD before usage 2016-11-14 13:06:29 +01:00
emanuele-f
1f83f25167 Scrollable dropdown for timeseries 2016-11-12 00:55:50 +01:00
emanuele-f
1e7ed7d938 Fix stacked top talkers bug 2016-11-11 18:12:24 +01:00
Luca
7d4859ae26 Added code to force RRD update when an RRD has not been updated for a long time 2016-11-11 16:26:22 +01:00
emanuele-f
fd2fa81dda Add ZMQ flows/sec graph 2016-11-11 11:36:12 +01:00
emanuele-f
cf89cd07d1 Stacked top hosts, first implementation 2016-11-09 18:22:51 +01:00
Simone Mainardi
8f87f11b26 Improves the responsiveness and interactivity of historical exploration
Uses ajax to handle (possibly) long queries on historical data
with the aim of improving user experience.
The user is notified when a query is taking too long so that
he/she can get feedback of what is going on.
2016-10-31 15:56:11 +01:00
Luca Deri
64dcb0d8fe Added rrd for devices 2016-10-08 20:59:31 +02:00
emanuele-f
a883c83170 Fix user activity RRA sizes, make RRA preferences configurable and disable activity log by default 2016-09-16 22:06:27 +02:00
Simone Mainardi
22e863feda Adds graph autorefresh every minute 2016-09-13 12:37:00 +02:00
Luca Deri
d87d3e0e5b Fixed bug that caused RRDs to be much larger than required.
Host activity fixes
2016-09-10 17:32:02 +02:00
Simone Mainardi
58f1a902ea Disables UI tabs while loading results
This is in order to prevent an impatient user from clicking on
multiple tabs without waiting for the competion of his/her actions
2016-08-25 16:16:24 +02:00
emanuele-f
81b83d96dc Dump user activity rrd to text 2016-08-16 04:37:51 +02:00
emanuele-f
d21681592a Update counters each minute and other changes 2016-08-16 01:39:41 +02:00
Luca Deri
d85555296f Minor code cleanup 2016-08-15 11:52:07 +02:00
Simone Mainardi
781b3d4988 Improves y-axis labels in community historical graphs
fixes #682
2016-08-11 11:42:22 +02:00
Luca Deri
a3d36634e3 Code cleanup 2016-08-10 15:53:39 +02:00
Luca Deri
cc78c4f37e Various script fixes 2016-08-10 15:06:17 +02:00
Luca
bcadcf033f Removed view interface (work in progress will be reintroduced after cleanup) 2016-08-10 09:37:10 +02:00
Simone Mainardi
f3bff5d2aa Minor change
This change is propaedeutic to Professional commit:

commit 1e1d453a1e96cc4394a0b94a7efe0b5857b1b1eb
Author: Simone Mainardi <simonemainardi@gmail.com>
Date:   Mon Jul 18 20:04:53 2016 +0200

    Improves the usability of historical charts
2016-07-18 20:05:40 +02:00
Simone Mainardi
926a57f658 Executes db explorer queires automatically on user click
Clicking on flow details (e.g., protocol or src or dst)
automatically redirects the user to the db explorer page
and preserves selection details (pro version).
2016-07-12 17:02:14 +02:00
Luca Deri
c25a9a632d Fixed SNMP wrapping bug
Added ability to graph flow-devices port I/O
2016-07-12 15:51:26 +02:00
Simone Mainardi
f9c7c1f18b Adds IN_ and OUT_BYTES to IPv6 flows visualization 2016-06-16 15:39:56 +02:00
Simone Mainardi
96e964b14e Adds IN_ and OUT_BYTES to historical flows tables 2016-06-15 15:57:37 +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
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
Simone Mainardi
e808cbb78b Hides Ipv4/Ipv6 download buttons when no flows were detected 2016-05-31 10:59:37 +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
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
Simone Mainardi
18e8e57db5 Adds ports, l4 and l7 protocols to pcap and flows download 2016-04-04 19:57:22 +02:00
Simone Mainardi
97c45aef96 Handles netowrk interfaces with integer ids
To prevent possible issues with special characters like /,
interface have been handled in the web UI via integer ids
2016-03-10 17:45:27 +01:00
Simone Mainardi
c3f96646c5 Adds contextual 'download flows' and 'extract pcap' buttons
Download flows and extract pcap buttons are now available in
the Pro edition. These buttons are shown at the bottom of the
historical pages (e.g., flows, talkers, and protocols) and
make requests that keep into account filters specified by the user
2016-03-02 00:06:44 +01:00
Simone Mainardi
5ab74fda10 Adds Flows download buttons and paginations
Hisotrical flows can be downloaded via two buttons
available inthe IPv4 and IPv6 pages. They can also be
browsed with pagination.
2016-02-19 20:16:48 +01:00
Simone Mainardi
7b71701f22 Pads the historical chart with 1 empty line 2016-02-18 20:05:16 +01:00
Simone Mainardi
fc71a61cf4 Prevents the automatic reload of page when browsing historical data 2016-02-18 18:05:07 +01:00
Simone Mainardi
9cf2676754 Improves the precision of ranges for flow selection 2016-02-17 20:13:00 +01:00
Simone Mainardi
9d81e473b9 Adjusts the layout of the historical page
Tabs have been used to simplify page layout.
The main historical RRD chart is shown in the first, default tab.
Detailed flows data is reported in separate tabs when MySQL
flow export is enabled.
2016-02-16 15:49:00 +01:00
Luca Deri
fd21ffb718 Changed label 2016-02-09 10:33:09 +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
6cd8440550 Formats chart key for traffic categories 2016-01-05 16:24:51 +01:00
Simone Mainardi
32ea608070 Formats raw bytes in historical flows tables (#325)
Formats raw bytes using sizes such as
KB, MB, and so on.
2015-12-29 11:03:38 +01:00
Luca
3c8e133015 Added threasholds to breakdown bars for displaying alerts when crossed
Better depict of DNS query/replies that have now theresholds
2015-12-09 14:59:51 +08:00
Simone Mainardi
1ba346fc46 Visualises traffic profile information on historical tables
Traffic profile is queried from the database and possibly
shown as an extra field in the INFO column for historical data
2015-11-26 17:10:35 +01:00
Simone Mainardi
08ecb143d2 Fixes max/min/avg/tot value computation on some graphs 2015-11-10 16:54:43 +01:00
Simone Mainardi
edf813f7d9 Adds interface names to graph labels
RRD graphs for interface views are more clear when their layout is  stacked.
In this commit lua function singlerrd2json is made more general. An additional
input parameters allows the user to toggle interface names from labels.
By default, interface names are not shown.
2015-11-10 15:06:09 +01:00
Simone Mainardi
83574e1a9d Escapes possible spaces and special charaters from profile names to create RRDS 2015-11-09 20:14:34 +01:00
Simone Mainardi
c839e85d6e Stores Profiles RRDs on a minute basis 2015-11-09 19:17:17 +01:00