项目作者: Mehigh17

项目描述 :
Simple implementation of SOCKS5 with Go.
高级语言: Go
项目地址: git://github.com/Mehigh17/go-get-socks.git
创建时间: 2020-03-17T14:08:25Z
项目社区:https://github.com/Mehigh17/go-get-socks

开源协议:

下载


Go Get Socks

GGS is a simple, uncomplete and work-in-progress implementation of the SOCKS5 RFC in Go. This implementation for now provides the most basic of the features. This is an educational project.

Road map

  • Add implementation of handshake and basic packet exchange
  • Add GSSAPI authentication support (required for compliancy)
  • [X] Add Username/Password authentication support (heavily recommended but not required for compliancy)
  • [X] Add support for all 3 address types (IPv4, IPv6, FQDN)
  • [X] Add support for CONNECT request
  • Add support for BIND request
  • Add support for UDP ASSOCIATE request
  • Add UDP relay server
  • Add rule sets for configurable allowable hosts

Usage

Import the package and start the server:

  1. import "github.com/Mehigh17/go-get-socks"
  2. func main() {
  3. socks.Start(":9050") // 9050 is the port the socks server will run on
  4. }

Running the existing /cmd/ binary will start the server on default 8080 port unless another port is given in run arguments.

License

MIT