Giter Site home page Giter Site logo

socks5-go's Introduction

socks5-go 🎉

Build Status Go Report Card

Inspired by go-socks5,This package provides full functionality of socks5 protocol.

The protocol described here is designed to provide a framework for client-server applications in both the TCP and UDP domains to conveniently and securely use the services of a network firewall.

Advantages👍

  • A painless host service
  • Support UDP ASSOCIATE (game network accelerator) SSTAP

Feature 🎯

The package has the following features:

  • "No Auth" mode
  • User/Password authentication mode
  • Support for the CONNECT command
  • Support for the BIND command(require the client to accept connections from the server,like FTP etc.)
  • Support for the UDP ASSOCIATE command
  • Unit tests

Download📶

Get the latest version on Release

Start😀

you may need to add run permission first

chmod +x socks5g-linux-amd64

Port only(No Auth)

./socks5g-linux-amd64 1080

Port and Username/Password

./socks5g-linux-amd64 1080 admin 123

Example 👌

go get github.com/realzhangliu/socks5-go
package main

import (
	"github.com/realzhangliu/socks5-go"
	"log"
)

func main() {
	//var config socks5.Config
	//Implement yourself Config , default is provided.
	S5Server := socks5.NewSocks5Server(nil)
	log.Println(S5Server.Listen())
}

socks5-go's People

Contributors

realzhangliu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.