prefilter

package
v1.20.0-pre.3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 13 Imported by: 5

Documentation

Overview

Package prefilter provides a means of configuring XDP pre-filters for DDoS-mitigation.

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"prefilter",
	"Provides a means of configuring XDP pre-filters for DDoS-mitigation",

	cell.Provide(newPreFilter),
	cell.Provide(newPrefilterApiHandler),
)

Cell provides prefilter, a means of configuring XDP pre-filters for DDoS-mitigation.

Functions

This section is empty.

Types

type PreFilter

type PreFilter interface {
	Enabled() bool
	WriteConfig(fw io.Writer)
	Dump(to []string) ([]string, int64)
	Insert(revision int64, cidrs []net.IPNet) error
	Delete(revision int64, cidrs []net.IPNet) error
}

PreFilter an interface for an XDP pre-filter.

Jump to

Keyboard shortcuts

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