anonymize

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Anonymize uses the CryptoPan prefix-preserving IP address sanitization as specified by J. Fan, J. Xu, M. Ammar, and S. Moon. By default this segment is anonymizing the SrcAddr, DstAddr and SamplerAddress fields in the flowmessage. The required encryption key has to be created with the length of 32 chars.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Anonymize

type Anonymize struct {
	segments.BaseSegment
	EncryptionKey string   // required, key for anonymization by cryptopan
	Fields        []string // optional, list of Fields to anonymize their IP address. Default if nmot set are all available fields: SrcAddr, DstAddr, SamplerAddress
	// contains filtered or unexported fields
}

func (Anonymize) New

func (segments Anonymize) New(config map[string]string) segments.Segment

func (*Anonymize) Run

func (segment *Anonymize) Run(wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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