obfs

package
v0.3.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ObfsMethod = map[string]func(net.Conn, Obfs) obfs{
	"http_post":              newHttpPost,
	"http_simple":            newHttpSimple,
	"plain":                  newPlainObfs,
	"random_head":            newRandomHead,
	"tls1.2_ticket_auth":     newTLS12TicketAuth,
	"tls1.2_ticket_fastauth": newTLS12TicketAuth,
}

Functions

This section is empty.

Types

type Obfs

type Obfs struct {
	*cipher.Cipher
	Name  string
	Host  string
	Port  string
	Param string
}

func (*Obfs) Overhead

func (o *Obfs) Overhead() int

func (*Obfs) Stream

func (o *Obfs) Stream(c net.Conn) (net.Conn, error)

Jump to

Keyboard shortcuts

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