Feature #2454

Add vnc_proxy_ipv6 option in sunstone.conf

Added by Daniel Molina over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:11/13/2013
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

100%

Category:Sunstone
Target version:Release 4.4
Resolution:fixed Pull request:

Description

Stefan Kooman said:

Currently there is no option to enable IPv6 for novnc-server
(websockify) although websockify supports this. I've made a little
(dirty) hack to enable IPv6 for websockify:

--- /root/OpenNebulaVNC.rb      2013-11-08 21:37:13.958535135 +0100
+++ /usr/lib/one/ruby/OpenNebulaVNC.rb  2013-11-09 22:08:12.951812886 +0100
@@ -70,7 +70,7 @@

         @pipe = nil
         @token_folder = File.join(VAR_LOCATION, opts[:token_folder_name])
-        @proxy_path   = File.join(SHARE_LOCATION, "websockify/websocketproxy.py")
+        @proxy_path   = File.join(SHARE_LOCATION, "websockify/websocketproxy.py -6")
         @proxy_port   = config[:vnc_proxy_port]

         @wss = config[:vnc_proxy_support_wss]

If sunstone is reachable over IPv6 your clients might want to reach the
websockify port over IPv6 as well, if they want to make a VNC
connection. It would be nice to have a config option in
sunstone-server.conf to influence this behaviour (i.e :vnc_proxy_ipv6:
yes/no).

Associated revisions

Revision 21ca0b49
Added by Daniel Molina over 7 years ago

feature #2454: Add ipv6 option to novnc

Revision cf4e95ab
Added by Daniel Molina over 7 years ago

feature #2454: Add ipv6 option to novnc(cherry picked from commit 21ca0b49fc3c29bd7a2b3e9feada22d26092e1b4)

History

#1 Updated by Daniel Molina over 7 years ago

  • Description updated (diff)

#2 Updated by Daniel Molina over 7 years ago

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

Also available in: Atom PDF