data

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	Ts            int64   `bson:"ts,omitempty"`
	UID           string  `bson:"uid"`
	Src           string  `bson:"id_orig_h,omitempty"`
	Spt           int     `bson:"id_orig_p,omitempty"`
	Dst           string  `bson:"id_resp_h,omitempty"`
	Dpt           int     `bson:"id_resp_p,omitempty"`
	Dur           float64 `bson:"duration,omitempty"`
	Proto         string  `bson:"proto,omitempty"`
	LocalSrc      bool    `bson:"local_orig,omitempty"`
	LocalDst      bool    `bson:"local_resp,omitempty"`
	OriginIPBytes int64   `bson:"orig_ip_bytes,omitempty"`
}

Conn provides structure for a subset of the fields in the parser.Conn data structure. If fields are needed that are not in this Conn structure use parser.Conn instead.

type DNS added in v1.0.0

type DNS struct {
	Ts      int64    `bson:"ts"`
	UID     string   `bson:"uid"`
	Src     string   `bson:"id_orig_h"`
	Spt     int      `bson:"id_orig_p"`
	Dst     string   `bson:"id_resp_h"`
	Dpt     int      `bson:"id_resp_p"`
	Proto   string   `bson:"proto"`
	QType   string   `bson:"qtype_name"`
	Query   string   `bson:"query"`
	Answers []string `bson:"answers"`
}

DNS provides structure for a subset of the fields in the parser.DNS data structure. If fields are needed that are not in this Conn structure use parser.DNS instead.

Jump to

Keyboard shortcuts

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