cmd

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "v0.1.4"
)

Variables

View Source
var (
	RootCmd = &cobra.Command{
		Use:     "socks",
		Version: Version,
		Short:   "Socks Tool implement socks protocol, such as socks4 and socks5, also provide kcp encryption extension",
		Long: `Socks Tool

Socks Tool implement socks protocol, 
such as socks4 and socks5, 
also provide kcp encryption extension.`,
	}
)

Functions

func ChatroomClient added in v0.1.3

func ChatroomClient(listenAddr string)

func ChatroomProcess

func ChatroomProcess(client net.Conn)

func ChatroomServer

func ChatroomServer(listenAddr string)

func EchoProcess

func EchoProcess(client net.Conn)

func EchoServe

func EchoServe(listenAddr string)

func Execute

func Execute()

func ProxyServe

func ProxyServe(clientAddr, targetAddr, role string)

func ReverseLocalEncryptProxyProcess

func ReverseLocalEncryptProxyProcess(client net.Conn, clientAddr string)

func ReverseProxyProcess

func ReverseProxyProcess(client net.Conn, clientAddr string)

func ReverseRemoteDecryptProxyProcess

func ReverseRemoteDecryptProxyProcess(client net.Conn, clientAddr string)

func Socks4Serve

func Socks4Serve(listenAddr string)

func Socks5Serve

func Socks5Serve(listenAddr string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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