Commit graph

114 commits

Author SHA1 Message Date
Simone Mainardi
13613fc2da Implements Flow Devices statistics collection and storage
Flows sent via nProbe (proxy mode) carry information on the exporter
address (EXPORTER_IPV4_ADDRESS) and on the exporter interfaces
(INPUT_SNMP and OUTPUT_SNMP). This implementation attempts at saving
this information to allow comparisons with raw SNMP data.
2017-03-27 23:58:50 +02:00
emanuele-f
b8c4145fcd Implement bytes and ndpi stats for ASN 2017-03-24 17:48:52 +01:00
Simone Mainardi
c775d79b4e Unbinds SNMP Devices from Interfaces
Implements #1074
Implements #1065
2017-03-20 16:46:00 +01:00
emanuele-f
30d0e0b4ad Move RRD touch logic to separate function 2017-03-14 19:48:43 +01:00
Josh Soref
f0d5cd0ced spelling: it's 2017-03-07 05:10:55 +00:00
emanuele-f
d47674757e Add preference to enable SNMP interfaces dump 2017-02-28 10:18:17 +01:00
emanuele-f
7c32f4d92f Parameters fixes 2017-02-08 17:09:51 +01:00
Emanuele Faranda
afdfac1c9c Lua scripts parameters validation (#970)
* partial work

* Migrate 'mode' parameters

* Migrate alerts types

* Fix some interface ids

* Partial work

* Partial work

* End of work for _GET parameters

* Work in progress

* Add support for special parameters

* Preferences validation

* Fixes and improvements

* Enforce interger validation
2017-02-08 12:25:35 +01:00
Simone Mainardi
3c659184d3 Security fix (properly escapes href) 2017-02-02 10:29:35 +01:00
emanuele-f
5c305ba6a1 Add GUI side support for host pools stats 2017-01-26 11:53:24 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Simone Mainardi
658f272cd5 Optimizes rrd updates 2017-01-05 23:19:39 +01:00
Simone Mainardi
b5863ec320 Prevents page refreshes while browsing historical flows 2016-12-30 17:13:40 +01:00
Luca
2ba6b7e1bb Implemented redis caching to reduce cache pressure (work in progress)
Rearranged menus
2016-12-30 10:54:59 +01:00
emanuele-f
0dc20931ff Use totalval to decide which elements to esclude 2016-12-28 13:13:07 +01:00
emanuele-f
1953552457 Implement profiles graph 2016-12-28 13:13:07 +01:00
Simone Mainardi
ff7c61bb9d Fixes an issue when dumping flows already partially dumped
The final dump for flows partially dumped could be, under certain
conditions, skipped. This commit addresses the issue.

Fixes #846
2016-12-21 19:44:47 +01:00
Emanuele Faranda
ff36e89f32 Fix for #852 (#854)
* Fix for #852

* Align in interval
2016-12-12 18:19:03 +01:00
emanuele-f
36df7511c4 Fix charts intervals 2016-12-06 19:10:55 +01:00
emanuele-f
b4b1e7109a Do not open RRD files for unselected menu entries 2016-11-28 13:25:42 +01:00
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