listener

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListenerWrapper

type ListenerWrapper struct {
	TCP bool `json:"tcp,omitempty"`
	UDP bool `json:"udp,omitempty"`
	// contains filtered or unexported fields
}

ListenerWrapper implements caddy.ListenerWrapper. It is used to extract the ClientHello from the incoming TLS connection before it reaches the "tls" in caddy.listeners

For clienthellod to work, it must be placed before the "tls" in the Caddyfile's listener_wrappers directive. For example:

listener_wrappers {
	clienthellod
	tls
}

func (ListenerWrapper) CaddyModule

func (ListenerWrapper) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*ListenerWrapper) Cleanup added in v0.2.1

func (lw *ListenerWrapper) Cleanup() error

func (*ListenerWrapper) Provision

func (lw *ListenerWrapper) Provision(ctx caddy.Context) error

func (*ListenerWrapper) UnmarshalCaddyfile

func (lw *ListenerWrapper) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

func (*ListenerWrapper) WrapListener

func (lw *ListenerWrapper) WrapListener(l net.Listener) net.Listener

Jump to

Keyboard shortcuts

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