Commit Graph

17 Commits

Author SHA1 Message Date
Joel Martin
f2898eabd3 Add listen address to proxy (C and python).
This allows forwarding from an external port to the same port on
localhost (loopback). I.e.

./utils/wsproxy `hostname -f`:5901 localhost:5901
2010-06-16 12:37:03 -05:00
Joel Martin
96a6eaadbc Move vnc.js into include directory.
Also, allow 'include/' to be overridden in VNC_uri_prefix.
2010-06-14 14:56:19 -05:00
Joel Martin
a4807656a2 Move cert gen to Usage section of README.md. 2010-06-14 14:34:05 -05:00
Joel Martin
7210e79e04 Move wsproxy and web utils into utils/ subdir. 2010-06-07 12:49:57 -05:00
Joel Martin
4f0da9ef84 Clarify examples. 2010-06-03 08:39:42 -05:00
Joel Martin
1aa9506251 Explain VNC_uri_prefix in README.md. 2010-06-02 17:28:28 -05:00
Joel Martin
d0e01e064c Update README.md to reflect separate default controls file. 2010-06-02 17:18:46 -05:00
Joel Martin
8fe2c2f915 Fix web-socket-js loading issue. 2010-05-17 17:11:13 -05:00
Joel Martin
753bde8f53 Cleanup output, trap exceptions, timing output, fixes.
Fixes:
- Make sure that failed state messages stay around until next connect.
- Get status message font colors working.
- Clear RQ_reorder list on re-connect.
2010-05-15 12:38:50 -05:00
Joel Martin
71d2426a8e Rename HTML5-VNC to noVNC. 2010-05-12 09:39:38 -05:00
Joel Martin
dcd950a044 Mark include/plain.css as code. 2010-05-11 15:04:07 -07:00
Joel Martin
ded9dfae10 Styling/integration refactoring.
- Instead of onload override, move to RFB.load function that takes
  a parameter for the target DOM ID. This allows the user to have
  their own onload function.

- Add "VNC_" prefix to all element ID names. Only create DOM elements
  if they don't already exist on the page, otherwise use the existing
  elements.

- Move all styling to separate stylesheet.

- Use list model for control styling.
2010-05-11 16:13:52 -05:00
Joel Martin
adfe6ac166 Support for SSL/TLS ('wss://') on both sides.
On the client side, this adds the as3crypto library to web-socket-js
so that the WebSocket 'wss://' scheme is supported which is WebSocket
over SSL/TLS.

Couple of downsides to the fall-back method:

    - This balloons the size of the web-socket-js object from about 12K to 172K.

    - Getting it working required disabling RFC2718 web proxy support
      in web-socket-js.

    - It makes the web-socket-js fallback even slower with the
      encryption overhead.

The server side (wsproxy.py) uses python SSL support. The proxy
automatically detects the type of incoming connection whether flash
policy request, SSL/TLS handshake ('wss://') or plain socket
('ws://').

Also added a check-box to the web page to enable/disabled 'wss://'
encryption.
2010-04-30 16:41:09 -05:00
Joel Martin
9e12c1a941 README.md typo and clarify. 2010-04-18 20:57:34 -05:00
Joel Martin
1626e0f8f8 Update README.md and TODO. 2010-04-18 20:53:54 -05:00
Joel Martin
d63e146209 List for proxy reasons. 2010-04-06 21:37:35 -05:00
Joel Martin
5aeb98801b Change to markdown README.md.
- Semi-colon missing.
2010-04-06 21:34:56 -05:00