beacon

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisInput

type AnalysisInput struct {
	ID              bson.ObjectId `bson:"_id,omitempty"`    // Unique Connection ID
	Src             string        `bson:"src"`              // Source IP
	Dst             string        `bson:"dst"`              // Destination IP
	TsList          []int64       `bson:"ts_list"`          // Connection timestamps for this src, dst pair
	OrigIPBytes     []int64       `bson:"orig_bytes_list"`  // Src to dst connection sizes for each connection
	ConnectionCount int           `bson:"connection_count"` // Total connection count between pair
	AverageBytes    float32       `bson:"avg_bytes"`
}

AnalysisInput contains the summary statistics of a unique connection

type AnalysisOutput

type AnalysisOutput struct {
	UconnID          bson.ObjectId `bson:"uconn_id"`
	Src              string        `bson:"src"`
	Dst              string        `bson:"dst"`
	ConnectionCount  int           `bson:"connection_count"`
	AverageBytes     float32       `bson:"avg_bytes"`
	TSIRange         int64         `bson:"ts_iRange"`
	TSIMode          int64         `bson:"ts_iMode"`
	TSIModeCount     int64         `bson:"ts_iMode_count"`
	TSIntervals      []int64       `bson:"ts_intervals"`
	TSIntervalCounts []int64       `bson:"ts_interval_counts"`
	TSIDispersion    int64         `bson:"ts_iDispersion"`
	TSISkew          float64       `bson:"ts_iSkew"`
	TSDuration       float64       `bson:"ts_duration"`
	TSScore          float64       `bson:"ts_score"`
	DSRange          int64         `bson:"ds_range"`
	DSMode           int64         `bson:"ds_mode"`
	DSModeCount      int64         `bson:"ds_mode_count"`
	DSSizes          []int64       `bson:"ds_sizes"`
	DSSizeCounts     []int64       `bson:"ds_counts"`
	DSDispersion     int64         `bson:"ds_dispersion"`
	DSSkew           float64       `bson:"ds_skew"`
	DSScore          float64       `bson:"ds_score"`
	Score            float64       `bson:"score"`
}

AnalysisOutput contains the summary statistics of a unique beacon

type AnalysisView

type AnalysisView struct {
	Src           string  `bson:"src"`
	Dst           string  `bson:"dst"`
	LocalSrc      bool    `bson:"local_src"`
	LocalDst      bool    `bson:"local_dst"`
	Connections   int64   `bson:"connection_count"`
	AvgBytes      float64 `bson:"avg_bytes"`
	TSIRange      int64   `bson:"ts_iRange"`
	TSIMode       int64   `bson:"ts_iMode"`
	TSIModeCount  int64   `bson:"ts_iMode_count"`
	TSISkew       float64 `bson:"ts_iSkew"`
	TSIDispersion int64   `bson:"ts_iDispersion"`
	TSDuration    float64 `bson:"ts_duration"`
	Score         float64 `bson:"score"`
	DSSkew        float64 `bson:"ds_skew"`
	DSDispersion  int64   `bson:"ds_dispersion"`
	DSRange       int64   `bson:"ds_range"`
	DSMode        int64   `bson:"ds_mode"`
	DSModeCount   int64   `bson:"ds_mode_count"`
}

AnalysisView used in order to join the uconn and beacon tables

Jump to

Keyboard shortcuts

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