socks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConnectionAddressIpv4   byte = 1
	ConnectionAddressIpv6   byte = 4
	ConnectionAddressDomain byte = 3
)
View Source
const (
	Sock4Version byte = 4
	Sock5Version byte = 5

	ConnectionCommandConnect byte = 1
)

Variables

This section is empty.

Functions

func HandleSOCKS5RequestWithFirstByte

func HandleSOCKS5RequestWithFirstByte(conn net.Conn, authInfo *transport.HTTPSOCKSAuthInfo, handler transport.ConnectionContinuationHandler) error

func ReadSOCKS5Address

func ReadSOCKS5Address(r io.Reader) (dest *transport.SocketAddress, 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