Commit graph

200 commits

Author SHA1 Message Date
emanuele-f
d6469510ee Add startup alert engine and use it for MYSQL open files limit check 2017-04-26 18:12:40 +02:00
emanuele-f
1545dcb73e Host Flows alert becomes a threshold alert 2017-04-26 15:50:54 +02:00
Simone Mainardi
7b13e2e6a1 Adds an engine id to the engaged alerts 2017-04-24 12:22:47 +02:00
emanuele-f
04e01c24b0 Re-enable alerts generation. Use structured format functions. 2017-04-22 18:58:32 +02:00
emanuele-f
a51a57283d flows_stats localization 2017-04-20 00:18:32 +02:00
emanuele-f
a10d6c4f7d Fix login issue with special characters.
The special characters were URL encoded during HTTP request and saved in URL encoded form.
The login used the unencoded password instead, and this resulted in a password hash mismatch which prevented user login.

Now the password hash is calculated on the unencoded password.
2017-04-14 18:20:36 +02:00
Emanuele Faranda
1fbbe86e39 Prevent assigning a network to the multiple Host Pools (#1150)
* Prevent assigning a network to the multiple Host Pools

* Simplify host pool search interface

* Fix for MAC addresses bugs and add user notifications

* Fix issues caused by the use of non normalized network keys

* Changes a warning message
2017-04-14 12:17:16 +02:00
emanuele-f
eb7fae8c4c Visualize flow quota status information 2017-04-10 11:07:07 +02:00
Luca Deri
fc53648a2b Implemented data anonymization #1068 2017-04-09 11:37:24 +02:00
Simone Mainardi
4d891dddbb Traffic labels standardization
fixes #1132
2017-04-07 17:36:27 +02:00
Simone Mainardi
310433275b Fixes traffic rates/volumes labels 2017-04-05 23:10:32 +02:00
Simone Mainardi
6060e561db Stantardizes data rates to the SI
https://en.wikipedia.org/wiki/Data_rate_units
2017-04-05 15:59:15 +02:00
emanuele-f
d56b05136e Hide MySQL and traffic bridge preferences when not applicable 2017-04-04 14:04:46 +02:00
emanuele-f
40828f2b66 Improve alert edges description and fix configuration fields width 2017-04-04 11:52:28 +02:00
Emanuele Faranda
e5e4949901 Localize preferences and implement preference search box (#1119) 2017-04-04 09:59:36 +02:00
emanuele-f
42904dd034 Implement HostPool time and bytes quota limit in inline mode 2017-03-29 19:42:31 +02:00
emanuele-f
a0a767abbc Add host activity duration alert 2017-03-27 18:46:58 +02:00
Bogdan Perian
90743b953a Logstash flow export extension 2017-03-25 21:09:07 +02:00
emanuele-f
cd40d43db7 Search host by custom name 2017-03-23 17:02:22 +01:00
Luca Deri
ddda50dfee An alert is now generated when SSL certificates don't match 2017-03-21 01:20:36 +01:00
emanuele-f
17e63065fd Rework alert preferences and add timeout preferences validation checks 2017-03-20 23:20:15 +01:00
emanuele-f
20930f49c5 Add IP version selector to the looking glass page 2017-03-13 15:43:23 +01:00
emanuele-f
3c1993ed9a Add SNMP to NetworkInterface binding configuration 2017-03-10 18:47:51 +01:00
Josh Soref
78e78c018c Fixes spellings and typos
Thank goes to
Josh Soref <jsoref@users.noreply.github.com>
2017-03-06 17:54:48 +01:00
Luca Deri
50aea3f40e Updated rrd_exists() for checking existance of SNMP rrd archives 2017-03-04 08:53:28 +01:00
Luca Deri
854f6ef64b Extended list of automatic MAC -> icon mapping 2017-02-25 09:49:22 +01:00
Luca Deri
9e121cfbb5 Removed VLAN tag in hosts and flows tables when the table contains a VLAN id (redundant info) 2017-02-25 08:46:55 +01:00
emanuele-f
e88eda6168 Select host pool in host_details page 2017-02-13 10:13:00 +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
emanuele-f
05d4956fbd Adds missing quotes to href attributes 2017-02-02 15:52:09 +01:00
Luca Deri
77a17361a5 Initil work towards strong HTTP parameter validation 2017-02-01 23:44:20 +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
emanuele-f
2f9a5f6c0c Fall back to MAC icon and alias when they are not provided for the IP 2017-02-01 16:15:12 +01:00
emanuele-f
bd6106e19c Fixs for manage users lifetime 2017-02-01 12:19:18 +01:00
emanuele-f
6837f42ce2 Add lifetime change in manage user 2017-01-31 18:00:41 +01:00
emanuele-f
618529c92d Add javascript function to set resolution buttons value at runtime 2017-01-31 10:20:45 +01:00
Emanuele Faranda
2a843966da Add alias and device type columns to host pools (#953)
* Add alias and device type columns to host pools

* Add host pool members links when available

* Add host pool links

* Implement host pool members pagination

* Host Pools GUI fixes and improvements

* Remove hardcoded columns number

* Host Pools GUI fixes

* Remove debug print
2017-01-27 17:48:58 +01:00
Simone Mainardi
8ea7b5dbe4 Fixes for the optimized getTopFlowPeers 2017-01-26 11:33:36 +01:00
emanuele-f
1598598c47 Replace getFlowPeers function with getFlows and limit results to reduce memory footprint. 2017-01-26 11:33:36 +01:00
emanuele-f
096db1085d Hide alerts link where alerts are disabled 2017-01-26 11:04:44 +01:00
emanuele-f
cd3c2b68c2 Handle expire resolution js code 2017-01-25 23:31:14 +01:00
Simone Mainardi
844a34df92 Adds lifetime selection button to CP users 2017-01-25 23:31:14 +01:00
emanuele-f
0db8abd83e Host Pools UI changes
- Do now show the "Not Assigned" group in user pool dropdown
- Show an alert message when creating a Captive Portal user and no pools are defined
- Improve unique member validator to account missing network prefixes
- Prevent deleting an Host Group when a captive portal user is defined on it
2017-01-20 13:28:24 +01:00
emanuele-f
397d525d85 Use POST requests when required 2017-01-14 20:31:01 +01:00
Antonio Spada
abf27a1779 Added shapers improve and category shapers. 2017-01-14 17:04:39 +01:00
Luca
ada218c00e Fixed possible undefined interface name
If CSRF has been validated, valid_csrf is now put on _GET
2017-01-12 06:55:22 -08:00
emanuele-f
2141004cc6 Fix filters being lost after selecting local/remote hosts filter 2017-01-12 10:13:24 +01:00
emanuele-f
0e7bdf503e Fix after rebase 2017-01-11 20:40:29 +01:00
emanuele-f
e48152bcf6 Make format data use keys instead of indexes 2017-01-11 20:39:57 +01:00
emanuele-f
2c40fe3763 Make shapers rate visualization uniform 2017-01-11 20:39:57 +01:00