Commit graph

384 commits

Author SHA1 Message Date
Simone Mainardi
8a5da8c028 Reduces FreeBSD build permissions 2017-02-12 20:20:35 +01:00
Simone Mainardi
d05e17460b FreeBSD compilation fixes 2017-02-04 18:05:44 +01:00
emanuele-f
63c19759da Fix high cpu usage in mac_stats page
The issue was caused by multiple reads of the EtherOUI.txt file in lua
2017-02-01 18:55:55 +01:00
Simone Mainardi
9139851cc9 Implements Mac sort by Manufacturer
Implements #930
2017-02-01 16:38:29 +01:00
Simone Mainardi
6809d9f240 Implements host pool statistics 2017-01-23 18:29:21 +01:00
emanuele-f
68b3f5710f Perform top HTTP talkers calculation in memory 2017-01-23 17:35:44 +01:00
Luca Deri
bfa78e73f2 Improvements for captive portal
Changed CSRF policy: when not valid, form parameter are ignored. This way the form is still valid (no CSRF errror anymore) but the action has no effect and the user has to resubmit the form after it expired
2017-01-21 01:08:18 +01:00
Simone Mainardi
df3a99decc Implement Host Pools 2017-01-17 11:34:57 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca
c44bfa8fdb Implemented #98
Ingress data can now be kept aggregated (default) or explored based on various criteria
- ZMQ interfaces: disaggregate based on probeIP or ingress interfaceId
- packet interfaces: disaggregate on VLANId
2016-12-27 11:03:52 +01:00
Luca Deri
9d4df13c1a Reworked AddressTree implementation 2016-12-20 19:16:34 +01:00
Simone Mainardi
eb0c10a8dd Adds periodic MySQL flush method 2016-12-16 18:53:59 +01:00
Simone Mainardi
5ded07f5a8 Adds code for batched mysql insertions 2016-12-15 22:53:23 +01:00
emanuele-f
cc1eed312b Remove AlertsPaginator from includes 2016-12-14 11:54:50 +01:00
Simone Mainardi
3a1c14cf9a Implements alert filtering features 2016-11-23 18:26:38 +01:00
Luca Deri
a98e42715b Reworked Host and Mac stats 2016-10-03 13:33:00 +02:00
Luca Deri
97b19c1461 Introduced the concept of Mac hosts (it used to be mixed with L3 hosts). More work is needed to add L2 stats
Host activities are now enabled (and memory allocated) only for local hosts. Fixed bug in activities preferences
Cleaned up various methods
Removed some old unused code
2016-10-02 19:43:13 +02:00
Luca
274921ee5c Reimplemented view: interface, and Paginator code.
Minor code cleanup
2016-08-18 13:44:24 +02:00
emanuele-f
d700880fe5 Save and restore activity counters from redis 2016-08-17 03:39:46 +02:00
Luca Deri
9db98b5fc7 Minor code cleanup 2016-08-14 14:16:49 +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
199b418037 Implements db-based new generation alerts with lua API (wip) 2016-08-05 19:11:34 +02:00
Luca Deri
194b3fdb88 Initial work towards supporting sFlow device/interface counters 2016-06-29 19:26:40 +02:00
Luca Deri
ceca189c8e Implemented per interface TCP stats 2016-06-14 14:31:58 +02:00
Simone Mainardi
5048f0d9af Implements class Paginator to better handle results
A new Paginator class has been implemented. The class
is generic in the sense that it accepts lua tables as input
in order to cofigure, for exampe, the number of results per page
and so on.
2016-06-09 00:23:25 +02:00
Simone Mainardi
1013df7db9 Code cleanup 2016-05-30 20:15:39 +02:00
valentina
8a367fac29 Added list of message instead of using redis in order to manage the dump of flow in ELK.
Added traces for flow drops.
2016-04-21 08:40:19 +02:00
Simone Mainardi
0b30eb14ba Implements host grouping facilities in C (WIP) 2016-04-19 19:51:53 +02:00
Luca Deri
f88ea31239 Reworked HTTP stats (more work to be done) 2016-04-10 12:34:09 +02:00
Luca Deri
263f3123e2 Improved ZMQ handling by adding encryption and compression support 2016-03-15 17:08:23 +01:00
valentina
a209625032 Added include for kafka management 2016-03-14 14:45:48 +01:00
Luca
ce178a1127 Initial work towards counter trends 2016-02-13 00:07:03 +01:00
Luca Deri
d2b1bd9736 Initial work on Divert interface 2016-02-06 15:45:45 +01:00
Luca Deri
b8c72acaed Initial work on LDAP login support 2016-01-26 23:47:05 +01:00
Luca Deri
804cac1193 Disabled experimental code 2016-01-26 01:05:32 +01:00
Simone Mainardi
5233449b3a Implements timeseries with derivatives
A templated TimeSeries Classes is implemented
with the feature of discrete derivatives.

Discrete derivatives can be optionally normalized using
angles between +90 and -90 degrees to obtain comparable numbers

todo:
- make timeseries circular so data is rotated lifo
2016-01-26 00:46:39 +01:00
cardigliano
1c53134710 new interface for collecting binary flows via ZC queue 2016-01-07 16:19:48 +01:00
Luca Deri
1b105de9c0 Added per-host traffic category stats
Check on startup when Flashstart is operational
2016-01-03 12:57:39 +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 Deri
d7c452f0a3 Moved to 2016 2016-01-01 09:27:39 +01:00
Simone Mainardi
5d53d78af2 Abstracts flow profiles to generic profiles
New abstract classes have been added with the
aim of creating both Flow and Host Profiles.
2015-12-29 23:07:39 +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
440a2c8329 Reworked flow listing by sorting flows in memory before they are pased to Lua. This prevents Lua from using too much memory (in particular with limited-memory hosts or large sites with many flows) 2015-12-26 12:34:45 +01:00
Luca
3e6fec8d84 Added support for http-based categorization (work in progress) 2015-12-18 08:32:15 +01:00
Luca
bd66cbcdcd Work in progress toward per-minute stats 2015-12-15 18:47:58 +01:00
Luca Deri
376b645f8f Reworked -k parameter to introduce support for flashstart service (work in progress) 2015-12-05 11:55:48 +01:00
Luca Deri
54d2a5175e Reimplemented support for netfilter packet sniffing in the pro version with support for dropping traffic 2015-11-26 13:21:43 +01:00
Luca
86b793d006 Harvested interface view code and replaced with simpler one 2015-11-07 10:47:29 +01:00
Luca
9bf2c0f83c Initial work towards network stats 2015-11-03 17:11:06 +01:00