packetSource

package
v0.0.0-...-984753d Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2015 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inquisitor

type Inquisitor struct {
	InquisitorOptions

	ClosedList *HoneyBadger.ClosedList
	// contains filtered or unexported fields
}

Inquisitor sets up the connection pool and is an abstraction layer for dealing with incoming packets weather they be from a pcap file or directly off the wire.

func NewInquisitor

func NewInquisitor(options *InquisitorOptions) *Inquisitor

NewInquisitor creates a new Inquisitor struct

func (*Inquisitor) Start

func (i *Inquisitor) Start()

Start... starts the TCP attack inquisition!

func (*Inquisitor) Stop

func (i *Inquisitor) Stop()

Stop... stops the TCP attack inquisition!

type InquisitorOptions

type InquisitorOptions struct {
	Interface               string
	Filename                string
	WireDuration            time.Duration
	BufferedPerConnection   int
	BufferedTotal           int
	Filter                  string
	LogDir                  string
	Snaplen                 int
	LogPackets              bool
	TcpIdleTimeout          time.Duration
	MaxRingPackets          int
	Logger                  types.Logger
	DetectHijack            bool
	DetectInjection         bool
	DetectCoalesceInjection bool
}

InquisitorOptions are user set parameters for specifying the details of how to proceed with honey_bager's TCP connection monitoring. More parameters should soon be added here!

type TimedRawPacket

type TimedRawPacket struct {
	Timestamp time.Time
	RawPacket []byte
}

Jump to

Keyboard shortcuts

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