Basic SOCKS5 server libary
A basic SOCKS5 server library written for node.js.
argyle supports the most basic features of SOCKS and not a whole lot more, namely:
In the future I may add support for more auth modes and commands, but currently this implementation works well for my main use case (sitting between a local browser and server).
var argyle = ;var server = ;server;
var argyle =throttle =kbpsUp = 32kbpsDown = 128;var server = ;server;
Sets up a new SOCKS server on the specified port and host. If debug is specified, the server will output messages about the status of connections.
A new client connected to the server and the socket to their requested destination is now open. Handlers for this event are passed a
request socket, corresponding to the client that made the request from the server, and a
destination socket, corresponding to the server that they requested to connect to.
npm install argyle