Commit graph

1010 commits

Author SHA1 Message Date
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
Simone Mainardi
696c906df2 Implements lifetime in seconds 2017-01-25 23:31:58 +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
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
e2411a5445 Reworked captive portal code 2017-01-25 00:28:14 +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
Simone Mainardi
3322cfe576 Prevents housekeeping alerts extra redis reads 2017-01-24 10:46:57 +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
Luca Deri
6205d88f56 Added support in captive portal for iOS and Kindle devices
Created minimal header for speeding up load of login pages
2017-01-23 01:29:34 +01:00
Luca Deri
90ba154306 Captive portal enhancements 2017-01-22 11:01:57 +01:00
Simone Mainardi
f304f9229f Implements captive portal users auto expiration 2017-01-20 20:20:09 +01:00
emanuele-f
92b40eb2d0 Fix interface switch not working properly 2017-01-20 18:39:37 +01:00
Simone Mainardi
b9c063ac8a Reworks edit users page layout 2017-01-20 13:45:42 +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
Simone Mainardi
1bd0d01658 Improves auth lifetime check 2017-01-20 13:15:22 +01:00
Simone Mainardi
2aa6430949 Reworks add users page layout 2017-01-20 12:42:15 +01:00
Luca Deri
e423d8c94c Displayed host pool in host detail page
Fixed bug in redis that was not properly reporting the return code on some commands (e.g SADD)
Changes for captive portal implementation
2017-01-20 00:43:44 +01:00
Luca Deri
82850dcbb4 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-01-19 19:14:54 +01:00
Luca Deri
c6e21b7f6e Improvements on AddressTree
Initial support of captive portal on HTTP server
2017-01-19 19:14:20 +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
emanuele-f
06e3d1fd83 Add helper function getPoolsList 2017-01-19 15:42:19 +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
emanuele-f
5f3093d067 Implement host pools page 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
Luca Deri
d9af0c8025 Added the ability to display the number of flows per host in the host list
DHCP/Mac address optimizations
2017-01-17 18:24:10 +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
Simone Mainardi
8033cb0f28 Fix for reset counters buttons 2017-01-14 22:18:51 +01:00
emanuele-f
34df0ec2c4 Fix page parameters 2017-01-14 21:05:22 +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
1b2ceac8f5 Added fixes to avoid users to be manipulated with invalid CSRF token 2017-01-12 10:10:20 -08:00