hammer

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package hammer generates ipfix packets

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPFIX

type IPFIX struct {
	MaxRouter int
	Tick      time.Duration
	Port      int
	RateLimit int
	// contains filtered or unexported fields
}

IPFIX represents IPFIX packet generator

func NewIPFIX

func NewIPFIX(raddr net.IP) (*IPFIX, error)

NewIPFIX constructs new IPFIX packet generator

func (*IPFIX) Run

func (i *IPFIX) Run()

Run starts IPFIX simulator - attacking

type Packet

type Packet struct {
	// contains filtered or unexported fields
}

Packet represents generated packet

type SFlow

type SFlow struct {
	MaxRouter int
	Port      int
	RateLimit int
	// contains filtered or unexported fields
}

SFlow represents SFlow packet generator

func NewSFlow

func NewSFlow(raddr net.IP) (*SFlow, error)

NewSFlow constructs SFlow packet generator

func (*SFlow) Run

func (s *SFlow) Run()

Run starts sFlow simulator - attacking

Jump to

Keyboard shortcuts

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