wsproxy.node.js.v1.3.zip

Uploaded: 12 Jun, 2013
Previous uploads by this submitter: 0

Author: plamzi

Downloads: 81

Lightweight Websocket<->Telnet Proxy
v1.3 - 6/12/2013

Author: plamzi - bedlam@eyecandid.com
License: MIT - http://opensource.org/licenses/MIT

Requires https://github.com/Worlize/WebSocket-Nod...
In your project root: npm install websocket

Included wsproxy.conf Upstart script:
+ Set the <<absolute_path>> to the wsproxy.js file
+ Copy wsproxy.conf to /etc/init/ directory
+ 'start wsproxy'

Supports client setting any host and port prior to connect.
Example:

if (WebSocket) {
var ws = new WebSocket('ws://mywsproxyserver:6200/');
ws.onopen = function(e) {
ws.send('{ host: "localhost", port: 7000, connect: 1 }');
};
}


More notes inside wsproxy.js.

New since v1.0:

* Handles a lot more protocol negotiations.

* Updated to use the latest Worlize/WebSocket module from "npm install websocket".

* Removed any remnants of game-specific code for Bedlam.

* Basic chat system.

* Improved Upstart script that will now log stderr.