sni

package
v0.0.0-...-8ac4b46 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SNIHandler

type SNIHandler struct {
	UGate  *ugate.UGate
	Dialer net.Dialer
}

func (*SNIHandler) HandleConn

func (snih *SNIHandler) HandleConn(conn net.Conn) error

HandleSNIConn implements SNI based routing. This can be used for compat with Istio. Was original method to tunnel for serverless.

This can be used for a legacy CNI to UGate bridge. The old Istio client expects an mTLS connection to the other end - the UGate proxy is untrusted.

Jump to

Keyboard shortcuts

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