summaryrefslogtreecommitdiff
path: root/common/socks5
AgeCommit message (Collapse)Author
2017-02-22Implemented PT2 authentication modeBrandon Wiley
2017-02-22Added PT2 authentication protocolBrandon Wiley
2016-12-08Updated goptlib import paths to use shapeshifter-ipcBrandon Wiley
2015-04-15Use a built in SOCKS 5 server instead of goptlibs.Yawning Angel
Differences from my goptlib branch: * Instead of exposing a net.Listener, just expose a Handshake() routine that takes an existing net.Conn. (#14135 is irrelevant to this socks server. * There's an extra routine for sending back sensible errors on Dial failure instead of "General failure". * The code is slightly cleaner (IMO). Gotchas: * If the goptlib pt.Args datatype or external interface changes, args.go will need to be updated. Tested with obfs3 and obfs4, including IPv6.