alpnproxyauth

package
v0.0.0-...-5c79d48 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthProxyDialerService

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

AuthProxyDialerService allows dialing local/remote auth service base on SNI value encoded as destination auth cluster name and ALPN set to teleport-auth protocol.

func NewAuthProxyDialerService

func NewAuthProxyDialerService(reverseTunnelServer sitesGetter, localClusterName string, authServers []string, proxySigner multiplexer.PROXYHeaderSigner, log logrus.FieldLogger, tracer oteltrace.Tracer) *AuthProxyDialerService

NewAuthProxyDialerService create new instance of AuthProxyDialerService.

func (*AuthProxyDialerService) HandleConnection

func (s *AuthProxyDialerService) HandleConnection(ctx context.Context, conn net.Conn, connInfo alpnproxy.ConnectionInfo) error

Jump to

Keyboard shortcuts

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