Commit graph

39 commits

Author SHA1 Message Date
Luca Deri
4f9be59513 Fixed invalid variable form name user -> username 2017-02-26 22:10:29 +01:00
Luca Deri
b37f141e2e Defined wildcarded hello host 2017-02-04 16:52:38 +00:00
Luca Deri
7866c90500 Optimizations on the captive portal 2017-02-03 17:26:44 +01:00
Simone Mainardi
9469e58f07 Security fixes (HTTP splitting attacks)
Prevents \r\n from being injected into HTTP URIs. An attacker
could exploit this injection to break an HTTP request in more parts.
2017-01-30 17:15:48 +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
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
Luca Deri
93705cedcd Kindle captive portal improvememts 2017-01-24 01:53:43 +01:00
Luca Deri
447bf431c5 Login improvements 2017-01-23 01:47:22 +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
Luca Deri
bfa78e73f2 Improvements for captive portal
Changed CSRF policy: when not valid, form parameter are ignored. This way the form is still valid (no CSRF errror anymore) but the action has no effect and the user has to resubmit the form after it expired
2017-01-21 01:08:18 +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
c6e21b7f6e Improvements on AddressTree
Initial support of captive portal on HTTP server
2017-01-19 19:14:20 +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
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca
2ba6b7e1bb Implemented redis caching to reduce cache pressure (work in progress)
Rearranged menus
2016-12-30 10:54:59 +01:00
Luca
3658258c0f Modified error message 2016-11-09 19:01:48 +01:00
Simone Mainardi
d5f1931c3a Verbose HTTP(S) server bind and dl errors 2016-08-01 13:17:27 +02:00
Luca Deri
94d5065603 Updates for the enterprise edition 2016-07-13 11:47:55 +02:00
Simone Mainardi
a51994cfec Implements asynchronous database schema updates
Database updates are now performed asynchronously.
The web server starts but notifies the user with a
'please wait' message until the updates are completed.
2016-07-04 19:37:44 +02:00
Luca Deri
480634565b Fixed authentication bug 2016-03-31 09:05:52 +02:00
Simone Mainardi
b6eb2bc36c Implements the ability to listen on custom ipv4 and ipv6 addresses and ports
ntopng can now be bound to any custom ipv4 or ipv6 address, and
not only the ANY_ADDR or loopback.

Implements #391
2016-03-23 00:59:38 +01:00
Simone Mainardi
77adcbef0e Adds option to disable session autologut via web preferences
Automatic logout can be toggled via web preferences. Precedence is
given to the startup parameter -p, i.e., if auto-logout has been
explicitly disabled via command line, no toggle button is shown.
Contrarily, if the auto-logout has not been explicitly disabled during startup, then
the user can toggle it via web preferences.

Implements #440
2016-03-14 20:25:44 +01:00
Luca Deri
77e292a9c0 Improved LDAP authentication 2016-02-14 18:39:46 +01:00
Luca Deri
d7c452f0a3 Moved to 2016 2016-01-01 09:27:39 +01:00
Luca
5e556396d1 Implemented dummy interface (-i dummy) to be used only for debugging purposes for testing low-memory conditions and internal routines.
Updated scripts that were still using old API calls
2015-12-28 23:16:54 +01:00
Luca
62c453d0ec Fix for #302 2015-12-07 11:19:43 +08:00
Luca Deri
c7de08f89c Fixed lua code where some shared variables created issues with some reports.
Minor c++ code fixes
2015-09-13 23:03:06 +02:00
Luca Deri
bc6e1fe85c Changes to mime types handling 2015-08-11 08:16:58 +02:00
Luca Deri
6418a2ccc9 Fixed warning under llvm
Fixed incompatibility between Chrome and the latest version of FontAwesome
2015-08-10 19:14:52 +02:00
Luca Deri
8cedf73bfa Updated FontAwesome
Fixed minor HTML errors
Added mime type for fonts in HTTP server
Shortened version id
2015-08-08 16:01:12 +02:00
Luca Deri
4c35559151 Various code optimizations and cleanup 2015-08-08 11:05:00 +02:00
lucaderi
874e9162f8 Added fix for invalid SSL certificate missing (wrong message)
Removed invalid core binding for mono-CPUs
Removed compilation warning
2015-08-07 14:44:45 +02:00
Luca
1930263cf5 Even if the SSL certificate il present, the SSL port is disabled unless -W is specified 2015-06-23 06:53:11 -07:00
Luca Deri
74fc9f8256 Windows fixes 2015-05-18 18:30:22 +02:00
Arianna Avanzini
de79b1a366 HTTPserver.cpp: fix error message
This commit adds to an error message a forgotten format string
component so that the output is complete.
2015-05-08 18:44:35 +02:00
Luca Deri
b178cf4121 Added travis file for code testing
Added .gitignore file for ignoring selected files
Reworked src and include paths to organize the source better
Fixed bug with invalid git version caused in some settings that do not compile code extracting it from github
2015-05-01 19:40:52 +02:00
Renamed from HTTPserver.cpp (Browse further)