l4ssh

package
v0.0.0-...-ce42594 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.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 MatchSSH

type MatchSSH struct{}

MatchSSH is able to match SSH connections.

func (*MatchSSH) CaddyModule

func (*MatchSSH) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*MatchSSH) Match

func (m *MatchSSH) Match(cx *layer4.Connection) (bool, error)

Match returns true if the connection looks like SSH.

func (*MatchSSH) UnmarshalCaddyfile

func (m *MatchSSH) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

UnmarshalCaddyfile sets up the MatchSSH from Caddyfile tokens. Syntax:

ssh

Jump to

Keyboard shortcuts

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