websockify/other
Joel Martin 9c2a41fe0e Merge commit 'kumina/master'
Conflicts:

	wsproxy.c

Conflicts:
	.gitignore
	Makefile
	README.md
2011-07-11 19:14:11 -05:00
..
Makefile Merge commit 'kumina/master' 2011-07-11 19:14:11 -05:00
README.md Merge commit 'kumina/master' 2011-07-11 19:14:11 -05:00
kumina.c Merge commit 'kumina/master' 2011-07-11 19:14:11 -05:00
launch.sh Use /usr/bin/env shebang to make more crossplatform. 2011-03-26 15:27:08 -05:00
md5.c fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00
md5.h fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00
md5_test.c fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00
websocket.c Fix chdir call to use string instead of character. 2011-04-12 22:46:32 -05:00
websocket.h fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00
websockify.c fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00
websockify.js fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00
wswrap Use /usr/bin/env shebang to make more crossplatform. 2011-03-26 15:27:08 -05:00
wswrapper.c fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00
wswrapper.h fork noVNC, rename to websockify, cleanup. 2011-01-12 18:09:54 -06:00

README.md

This directory contain alternate implementations of WebSockets-to-TCP-Socket proxies (for noVNC).

websockify.c (C)

Description

This is a C version of the original websockify. It is more limited in functionality than the original.

websockify.js

Description

This is a Node.JS (server-side event driven Javascript) implementation of websockify.

kumina.c (C)

Description

The upstream source of kumina is here: https://github.com/kumina/wsproxy

kumina is an application that can be run from inetd, which allows noVNC to connect to an unmodified libvncserver. Furthermore, it makes use of the recently added support in noVNC for file names. The file name is used to denote the port number. Say, you connect to:

ws://host:41337/25900

The kumina proxy opens a connection to:

vnc://host:25900/

The address to which kumina connects, is the same as the address to which the client connected (using getsockname()).

Configuration

kumina can be enabled by adding the following line to inetd.conf:

41337 stream tcp nowait nobody /usr/sbin/kumina kumina 25900 25909

The two parameters of kumina denote the minimum and the maximum allowed port numbers. This allows a single kumina instance to multiplex connections to multiple VNC servers.