clienthello

package
v0.0.0-...-0a64cdf Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ActionClass defines action name
	ActionClass = "tls.clienthello"
)

Variables

This section is empty.

Functions

func Builder

func Builder() builder.BuildActionFn

Builder returns a builder function

Types

type Action

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

Action register hooks to check sni of clienthellos

func New

func New(id string, plugins []string, l yalogi.Logger) *Action

New creates a new instance

func (*Action) GetID

func (a *Action) GetID() string

GetID returns action id

func (*Action) Plugins

func (a *Action) Plugins() []string

Plugins implements Action interface

func (*Action) RegisterTLSHooks

func (a *Action) RegisterTLSHooks(hooks *tlsproc.Hooks)

RegisterTLSHooks adds hooks to tlsproc

Jump to

Keyboard shortcuts

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