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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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