TBD

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2016 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	ID  bson.ObjectId
	Src string
	Dst string
}

Key provides a structure for keying the lookups

type TBD

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

Data coming from unique connection table aggregation

func New

func New(c *config.Resources) *TBD

New produces a new TBD Module

func (*TBD) Name

func (t *TBD) Name() string

Name gives the name of this module

func (*TBD) Run

func (t *TBD) Run()

Run runst the module against current configuration

func (*TBD) TBDanalysis

func (t *TBD) TBDanalysis(timestampMap map[Key][]int64)

TBDanalysis runs the TBD analysis on the dataset

type TBDInput

type TBDInput struct {
	ID       bson.ObjectId `bson:"_id,omitempty"`
	Ts       []int64       `bson:"tss"`
	Src      string        `bson:"src"`
	Dst      string        `bson:"dst"`
	LocalSrc bool          `bson:"local_src"`
	LocalDst bool          `bson:"local_dst"`
	Dpts     []int         `bson:"dst_ports"`
	Dur      []float64     `bson:"duration"`
	Count    int           `bson:"connection_count"`
	Bytes    int64         `bson:"total_bytes"`
	BytesAvg float64       `bson:"avg_bytes"`
	Uid      []string      `bson:"uid"`
}

Data coming from unique connection table aggregation

Jump to

Keyboard shortcuts

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