scanning

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnObj

type ConnObj struct {
	Hits     int       `bson:"connection_count" json:"connection_count"`
	Ports    []int     `bson:"ports" json:"ports"`
	UPorts   []int     `bson:"uports" json:"uports"`
	UPortCt  int       `bson:"uportcount" json:"uportcount"`
	TSS      []int64   `bson:"tss" json:"tss"`
	Duration []float64 `bson:"duration" json:"duration"`
	Src      string    `bson:"src" json:"src"`
	Dst      string    `bson:"dst" json:"dst"`
}

** Graphing Structures **

type DstObj

type DstObj struct {
	Dst   string    `bson:"_id" json:"_id"`
	Srcs  []ConnObj `bson:"scanners" json:"scanners"`
	SrcCt int       `bson:"scanner_count" json:"scanner_count"`
	Hits  int       `bson:"total_connection_count" json:"total_connection_count"`
}

type PartObj

type PartObj struct {
	Hits   int                   `bson:"connection_count" json:"connection_count"`
	Ports  []int                 `bson:"port_set" json:"port_set"`
	PortCt int                   `bson:"port_count" json:"port_count"`
	Src    string                `bson:"src" json:"src"`
	Dst    string                `bson:"dst" json:"dst"`
	Conn   datatype_Data.ConnObj `bson:"conn_join" json:"conn_join"`
}

type PortObj

type PortObj struct {
	Port  int       `bson:"_id" json:"_id"`
	Hits  int       `bson:"connection_count" json:"connection_count"`
	Conns []ConnObj `bson:"connections" json:"connections"`
	SrcCt int       `bson:"unique_src_count" json:"unique_src_count"`
	DstCt int       `bson:"unique_dst_count" json:"unique_dst_count"`
}

type Scan

type Scan struct {
	Src          string `bson:"src" json:"src"`
	Dst          string `bson:"dst" json:"dst"`
	PortSetCount int    `bson:"port_count" json:"port_count"`
	PortSet      []int  `bson:"port_set" json:"port_set"`
}

** Reporting Structure **

type SrcObj

type SrcObj struct {
	Src   string    `bson:"_id" json:"_id"`
	Dsts  []ConnObj `bson:"scannees" json:"scannees"`
	DstCt int       `bson:"scannee_count" json:"scannee_count"`
	Hits  int       `bson:"total_connection_count" json:"total_connection_count"`
}

type SumObj

type SumObj struct {
	SrcCt  int `bson:"srcs" json:"srcs"`
	DstCt  int `bson:"dsts" json:"dsts"`
	PortCt int `bson:"ports" json:"ports"`
	Hits   int `bson:"hits" json:"hits"`
}

**Scanning Summary Obj**

Jump to

Keyboard shortcuts

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