Help us shape the future of Go! Take the 2026 Go Developer Survey

prefilter

package
v1.20.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 13 Imported by: 7

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