Commit graph

1047 commits

Author SHA1 Message Date
emanuele-f
af90324c96 Add lua_utils include 2017-02-02 22:11:40 +01:00
emanuele-f
05d4956fbd Adds missing quotes to href attributes 2017-02-02 15:52:09 +01:00
emanuele-f
dd9836d9cc Add flashstart categories selection in traffic policing 2017-02-02 12:09:29 +01:00
Simone Mainardi
3c659184d3 Security fix (properly escapes href) 2017-02-02 10:29:35 +01:00
Luca Deri
77a17361a5 Initil work towards strong HTTP parameter validation 2017-02-01 23:44:20 +01:00
Simone Mainardi
044c822a76 Minor cosmetic changes 2017-02-01 19:44:25 +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
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
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
6b1d5a00e0 Add Pool link in host page 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
emanuele-f
66749cc891 Fix pool undeletable bug when using a different interface 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
emanuele-f
6837f42ce2 Add lifetime change in manage user 2017-01-31 18:00:41 +01:00
Simone Mainardi
87212ac1c1 Security fix (uri params cleanup for POST requests) 2017-01-31 17:16:33 +01:00
Emanuele Faranda
4ff3b2dba0 Add application filter dropdown to the host page flows (#957) 2017-01-31 17:09:25 +01:00
emanuele-f
233ea9cc2b Fix bad flows number when application filter is active 2017-01-31 15:07:06 +01:00
Simone Mainardi
af73b36fcc Fixes hosts retrieval in web UI
Fixes #956
2017-01-31 12:51:29 +01:00
emanuele-f
618529c92d Add javascript function to set resolution buttons value at runtime 2017-01-31 10:20:45 +01:00
Simone Mainardi
53724ce33a Adds host pool column to CP users table 2017-01-30 23:02:31 +01:00
Simone Mainardi
429b5532ae Security fixes (escapes and double-decode)
Prevents single (') and double (") quotes to be input as they may be used to inject arbitrary payload in requests.

Prevents double-decodes of url-encoded http contents as they can be exploited to inject non-allowed characters
in multiple steps (e.g., %2522 after the first decode becomes %22 and after the second decode becomes ").
2017-01-30 16:12:58 +01:00
emanuele-f
58b6ba8976 Fix normal user add error 2017-01-30 15:41:33 +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
c45849d73e Allows sort L7 Devices by mac address 2017-01-26 15:36:05 +01:00
Simone Mainardi
72d4630114 Makes host pools visible in the community version 2017-01-26 14:54:12 +01:00
Simone Mainardi
e5a57d93ad Fixes for host pools historical stats 2017-01-26 14:41:14 +01:00
emanuele-f
17c5a4af57 Delete redis dump when pool is deleted 2017-01-26 12:19:12 +01:00
emanuele-f
5f7762ade5 Implement Redis Host Pools counters dump 2017-01-26 12:19:12 +01:00
emanuele-f
746d481602 Remove unused parameter causing hosts number mismatch 2017-01-26 11:53:24 +01:00
emanuele-f
5c305ba6a1 Add GUI side support for host pools stats 2017-01-26 11:53:24 +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
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