socks

package
Version: v0.0.0-...-d9ac036 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SocksVer5 = 0x05

	NO_AUTHENTICATION_REQUIRED = 0x00
	NO_ACCEPTABLE_METHODS      = 0xFF
	ATYP_IP4                   = 0x01
	ATYP_DOMAIN                = 0x03
	ATYP_IP6                   = 0x04
)
View Source
const (
	SocksVer4        = 0x04
	REQUEST_REJECTED = 0x5B
)

Variables

This section is empty.

Functions

func HandleSocks4

func HandleSocks4(conn io.ReadWriter) (target string, err error)

func HandleSocks5

func HandleSocks5(conn io.ReadWriter) (target string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL