meeklite

package module
v3.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: BSD-2-Clause, BSD-3-Clause Imports: 15 Imported by: 0

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

Overview

Package meeklite provides an implementation of the Meek circumvention protocol. Only a client implementation is provided, and no effort is made to normalize the TLS fingerprint.

It borrows quite liberally from the real meek-client code.

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

This section is empty.

Types

type Config

type Config struct {
	URL     *gourl.URL `json:"url"`
	Front   string     `json:"front"`
	Address string     `json:"address"`
}

Config puts the parameters in a json compatible format

type MeekTransport

type MeekTransport struct {
	// contains filtered or unexported fields
}

MeekTransport that uses domain fronting to shapeshift the application network traffic

func NewMeekTransportWithFront

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

NewMeekTransportWithFront is a public initializer method to get a new meek transport

func (*MeekTransport) Dial

func (transport *MeekTransport) Dial() (net.Conn, error)

Dial creates outgoing transport connection

func (*MeekTransport) Listen

func (transport *MeekTransport) Listen() (net.Listener, error)

Listen for the meek transport does not have a corresponding server, only a client

func (*MeekTransport) NetworkDialer

func (transport *MeekTransport) NetworkDialer() proxy.Dialer

NetworkDialer is a dialer for the underlying network connection The Dialer can be modified to change how the network connections are made.

type Transport

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

Transport contains parameters used in Optimizer

func NewMeekFactoryTransportWithFront added in v3.0.5

func NewMeekFactoryTransportWithFront(url *gourl.URL, front string, dialer proxy.Dialer) *Transport

func (Transport) Dial

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

Dial creates outgoing transport connection

Jump to

Keyboard shortcuts

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