tproxy

package
v0.0.0-...-3b7add6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(device string, port int, rate int, verbose bool, outfile string, targets []string)

Run Replay. Kicks off the replay of netflow packets from a db.

Types

type Ipfix

type Ipfix struct {
	Pkts         uint64 `json:"pkts,omitempty"`
	DataRead     uint64 `json:"dataRead,omitempty"`
	DataSent     uint64 `json:"dataSent,omitempty"`
	TemplateSent uint64 `json:"templateSent,omitempty"`
	OptionSent   uint64 `json:"optionSent,omitempty"`
}

type Netflow9

type Netflow9 struct {
	TotalFlows   uint64 `json:"totalFlows,omitempty"`
	LastFlows    uint64 `json:"lastFlows,omitempty"`
	DataRead     uint64 `json:"dataRead,omitempty"`
	DataSent     uint64 `json:"dataSent,omitempty"`
	TemplateSent uint64 `json:"templateSent,omitempty"`
	OptionSent   uint64 `json:"optionSent,omitempty"`
}

type RecordStat

type RecordStat struct {
	Netflow9  `json:"netflow9"`
	Ipfix     `json:"ipfix"`
	OtherPkts uint64 `json:"otherPkts"`
	TotalPkts uint64 `json:"totalPkts"`
	LastPkts  uint64 `json:"lastPkts"`
}

Jump to

Keyboard shortcuts

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