iphash

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(raw json.RawMessage) (types.FilterPlugin, error)

Types

type IPHash

type IPHash struct {
	plugin.PluginCommon
	// salt for creating hash
	Salt string
	// If QueryAddressEnabled is true, create a QueryAddressHash label. Default is true.
	QueryAddressEnabled bool
	// If ResponseAddressEnabled is true, create a ResponseAddressHash label. Default is true.
	ResponseAddressEnabled bool
}

func (*IPHash) Filter

func (f *IPHash) Filter(t *types.DnstapMessage) *types.DnstapMessage

Jump to

Keyboard shortcuts

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