Commit graph

985 commits

Author SHA1 Message Date
emanuele-f
34db4a1486 Move LDAP and SNMP configuration to separate tab 2017-03-03 09:51:24 +01:00
emanuele-f
938ea8a9d2 Fixes #1009 2017-03-02 10:23:48 +01:00
emanuele-f
d47674757e Add preference to enable SNMP interfaces dump 2017-02-28 10:18:17 +01:00
emanuele-f
b22a3e8231 Remove unnecessary include 2017-02-10 19:30:44 +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
Simone Mainardi
044c822a76 Minor cosmetic changes 2017-02-01 19:44:25 +01:00
emanuele-f
bd6106e19c Fixs for manage users lifetime 2017-02-01 12:19:18 +01:00
emanuele-f
62899d4385 Add button to empty an host pool 2017-02-01 11:18:59 +01:00
emanuele-f
118da00425 Move Host Pools to interface page 2017-01-31 20:16:10 +01:00
emanuele-f
195eaa6e5f Add GUI support for volatile members 2017-01-31 20:16:10 +01:00
emanuele-f
fee9b94d8e Add link to Traffic Policing page 2017-01-31 20:16:10 +01:00
emanuele-f
688835fcf7 Show member filter remove button 2017-01-31 20:16:10 +01:00
emanuele-f
c1b6e53ce4 Add search host pool member field 2017-01-31 20:16:10 +01:00
emanuele-f
32ab9e8769 Delete RRDs when an host pool is deleted 2017-01-31 20:16:10 +01:00
Simone Mainardi
bf8286878f Implements CP volatile host lifetime changes 2017-01-31 18:31:08 +01:00
Simone Mainardi
53724ce33a Adds host pool column to CP users table 2017-01-30 23:02:31 +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
emanuele-f
5f7762ade5 Implement Redis Host Pools counters dump 2017-01-26 12:19:12 +01:00
Simone Mainardi
696c906df2 Implements lifetime in seconds 2017-01-25 23:31:58 +01:00
Luca Deri
7e384d3c18 Added the ability to activate the web HTTP port on two ports. Example -w 80,3000
Changes in the captive portal logic that made it compatible with Android
Updated bridging readme to include the latest changes
2017-01-25 22:44:34 +01:00
Luca Deri
0eaccfe00b Added the ability to specify in preferences -> logging the path file
for logging HTTP accesses
2017-01-24 17:16:02 +01:00
emanuele-f
68b3f5710f Perform top HTTP talkers calculation in memory 2017-01-23 17:35:44 +01:00
Simone Mainardi
ba1c1df41b Implements configurable active local hosts cache dump interval 2017-01-23 12:21:50 +01:00
emanuele-f
78151791c1 Add preference to manually specify th Active Local Host Cache Timeout in minutes 2017-01-23 12:05:37 +01:00
Simone Mainardi
f304f9229f Implements captive portal users auto expiration 2017-01-20 20:20:09 +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
04c72b2038 UI improvements and fixes
- Show confirmation alert when trying to delete some item
- Disable VLAN field for mac addresses in Host Pools and handle accordingly
- Remove Host Pool id column
- Remove Full Name user field minimum length restriction
- Other fixes
2017-01-19 18:33:25 +01:00
Luca Deri
1c2d811f9b Removed debug message 2017-01-19 17:24:16 +01:00
Simone Mainardi
f6b4c1f775 Adds is_captive_portal flag to prefs 2017-01-19 15:57:37 +01:00
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