meeklite

package module
v0.0.0-...-cac72fb Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: BSD-2-Clause, BSD-3-Clause Imports: 15 Imported by: 15

README

meeklite

meeklite tunnels your network traffic through HTTPS, and uses domain fronting to conceal where your traffic is coming from.

Using meeklite

  1. Parse the Url from a string to a Url: unparsedUrl := "https://TheUrl.Here/" Url, _ := url.Parse(unparsedUrl)

  2. Create an instance of a meeklite server: meekliteTransport := meeklite.Transport{Url, "Front.Here", "Insert your Address here"

  3. Call dial on meekliteTransport: _, err := meekliteTransport.Dial()

Go Version:

meeklite is one of the transports available in the Shapeshifter-Transports library.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotSupported is the error returned for a unsupported operation.
	ErrNotSupported = errors.New("meek_lite: operation not supported")
)

Functions

func NewMeekTransport

func NewMeekTransport(url string) *meekTransport

Public initializer method to get a new meek transport

func NewMeekTransportWithFront

func NewMeekTransportWithFront(url string, front string, dialer proxy.Dialer) *meekTransport

Types

type Config

type Config struct {
	Url   *gourl.URL
	Front string
}

type Transport

type Transport struct {
	Url     *gourl.URL
	Front   string
	Address string
	Dialer  proxy.Dialer
}

begin optimizer code

func (Transport) Dial

func (transport Transport) Dial() (net.Conn, error)

Jump to

Keyboard shortcuts

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