Skip to content

Instantly share code, notes, and snippets.

Avatar

Yoshio HANAWA hnw

View GitHub Profile
@hnw
hnw / socksproxy.js
Created Jul 22, 2012 — forked from telamon/socksproxy.js
Socks5 proxy implementation in Node.JS
View socksproxy.js
// http://www.ietf.org/rfc/rfc1928.txt
// Tested with: curl http://www.google.se/ --socks5 1080 --proxy-user foo:bar
var States = {
CONNECTED:0,
VERIFYING:1,
READY:2,
PROXY: 3
};
You can’t perform that action at this time.