portmaster: github.com/safing/portmaster/firewall/inspection Index | Files | Directories

package inspection

import "github.com/safing/portmaster/firewall/inspection"

Index

Package Files

inspection.go

Constants

const (
    DO_NOTHING uint8 = iota
    BLOCK_PACKET
    DROP_PACKET
    BLOCK_LINK
    DROP_LINK
    STOP_INSPECTING
)

nolint:golint,stylecheck // FIXME

func RegisterInspector Uses

func RegisterInspector(name string, inspector inspectorFn, inspectVerdict network.Verdict) (index int)

RegisterInspector registers a traffic inspector.

func RunInspectors Uses

func RunInspectors(pkt packet.Packet, link *network.Link) (network.Verdict, bool)

RunInspectors runs all the applicable inspectors on the given packet.

Directories

PathSynopsis
tls/verify

Package inspection imports 3 packages (graph) and is imported by 1 packages. Updated 2019-11-18. Refresh now. Tools for package owners.