Feature #1069

Support secure noVNC over wss in Sunstone

Added by Hector Sanjuan over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:01/19/2012
Priority:NormalDue date:
Assignee:Hector Sanjuan% Done:

100%

Category:Sunstone
Target version:Release 3.4 - S0
Resolution:fixed Pull request:

Description

Very useful if using suntone behind a reverseproxy with https. Should require server support (launch proxy with encryption enabled) and client side support (enable wss on noVNC initialization).


Related issues

Precedes Feature #1076: Support VNC in SelfService Closed 01/22/2012

Associated revisions

Revision 00cf42e6
Added by Hector Sanjuan over 9 years ago

Feature #1069: Support secure-websocket-based VNC session in Sunstone.

This commit adds support for using wss capabilities of websockify:
  • Add configuration option to Sunstone and saving/restore in user template support
  • Add new options to sunstone server configuration file
  • VNC session is started according to user setting
  • The code related to VNC proxy launch has been outsourced to OpenNebulaVNC.rb, so it can be mantained more easily and reused by, for example, SelfService.
  • Install novnc script has been corrected to point to "websockify" full path.

Note: this commit changes vnc-related sunstone-server.conf keys and breaks vnc support in former versions of the configuration file. Update if necessary.

Revision 6bb9cb74
Added by Hector Sanjuan over 9 years ago

Feature #1069: Improvements for wss support and configuration in Sunstone.

Allow non quoted yes | no values in configuration. Set wss configuration choice for the session so it stays if page reloaded

Revision 589e1914
Added by Hector Sanjuan over 9 years ago

Feature #1069: Support secure-websocket-based VNC session in Sunstone.

This commit adds support for using wss capabilities of websockify:
  • Add configuration option to Sunstone and saving/restore in user template support
  • Add new options to sunstone server configuration file
  • VNC session is started according to user setting
  • The code related to VNC proxy launch has been outsourced to OpenNebulaVNC.rb, so it can be mantained more easily and reused by, for example, SelfService.
  • Install novnc script has been corrected to point to "websockify" full path.

Note: this commit changes vnc-related sunstone-server.conf keys and breaks vnc support in former versions of the configuration file. Update if necessary.
(cherry picked from commit 00cf42e6b685a5ab26ca02d0eb142c311f56f6ee)

Revision cea817e9
Added by Hector Sanjuan over 9 years ago

Feature #1069: Improvements for wss support and configuration in Sunstone.

Allow non quoted yes | no values in configuration. Set wss configuration choice for the session so it stays if page reloaded
(cherry picked from commit 6bb9cb74a22c0efbc7d51a949bea2d51c52a8dee)

Revision 9f66d8b2
Added by Ruben S. Montero over 9 years ago

feature #1069: Minor changes in OpenNebulaVNC class. Return user configuration in JSON

Revision 7bad159c
Added by Hector Sanjuan over 9 years ago

Feature #1069: Update config plugin to accept full configuration object.

Whitespace cleanup and minor fixes in .rb files.
(cherry picked from commit da1e4a822937eaa3e5a2ef4c2126a5bbde15952b)

Revision 0652b11c
Added by Hector Sanjuan over 9 years ago

Feature #1069: Fix typo in OpenNebulaVNC
(cherry picked from commit 29ac3aa88568925b49209b55b79d4e59e587d642)

History

#1 Updated by Hector Sanjuan over 9 years ago

  • Status changed from New to Assigned
  • % Done changed from 0 to 100
  • Resolution set to fixed

#2 Updated by Ruben S. Montero over 9 years ago

  • Target version set to Release 3.4 - S0

#3 Updated by Hector Sanjuan over 9 years ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF