obscure

package
v0.0.0-...-f2c4183 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2017 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetObscureList

func GetObscureList() []string

func RegisterObscure

func RegisterObscure(name string, action ObscureAction) error

Types

type HttpGet

type HttpGet struct {
}

func (*HttpGet) Action

func (this *HttpGet) Action(conn net.Conn, param string) error

type HttpPost

type HttpPost struct {
}

func (*HttpPost) Action

func (this *HttpPost) Action(conn net.Conn, param string) error

type ObscureAction

type ObscureAction interface {
	//Action,用户连接后进行的伪装操作
	//conn:用户的连接套接字
	//param:配置文件里面填写的ObscureParam
	Action(conn net.Conn, param string) error
}

func GetObscure

func GetObscure(name string) (ObscureAction, bool)

type TlsHandshake

type TlsHandshake struct {
}

func (*TlsHandshake) Action

func (this *TlsHandshake) Action(conn net.Conn, param string) error

Jump to

Keyboard shortcuts

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