Commit graph

705 commits

Author SHA1 Message Date
Simone Mainardi
0be022e37e Adds host pool id and user lifetime to lua getUsers 2017-01-19 15:39:36 +01:00
Simone Mainardi
6667a3a22c Implements captive portal users lifetime 2017-01-19 15:25:01 +01:00
Luca Deri
d7394d8f68 Simulated _GET even when _POST is used
Fixed parameter reload issue on preferences
2017-01-19 13:28:37 +01:00
emanuele-f
6c7871596e Host pools UI improvements 2017-01-19 11:30:58 +01:00
Luca Deri
ddf6601f9a Enable/disable captive portal from preferences
Fixed HTTP bug that prevented ntopng to work on standard ports (80, 443)
Fixed minor UI glitches
2017-01-18 22:25:22 +01:00
emanuele-f
716e01cbbe Make shapers use hosts pools 2017-01-18 20:06:23 +01:00
emanuele-f
d73cae36ad Fix validation issues 2017-01-18 11:56:30 +01:00
Simone Mainardi
2385542b89 Displays host pool names in captive portal users 2017-01-18 11:04:25 +01:00
emanuele-f
a384d82682 Add leftover files 2017-01-18 10:34:52 +01:00
Tony
8aa5fa34ab fixed small typo (#935)
there was a typo on the alerts configuration page
for slack notification.  Listed as "Notification Wekhook"
instead of "Notification Webhook"
2017-01-18 09:34:15 +01:00
Simone Mainardi
4e2c7b8e8b Implements captive portal users 2017-01-17 19:57:48 +01:00
Simone Mainardi
e8cffe9227 Implements periodic alerts rotation
Oldest alerts are periodically overwritten by newest ones
when a certain (user-configurable) threshold has been exceeded.
Rotation is performed periodically in a housekeeping.lua
2017-01-17 15:15:23 +01:00
Luca Deri
40c64ff541 Modified label for protocol stats 2017-01-17 13:30:47 +01:00
Simone Mainardi
d8804a99a8 Reworks top sites preference 2017-01-17 12:35:22 +01:00
emanuele-f
498923b5b6 Create a preference to enable top sites.
Calculating top sites in redis can be disk-intensive task for big networks.
This is now disabled by default and can be manually enabled from preferences page.
2017-01-17 12:35:22 +01:00
emanuele-f
397d525d85 Use POST requests when required 2017-01-14 20:31:01 +01:00
Luca
1b2ceac8f5 Added fixes to avoid users to be manipulated with invalid CSRF token 2017-01-12 10:10:20 -08:00
emanuele-f
c40075486f Refresh blacklist rules when blacklist alert preference changes 2017-01-12 15:17:52 +01:00
Luca
0f9db75fe0 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-01-10 15:03:32 -08:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
emanuele-f
0b4b811baa Inputs size changes 2017-01-10 16:42:29 +01:00
Luca
f14f9c6d4e Reworked expert mode preference button 2017-01-09 18:01:04 -08:00
emanuele-f
22f8e02c37 Key string description updated 2017-01-09 13:12:00 +01:00
emanuele-f
5ba00411a8 Remove Google API key format check since currently there is not a standard accepted format 2017-01-09 12:50:23 +01:00
Simone Mainardi
bdddc4ec81 Minor fix for preference set 2017-01-05 15:55:46 +01:00
Simone Mainardi
d3f0945449 Adds input format description for maps api key 2017-01-04 12:24:25 +01:00
emanuele-f
b881cb6141 Remove input-group to make inputs rounded and restore save button 2017-01-03 11:38:52 +01:00
Simone Mainardi
e8f7a7ee3d Reworks advanced prefs toggle 2017-01-02 13:33:00 +01:00
emanuele-f
bd11ca7937 Split preferences into simple and advanced 2017-01-02 13:33:00 +01:00
emanuele-f
af9fc2fa10 Disable spellcheck on some fields 2017-01-02 13:33:00 +01:00
emanuele-f
75b5fd068e Validate some fields and set some fields widths 2017-01-02 13:33:00 +01:00
Simone Mainardi
3741176327 Improves the layout of prefs buttons 2016-12-30 21:27:12 +01:00
emanuele-f
195130be93 Implement and use resolution buttons 2016-12-30 20:49:05 +01: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
Simone Mainardi
eca2c41049 Reworks alert counters (WIP)
Alert counters are now kept in sync only for engaged alerts.
Each host will show the current number of engaged alerts.
This alleviates the complexity of constantly keep the numbers
synchronized with the database.

Todo: see how to handle counters for flow alerts and past alerts.
2016-12-24 16:21:50 +01:00
Luca Deri
d12b9892d8 Set alert preferences to more strict defaults
Fixed invalid URL generated in alerts, in case of blacklisted hosts
2016-12-20 09:04:44 +01:00
Luca Deri
da2b1ab1aa Chnages for #860 (work in progress) 2016-12-19 13:19:04 +01:00
Simone Mainardi
2b5da87dff Implements caching of probing alerts preferences 2016-12-14 19:39:28 +01:00
Luca Deri
6db2d2026e Enabled blacklist host detection (via EmerginThreats) 2016-12-12 19:40:42 +01:00
emanuele-f
c0f25ea732 Fix prefs buttons being disabled 2016-12-12 17:28:46 +01:00
Simone Mainardi
758db35671 Implements MySQL open_files_limit check
ntopng checks MySQL for the value of open_files_limit and engages
and alert if the worst case number of open files is greater
than or equal to the 80% of open_files_limit
2016-12-09 17:14:25 +01:00
Simone Mainardi
a6d914d7ad Implements flow alerts cap and fixes several issues with counters 2016-12-07 18:45:50 +01:00
Luca Deri
71a0993022 Minor cosmetic changes
Reworked CSRF error message
2016-12-04 11:00:23 +01:00
SauroPollastrini
44be5a2beb Merge branch 'dev' of https://github.com/SauroPollastrini/ntopng into dev 2016-12-02 13:43:59 +01:00
SauroPollastrini
fa96ebe5e5 Slack related fields in preferences appear/disapper on switch 2016-12-02 13:14:00 +01:00
Luca Deri
73d0fc0186 Merge pull request #841 from SauroPollastrini/dev
Choice of which alerts has to be notified to Slack based on gravity. Slack related fields on preferences disapperar if Slack notifications are OFF
2016-12-01 23:43:35 +01:00
SauroPollastrini
3754591857 used the word Severity instead of the word Gravity 2016-12-01 21:54:12 +01:00
Emanuele Faranda
eda7bd42b1 Traffic policing page i18n, are-you-sure integration and styling (#837)
* Traffic policing page internationalization, are-you-sure integration, styling

* are-you-sure utility functions

* move to shaping section
2016-11-30 15:03:29 +01:00
SauroPollastrini
2bc1d0dab7 Added multiple-choice buttons for slack notification preferences based on gravity. Slack related preferences fields disapper when Slack notification is OFF 2016-11-29 14:32:16 +01:00
Luca
80c1a0a4dd Implemented initial slack.com integration for delivering alerts 2016-11-22 17:40:00 +01:00