Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.03 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.03 KB

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)
  • Add Username/Password authentication support (heavily recommended but not required for compliancy)
  • Add support for all 3 address types (IPv4, IPv6, FQDN)
  • 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:

import "github.com/Mehigh17/go-get-socks"

func main() {
    socks.Start(":9050") // 9050 is the port the socks server will run on
}

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

License

MIT