tlsproxy

package
v0.0.0-...-e27f806 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Id           string
	Listen       string
	Acl          string
	Upstreamport string
	Upstreams    []string
	Deadline     int64
	Idle         int64
}

type CurveID

type CurveID uint16

CurveID is the type of a TLS identifier for an elliptic curve. See http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-8

type TLSProxy

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

func New

func New(config Config, access access.Checker, logger log15.Logger) (tlsProxy *TLSProxy)

func (*TLSProxy) HandleConn

func (tlsProxy *TLSProxy) HandleConn(downstream *net.TCPConn)

func (*TLSProxy) Stop

func (tlsProxy *TLSProxy) Stop()

Jump to

Keyboard shortcuts

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