types

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: BSD-3-Clause, GPL-3.0 Imports: 21 Imported by: 7

Documentation

Overview

Package types Contains the type definitions for the supported network protocols

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthNetcap        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNetcap          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNetcap = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// StructureBegin marks the beginning of a structure in CSV.
	StructureBegin = "("

	// StructureEnd marks the end of a structure in CSV.
	StructureEnd = ")"

	// FieldSeparator separates fields within a structure in CSV.
	FieldSeparator = "-"
)
View Source
var Metrics = []prometheus.Collector{
	sipMetric,
	enipMetric,
	credentialsMetric,
	llcMetric,
	ipSecEspMetric,
	tlsClientMetric,
	dnsMetric,
	ethernetCTPMetric,
	ethernetMetric,
	ethernetPayloadEntropy,
	ethernetPayloadSize,
	dhcp4Metric,
	serviceMetric,
	icmp6raMetric,
	eapMetric,
	ipv6fragMetric,
	icmp6Metric,
	tlsServerMetric,
	ntpMetric,
	sctpMetric,
	ciscoDiscoveryMetric,
	usbRequestBlockSetupMetric,
	mplsMetric,
	icmp6rsMetric,
	snapMetric,
	eapPolKeyMetric,
	geneveMetric,
	ipSecAhMetric,
	ip4Metric,
	ip4PayloadEntropy,
	ip4PayloadSize,
	vrrp2Metric,
	ethernetCTPReplyMetric,
	igmpMetric,
	greMetric,
	ip6hopMetric,
	vxlanMetric,
	modbusTCPMetric,
	smtpMetric,
	ciscoDiscoveryInfoMetric,
	arpMetric,
	httpMetric,
	lldiMetric,
	ip6Metric,
	ip6PayloadEntropy,
	ip6PayloadSize,
	fileMetric,
	udpMetric,
	udpPayloadEntropy,
	udpPayloadSize,
	cipMetric,
	lcmMetric,
	pop3Metric,
	connectionsMetric,
	connTotalSize,
	connAppPayloadSize,
	connNumPackets,
	connDuration,
	dot11Metric,
	tcpMetric,
	tcpPayloadEntropy,
	tcpPayloadSize,
	icmp6nsMetric,
	softwareMetric,
	fddiMetric,
	eapPolMetric,
	diameterMetric,
	dot1qMetric,
	ospf3Metric,
	exploitMetric,
	nortelDiscoveryMetric,
	vulnerabilityMetric,
	usbMetric,
	ospf2Metric,
	icmp4Metric,
	sshMetric,
	icmp6eMetric,
	icmp6naMetric,
	lldMetric,
	dhcp6Metric,
	bfdMetric,
}

Metrics contains all available prometheus collectors.

View Source
var Type_name = map[int32]string{
	0:   "NC_Header",
	1:   "NC_Batch",
	3:   "NC_Connection",
	7:   "NC_Ethernet",
	8:   "NC_ARP",
	9:   "NC_Dot1Q",
	10:  "NC_Dot11",
	11:  "NC_Dot11QOS",
	12:  "NC_Dot11HTControl",
	13:  "NC_Dot11HTControlVHT",
	14:  "NC_Dot11HTControlHT",
	15:  "NC_Dot11HTControlMFB",
	16:  "NC_Dot11LinkAdapationControl",
	17:  "NC_Dot11ASEL",
	18:  "NC_LinkLayerDiscovery",
	19:  "NC_LLDPChassisID",
	20:  "NC_LLDPPortID",
	21:  "NC_LinkLayerDiscoveryValue",
	22:  "NC_EthernetCTP",
	23:  "NC_EthernetCTPReply",
	24:  "NC_LinkLayerDiscoveryInfo",
	25:  "NC_LLDPSysCapabilities",
	26:  "NC_LLDPCapabilities",
	27:  "NC_LLDPMgmtAddress",
	28:  "NC_LLDPOrgSpecificTLV",
	29:  "NC_IPv4",
	30:  "NC_IPv4Option",
	31:  "NC_IPv6",
	32:  "NC_ICMPv4",
	33:  "NC_ICMPv6",
	34:  "NC_ICMPv6NeighborAdvertisement",
	35:  "NC_ICMPv6RouterAdvertisement",
	36:  "NC_ICMPv6Option",
	37:  "NC_UDP",
	38:  "NC_TCP",
	39:  "NC_TCPOption",
	40:  "NC_SCTP",
	41:  "NC_DNS",
	42:  "NC_DNSResourceRecord",
	43:  "NC_DNSSOA",
	44:  "NC_DNSSRV",
	45:  "NC_DNSMX",
	46:  "NC_DNSQuestion",
	47:  "NC_DHCPv4",
	48:  "NC_DHCPOption",
	49:  "NC_DHCPv6",
	50:  "NC_DHCPv6Option",
	51:  "NC_LLC",
	52:  "NC_NTP",
	53:  "NC_SIP",
	54:  "NC_IGMP",
	55:  "NC_IGMPv3GroupRecord",
	56:  "NC_IPv6HopByHop",
	57:  "NC_IPv6HopByHopOption",
	58:  "NC_IPv6HopByHopOptionAlignment",
	59:  "NC_SNAP",
	60:  "NC_ICMPv6Echo",
	61:  "NC_ICMPv6NeighborSolicitation",
	62:  "NC_ICMPv6RouterSolicitation",
	63:  "NC_HTTP",
	64:  "NC_TLSClientHello",
	65:  "NC_IPSecAH",
	66:  "NC_IPSecESP",
	67:  "NC_Geneve",
	68:  "NC_IPv6Fragment",
	69:  "NC_VXLAN",
	70:  "NC_USB",
	71:  "NC_LCM",
	72:  "NC_MPLS",
	73:  "NC_Modbus",
	74:  "NC_OSPFv2",
	75:  "NC_OSPFv3",
	76:  "NC_BFD",
	77:  "NC_GRE",
	78:  "NC_FDDI",
	79:  "NC_EAP",
	80:  "NC_VRRPv2",
	81:  "NC_EAPOL",
	82:  "NC_EAPOLKey",
	83:  "NC_CiscoDiscovery",
	84:  "NC_CiscoDiscoveryInfo",
	85:  "NC_USBRequestBlockSetup",
	86:  "NC_NortelDiscovery",
	87:  "NC_CIP",
	88:  "NC_ENIP",
	89:  "NC_DeviceProfile",
	90:  "NC_File",
	91:  "NC_SMTP",
	92:  "NC_Diameter",
	93:  "NC_POP3",
	94:  "NC_TLSServerHello",
	95:  "NC_Software",
	96:  "NC_Service",
	97:  "NC_Credentials",
	98:  "NC_SSH",
	99:  "NC_Vulnerability",
	100: "NC_Exploit",
	101: "NC_IPProfile",
	102: "NC_Mail",
	103: "NC_Alert",
}
View Source
var Type_value = map[string]int32{
	"NC_Header":                      0,
	"NC_Batch":                       1,
	"NC_Connection":                  3,
	"NC_Ethernet":                    7,
	"NC_ARP":                         8,
	"NC_Dot1Q":                       9,
	"NC_Dot11":                       10,
	"NC_Dot11QOS":                    11,
	"NC_Dot11HTControl":              12,
	"NC_Dot11HTControlVHT":           13,
	"NC_Dot11HTControlHT":            14,
	"NC_Dot11HTControlMFB":           15,
	"NC_Dot11LinkAdapationControl":   16,
	"NC_Dot11ASEL":                   17,
	"NC_LinkLayerDiscovery":          18,
	"NC_LLDPChassisID":               19,
	"NC_LLDPPortID":                  20,
	"NC_LinkLayerDiscoveryValue":     21,
	"NC_EthernetCTP":                 22,
	"NC_EthernetCTPReply":            23,
	"NC_LinkLayerDiscoveryInfo":      24,
	"NC_LLDPSysCapabilities":         25,
	"NC_LLDPCapabilities":            26,
	"NC_LLDPMgmtAddress":             27,
	"NC_LLDPOrgSpecificTLV":          28,
	"NC_IPv4":                        29,
	"NC_IPv4Option":                  30,
	"NC_IPv6":                        31,
	"NC_ICMPv4":                      32,
	"NC_ICMPv6":                      33,
	"NC_ICMPv6NeighborAdvertisement": 34,
	"NC_ICMPv6RouterAdvertisement":   35,
	"NC_ICMPv6Option":                36,
	"NC_UDP":                         37,
	"NC_TCP":                         38,
	"NC_TCPOption":                   39,
	"NC_SCTP":                        40,
	"NC_DNS":                         41,
	"NC_DNSResourceRecord":           42,
	"NC_DNSSOA":                      43,
	"NC_DNSSRV":                      44,
	"NC_DNSMX":                       45,
	"NC_DNSQuestion":                 46,
	"NC_DHCPv4":                      47,
	"NC_DHCPOption":                  48,
	"NC_DHCPv6":                      49,
	"NC_DHCPv6Option":                50,
	"NC_LLC":                         51,
	"NC_NTP":                         52,
	"NC_SIP":                         53,
	"NC_IGMP":                        54,
	"NC_IGMPv3GroupRecord":           55,
	"NC_IPv6HopByHop":                56,
	"NC_IPv6HopByHopOption":          57,
	"NC_IPv6HopByHopOptionAlignment": 58,
	"NC_SNAP":                        59,
	"NC_ICMPv6Echo":                  60,
	"NC_ICMPv6NeighborSolicitation":  61,
	"NC_ICMPv6RouterSolicitation":    62,
	"NC_HTTP":                        63,
	"NC_TLSClientHello":              64,
	"NC_IPSecAH":                     65,
	"NC_IPSecESP":                    66,
	"NC_Geneve":                      67,
	"NC_IPv6Fragment":                68,
	"NC_VXLAN":                       69,
	"NC_USB":                         70,
	"NC_LCM":                         71,
	"NC_MPLS":                        72,
	"NC_Modbus":                      73,
	"NC_OSPFv2":                      74,
	"NC_OSPFv3":                      75,
	"NC_BFD":                         76,
	"NC_GRE":                         77,
	"NC_FDDI":                        78,
	"NC_EAP":                         79,
	"NC_VRRPv2":                      80,
	"NC_EAPOL":                       81,
	"NC_EAPOLKey":                    82,
	"NC_CiscoDiscovery":              83,
	"NC_CiscoDiscoveryInfo":          84,
	"NC_USBRequestBlockSetup":        85,
	"NC_NortelDiscovery":             86,
	"NC_CIP":                         87,
	"NC_ENIP":                        88,
	"NC_DeviceProfile":               89,
	"NC_File":                        90,
	"NC_SMTP":                        91,
	"NC_Diameter":                    92,
	"NC_POP3":                        93,
	"NC_TLSServerHello":              94,
	"NC_Software":                    95,
	"NC_Service":                     96,
	"NC_Credentials":                 97,
	"NC_SSH":                         98,
	"NC_Vulnerability":               99,
	"NC_Exploit":                     100,
	"NC_IPProfile":                   101,
	"NC_Mail":                        102,
	"NC_Alert":                       103,
}
View Source
var (

	// UTC allows to print timestamp in the utc format.
	UTC bool
)

Functions

func Select

func Select(msg proto.Message, vals string)

Select takes a proto.Message and sets the selection on the package level.

Types

type ARP

type ARP struct {
	Timestamp           int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	AddrType            int32  `protobuf:"varint,2,opt,name=AddrType,proto3" json:"AddrType,omitempty"`
	Protocol            int32  `protobuf:"varint,3,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	HwAddressSize       int32  `protobuf:"varint,4,opt,name=HwAddressSize,proto3" json:"HwAddressSize,omitempty"`
	ProtocolAddressSize int32  `protobuf:"varint,5,opt,name=ProtocolAddressSize,proto3" json:"ProtocolAddressSize,omitempty"`
	Operation           int32  `protobuf:"varint,6,opt,name=Operation,proto3" json:"Operation,omitempty"`
	SrcHwAddress        string `protobuf:"bytes,7,opt,name=SrcHwAddress,proto3" json:"SrcHwAddress,omitempty"`
	// Sender Protocol Address: The IP address of the device sending this message
	SrcProtocolAddress string `protobuf:"bytes,8,opt,name=SrcProtocolAddress,proto3" json:"SrcProtocolAddress,omitempty"`
	DstHwAddress       string `protobuf:"bytes,9,opt,name=DstHwAddress,proto3" json:"DstHwAddress,omitempty"`
	DstProtocolAddress string `protobuf:"bytes,10,opt,name=DstProtocolAddress,proto3" json:"DstProtocolAddress,omitempty"`
}

The Address Resolution Protocol (ARP) is a communication protocol used for discovering the link layer address, such as a MAC address, associated with a given internet layer address, typically an IPv4 address.

func (*ARP) Analyze added in v0.6.6

func (arp *ARP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*ARP) CSVHeader

func (a *ARP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*ARP) CSVRecord

func (a *ARP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*ARP) Descriptor

func (*ARP) Descriptor() ([]byte, []int)

func (*ARP) Dst added in v0.4.3

func (a *ARP) Dst() string

Dst TODO: preserve source and destination mac adresses for ARP and return them here. Dst returns the destination address of the audit record.

func (*ARP) Encode added in v0.6.6

func (arp *ARP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*ARP) GetAddrType

func (m *ARP) GetAddrType() int32

func (*ARP) GetDstHwAddress

func (m *ARP) GetDstHwAddress() string

func (*ARP) GetDstProtocolAddress added in v0.6.6

func (m *ARP) GetDstProtocolAddress() string

func (*ARP) GetHwAddressSize

func (m *ARP) GetHwAddressSize() int32

func (*ARP) GetOperation

func (m *ARP) GetOperation() int32

func (*ARP) GetProtocol

func (m *ARP) GetProtocol() int32

func (*ARP) GetProtocolAddressSize added in v0.6.6

func (m *ARP) GetProtocolAddressSize() int32

func (*ARP) GetSrcHwAddress

func (m *ARP) GetSrcHwAddress() string

func (*ARP) GetSrcProtocolAddress added in v0.6.6

func (m *ARP) GetSrcProtocolAddress() string

func (*ARP) GetTimestamp

func (m *ARP) GetTimestamp() int64

func (*ARP) Inc added in v0.4.0

func (a *ARP) Inc()

Inc increments the metrics for the audit record.

func (*ARP) JSON added in v0.4.0

func (a *ARP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*ARP) Marshal added in v0.3.9

func (m *ARP) Marshal() (dAtA []byte, err error)

func (*ARP) MarshalTo added in v0.3.9

func (m *ARP) MarshalTo(dAtA []byte) (int, error)

func (*ARP) MarshalToSizedBuffer added in v0.6.6

func (m *ARP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ARP) NetcapType added in v0.6.6

func (arp *ARP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*ARP) ProtoMessage

func (*ARP) ProtoMessage()

func (*ARP) Reset

func (m *ARP) Reset()

func (*ARP) SetPacketContext added in v0.4.2

func (a *ARP) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*ARP) Size added in v0.3.9

func (m *ARP) Size() (n int)

func (*ARP) Src added in v0.4.3

func (a *ARP) Src() string

Src TODO: preserve source and destination mac adresses for ARP and return them here. Src returns the source address of the audit record.

func (*ARP) String

func (m *ARP) String() string

func (*ARP) Time added in v0.4.3

func (a *ARP) Time() int64

Time returns the timestamp associated with the audit record.

func (*ARP) Unmarshal added in v0.3.9

func (m *ARP) Unmarshal(dAtA []byte) error

func (*ARP) XXX_DiscardUnknown

func (m *ARP) XXX_DiscardUnknown()

func (*ARP) XXX_Marshal

func (m *ARP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ARP) XXX_Merge

func (m *ARP) XXX_Merge(src proto.Message)

func (*ARP) XXX_Size

func (m *ARP) XXX_Size() int

func (*ARP) XXX_Unmarshal

func (m *ARP) XXX_Unmarshal(b []byte) error

type ASExternalLSA added in v0.3.9

type ASExternalLSA struct {
	Flags             int32  `protobuf:"varint,1,opt,name=Flags,proto3" json:"Flags,omitempty"`
	Metric            uint32 `protobuf:"varint,2,opt,name=Metric,proto3" json:"Metric,omitempty"`
	PrefixLength      int32  `protobuf:"varint,3,opt,name=PrefixLength,proto3" json:"PrefixLength,omitempty"`
	PrefixOptions     int32  `protobuf:"varint,4,opt,name=PrefixOptions,proto3" json:"PrefixOptions,omitempty"`
	RefLSType         int32  `protobuf:"varint,5,opt,name=RefLSType,proto3" json:"RefLSType,omitempty"`
	AddressPrefix     []byte `protobuf:"bytes,6,opt,name=AddressPrefix,proto3" json:"AddressPrefix,omitempty"`
	ForwardingAddress []byte `protobuf:"bytes,7,opt,name=ForwardingAddress,proto3" json:"ForwardingAddress,omitempty"`
	ExternalRouteTag  uint32 `protobuf:"varint,8,opt,name=ExternalRouteTag,proto3" json:"ExternalRouteTag,omitempty"`
	RefLinkStateID    uint32 `protobuf:"varint,9,opt,name=RefLinkStateID,proto3" json:"RefLinkStateID,omitempty"`
}

func (*ASExternalLSA) Descriptor added in v0.3.9

func (*ASExternalLSA) Descriptor() ([]byte, []int)

func (*ASExternalLSA) GetAddressPrefix added in v0.3.9

func (m *ASExternalLSA) GetAddressPrefix() []byte

func (*ASExternalLSA) GetExternalRouteTag added in v0.3.9

func (m *ASExternalLSA) GetExternalRouteTag() uint32

func (*ASExternalLSA) GetFlags added in v0.3.9

func (m *ASExternalLSA) GetFlags() int32

func (*ASExternalLSA) GetForwardingAddress added in v0.3.9

func (m *ASExternalLSA) GetForwardingAddress() []byte

func (*ASExternalLSA) GetMetric added in v0.3.9

func (m *ASExternalLSA) GetMetric() uint32

func (*ASExternalLSA) GetPrefixLength added in v0.3.9

func (m *ASExternalLSA) GetPrefixLength() int32

func (*ASExternalLSA) GetPrefixOptions added in v0.3.9

func (m *ASExternalLSA) GetPrefixOptions() int32

func (*ASExternalLSA) GetRefLSType added in v0.3.9

func (m *ASExternalLSA) GetRefLSType() int32

func (*ASExternalLSA) GetRefLinkStateID added in v0.3.9

func (m *ASExternalLSA) GetRefLinkStateID() uint32

func (*ASExternalLSA) Marshal added in v0.3.9

func (m *ASExternalLSA) Marshal() (dAtA []byte, err error)

func (*ASExternalLSA) MarshalTo added in v0.3.9

func (m *ASExternalLSA) MarshalTo(dAtA []byte) (int, error)

func (*ASExternalLSA) MarshalToSizedBuffer added in v0.6.6

func (m *ASExternalLSA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ASExternalLSA) ProtoMessage added in v0.3.9

func (*ASExternalLSA) ProtoMessage()

func (*ASExternalLSA) Reset added in v0.3.9

func (m *ASExternalLSA) Reset()

func (*ASExternalLSA) Size added in v0.3.9

func (m *ASExternalLSA) Size() (n int)

func (*ASExternalLSA) String added in v0.3.9

func (m *ASExternalLSA) String() string

func (*ASExternalLSA) Unmarshal added in v0.3.9

func (m *ASExternalLSA) Unmarshal(dAtA []byte) error

func (*ASExternalLSA) XXX_DiscardUnknown added in v0.3.9

func (m *ASExternalLSA) XXX_DiscardUnknown()

func (*ASExternalLSA) XXX_Marshal added in v0.3.9

func (m *ASExternalLSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ASExternalLSA) XXX_Merge added in v0.3.9

func (m *ASExternalLSA) XXX_Merge(src proto.Message)

func (*ASExternalLSA) XXX_Size added in v0.3.9

func (m *ASExternalLSA) XXX_Size() int

func (*ASExternalLSA) XXX_Unmarshal added in v0.3.9

func (m *ASExternalLSA) XXX_Unmarshal(b []byte) error

type ASExternalLSAV2 added in v0.3.9

type ASExternalLSAV2 struct {
	NetworkMask       uint32 `protobuf:"varint,1,opt,name=NetworkMask,proto3" json:"NetworkMask,omitempty"`
	ExternalBit       int32  `protobuf:"varint,2,opt,name=ExternalBit,proto3" json:"ExternalBit,omitempty"`
	Metric            uint32 `protobuf:"varint,3,opt,name=Metric,proto3" json:"Metric,omitempty"`
	ForwardingAddress uint32 `protobuf:"varint,4,opt,name=ForwardingAddress,proto3" json:"ForwardingAddress,omitempty"`
	ExternalRouteTag  uint32 `protobuf:"varint,5,opt,name=ExternalRouteTag,proto3" json:"ExternalRouteTag,omitempty"`
}

func (*ASExternalLSAV2) Descriptor added in v0.3.9

func (*ASExternalLSAV2) Descriptor() ([]byte, []int)

func (*ASExternalLSAV2) GetExternalBit added in v0.3.9

func (m *ASExternalLSAV2) GetExternalBit() int32

func (*ASExternalLSAV2) GetExternalRouteTag added in v0.3.9

func (m *ASExternalLSAV2) GetExternalRouteTag() uint32

func (*ASExternalLSAV2) GetForwardingAddress added in v0.3.9

func (m *ASExternalLSAV2) GetForwardingAddress() uint32

func (*ASExternalLSAV2) GetMetric added in v0.3.9

func (m *ASExternalLSAV2) GetMetric() uint32

func (*ASExternalLSAV2) GetNetworkMask added in v0.3.9

func (m *ASExternalLSAV2) GetNetworkMask() uint32

func (*ASExternalLSAV2) Marshal added in v0.3.9

func (m *ASExternalLSAV2) Marshal() (dAtA []byte, err error)

func (*ASExternalLSAV2) MarshalTo added in v0.3.9

func (m *ASExternalLSAV2) MarshalTo(dAtA []byte) (int, error)

func (*ASExternalLSAV2) MarshalToSizedBuffer added in v0.6.6

func (m *ASExternalLSAV2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ASExternalLSAV2) ProtoMessage added in v0.3.9

func (*ASExternalLSAV2) ProtoMessage()

func (*ASExternalLSAV2) Reset added in v0.3.9

func (m *ASExternalLSAV2) Reset()

func (*ASExternalLSAV2) Size added in v0.3.9

func (m *ASExternalLSAV2) Size() (n int)

func (*ASExternalLSAV2) String added in v0.3.9

func (m *ASExternalLSAV2) String() string

func (*ASExternalLSAV2) Unmarshal added in v0.3.9

func (m *ASExternalLSAV2) Unmarshal(dAtA []byte) error

func (*ASExternalLSAV2) XXX_DiscardUnknown added in v0.3.9

func (m *ASExternalLSAV2) XXX_DiscardUnknown()

func (*ASExternalLSAV2) XXX_Marshal added in v0.3.9

func (m *ASExternalLSAV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ASExternalLSAV2) XXX_Merge added in v0.3.9

func (m *ASExternalLSAV2) XXX_Merge(src proto.Message)

func (*ASExternalLSAV2) XXX_Size added in v0.3.9

func (m *ASExternalLSAV2) XXX_Size() int

func (*ASExternalLSAV2) XXX_Unmarshal added in v0.3.9

func (m *ASExternalLSAV2) XXX_Unmarshal(b []byte) error

type AVP added in v0.6.6

type AVP struct {
	// Value in the header section of the AVP
	AttributeCode   uint32 `protobuf:"varint,1,opt,name=AttributeCode,proto3" json:"AttributeCode,omitempty"`
	AttributeName   string `protobuf:"bytes,2,opt,name=AttributeName,proto3" json:"AttributeName,omitempty"`
	AttributeFormat string `protobuf:"bytes,3,opt,name=AttributeFormat,proto3" json:"AttributeFormat,omitempty"`
	Flags           uint32 `protobuf:"varint,4,opt,name=Flags,proto3" json:"Flags,omitempty"`
	HeaderLen       uint32 `protobuf:"varint,5,opt,name=HeaderLen,proto3" json:"HeaderLen,omitempty"`
	Len             uint32 `protobuf:"varint,6,opt,name=Len,proto3" json:"Len,omitempty"`
	VendorCode      uint32 `protobuf:"varint,7,opt,name=VendorCode,proto3" json:"VendorCode,omitempty"`
	VendorName      string `protobuf:"bytes,8,opt,name=VendorName,proto3" json:"VendorName,omitempty"`
	VendorID        string `protobuf:"bytes,9,opt,name=VendorID,proto3" json:"VendorID,omitempty"`
	// the value associated with the Attribute, padding with zeros is sometimes added after the value in some case
	DecodedValue string `protobuf:"bytes,10,opt,name=DecodedValue,proto3" json:"DecodedValue,omitempty"`
	Padding      uint32 `protobuf:"varint,11,opt,name=Padding,proto3" json:"Padding,omitempty"`
	Value        []byte `protobuf:"bytes,12,opt,name=Value,proto3" json:"Value,omitempty"`
	ValueLen     uint32 `protobuf:"varint,13,opt,name=ValueLen,proto3" json:"ValueLen,omitempty"`
}

Attribute Value Pair

func (*AVP) Descriptor added in v0.6.6

func (*AVP) Descriptor() ([]byte, []int)

func (*AVP) GetAttributeCode added in v0.6.6

func (m *AVP) GetAttributeCode() uint32

func (*AVP) GetAttributeFormat added in v0.6.6

func (m *AVP) GetAttributeFormat() string

func (*AVP) GetAttributeName added in v0.6.6

func (m *AVP) GetAttributeName() string

func (*AVP) GetDecodedValue added in v0.6.6

func (m *AVP) GetDecodedValue() string

func (*AVP) GetFlags added in v0.6.6

func (m *AVP) GetFlags() uint32

func (*AVP) GetHeaderLen added in v0.6.6

func (m *AVP) GetHeaderLen() uint32

func (*AVP) GetLen added in v0.6.6

func (m *AVP) GetLen() uint32

func (*AVP) GetPadding added in v0.6.6

func (m *AVP) GetPadding() uint32

func (*AVP) GetValue added in v0.6.6

func (m *AVP) GetValue() []byte

func (*AVP) GetValueLen added in v0.6.6

func (m *AVP) GetValueLen() uint32

func (*AVP) GetVendorCode added in v0.6.6

func (m *AVP) GetVendorCode() uint32

func (*AVP) GetVendorID added in v0.6.6

func (m *AVP) GetVendorID() string

func (*AVP) GetVendorName added in v0.6.6

func (m *AVP) GetVendorName() string

func (*AVP) Marshal added in v0.6.6

func (m *AVP) Marshal() (dAtA []byte, err error)

func (*AVP) MarshalTo added in v0.6.6

func (m *AVP) MarshalTo(dAtA []byte) (int, error)

func (*AVP) MarshalToSizedBuffer added in v0.6.6

func (m *AVP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AVP) ProtoMessage added in v0.6.6

func (*AVP) ProtoMessage()

func (*AVP) Reset added in v0.6.6

func (m *AVP) Reset()

func (*AVP) Size added in v0.6.6

func (m *AVP) Size() (n int)

func (*AVP) String added in v0.6.6

func (m *AVP) String() string

func (*AVP) Unmarshal added in v0.6.6

func (m *AVP) Unmarshal(dAtA []byte) error

func (*AVP) XXX_DiscardUnknown added in v0.6.6

func (m *AVP) XXX_DiscardUnknown()

func (*AVP) XXX_Marshal added in v0.6.6

func (m *AVP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AVP) XXX_Merge added in v0.6.6

func (m *AVP) XXX_Merge(src proto.Message)

func (*AVP) XXX_Size added in v0.6.6

func (m *AVP) XXX_Size() int

func (*AVP) XXX_Unmarshal added in v0.6.6

func (m *AVP) XXX_Unmarshal(b []byte) error

type Alert added in v0.6.6

type Alert struct {
	Timestamp    int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Name         string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Description  string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	SrcIP        string `protobuf:"bytes,4,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	SrcPort      string `protobuf:"bytes,5,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstIP        string `protobuf:"bytes,6,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	DstPort      string `protobuf:"bytes,7,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
	MITRE        string `protobuf:"bytes,8,opt,name=MITRE,proto3" json:"MITRE,omitempty"`
	IPReputation string `protobuf:"bytes,9,opt,name=IPReputation,proto3" json:"IPReputation,omitempty"`
	Domain       string `protobuf:"bytes,10,opt,name=Domain,proto3" json:"Domain,omitempty"`
	Protocol     string `protobuf:"bytes,11,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	Notes        string `protobuf:"bytes,12,opt,name=Notes,proto3" json:"Notes,omitempty"`
}

Alert models a user defined event with IP layer and meta information.

func (*Alert) Analyze added in v0.6.6

func (a *Alert) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Alert) CSVHeader added in v0.6.6

func (a *Alert) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Alert) CSVRecord added in v0.6.6

func (a *Alert) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Alert) Descriptor added in v0.6.6

func (*Alert) Descriptor() ([]byte, []int)

func (*Alert) Dst added in v0.6.6

func (a *Alert) Dst() string

Dst TODO: preserve source and destination mac adresses for Alert and return them here. Dst returns the destination address of the audit record.

func (*Alert) Encode added in v0.6.6

func (a *Alert) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Alert) GetDescription added in v0.6.6

func (m *Alert) GetDescription() string

func (*Alert) GetDomain added in v0.6.6

func (m *Alert) GetDomain() string

func (*Alert) GetDstIP added in v0.6.6

func (m *Alert) GetDstIP() string

func (*Alert) GetDstPort added in v0.6.6

func (m *Alert) GetDstPort() string

func (*Alert) GetIPReputation added in v0.6.6

func (m *Alert) GetIPReputation() string

func (*Alert) GetMITRE added in v0.6.6

func (m *Alert) GetMITRE() string

func (*Alert) GetName added in v0.6.6

func (m *Alert) GetName() string

func (*Alert) GetNotes added in v0.6.6

func (m *Alert) GetNotes() string

func (*Alert) GetProtocol added in v0.6.6

func (m *Alert) GetProtocol() string

func (*Alert) GetSrcIP added in v0.6.6

func (m *Alert) GetSrcIP() string

func (*Alert) GetSrcPort added in v0.6.6

func (m *Alert) GetSrcPort() string

func (*Alert) GetTimestamp added in v0.6.6

func (m *Alert) GetTimestamp() int64

func (*Alert) Inc added in v0.6.6

func (a *Alert) Inc()

Inc increments the metrics for the audit record.

func (*Alert) JSON added in v0.6.6

func (a *Alert) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Alert) Marshal added in v0.6.6

func (m *Alert) Marshal() (dAtA []byte, err error)

func (*Alert) MarshalTo added in v0.6.6

func (m *Alert) MarshalTo(dAtA []byte) (int, error)

func (*Alert) MarshalToSizedBuffer added in v0.6.6

func (m *Alert) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Alert) NetcapType added in v0.6.6

func (a *Alert) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Alert) ProtoMessage added in v0.6.6

func (*Alert) ProtoMessage()

func (*Alert) Reset added in v0.6.6

func (m *Alert) Reset()

func (*Alert) SetPacketContext added in v0.6.6

func (a *Alert) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Alert) Size added in v0.6.6

func (m *Alert) Size() (n int)

func (*Alert) Src added in v0.6.6

func (a *Alert) Src() string

Src TODO: preserve source and destination mac adresses for Alert and return them here. Src returns the source address of the audit record.

func (*Alert) String added in v0.6.6

func (m *Alert) String() string

func (*Alert) Time added in v0.6.6

func (a *Alert) Time() int64

Time returns the timestamp associated with the audit record.

func (*Alert) Unmarshal added in v0.6.6

func (m *Alert) Unmarshal(dAtA []byte) error

func (*Alert) XXX_DiscardUnknown added in v0.6.6

func (m *Alert) XXX_DiscardUnknown()

func (*Alert) XXX_Marshal added in v0.6.6

func (m *Alert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Alert) XXX_Merge added in v0.6.6

func (m *Alert) XXX_Merge(src proto.Message)

func (*Alert) XXX_Size added in v0.6.6

func (m *Alert) XXX_Size() int

func (*Alert) XXX_Unmarshal added in v0.6.6

func (m *Alert) XXX_Unmarshal(b []byte) error

type AuditRecord added in v0.4.0

type AuditRecord interface {

	// CSVRecord returns CSV values
	CSVRecord() []string

	// CSVHeader returns CSV header fields
	CSVHeader() []string

	// Time used to retrieve the timestamp of the audit record for labeling
	Time() int64

	// Src returns the source of an audit record
	// for Layer 2 records this shall be the MAC address
	// for Layer 3+ records this shall be the IP address
	Src() string

	// Dst returns the source of an audit record
	// for Layer 2 records this shall be the MAC address
	// for Layer 3+ records this shall be the IP address
	Dst() string

	// Inc increments the metric for the audit record
	Inc()

	// JSON returns the audit record as JSON
	JSON() (string, error)

	// SetPacketContext can be implemented to set additional information for each audit record
	// important:
	//  - MUST be implemented on a pointer of an instance
	//  - the passed in packet context MUST be set on the Context field of the current audit record
	SetPacketContext(ctx *PacketContext)

	// Encode this audit record into numerical data for processing by machine learning algorithms,
	// and return the result as CSV.
	Encode() []string

	// Analyze will feed this audit record to an analyzer.
	// This could either be a static rule based analyzer, or one that is based on a more complex Anomaly Detector (statistical or ML).
	// TODO: define AnomalyDetector interface
	Analyze()

	// NetcapType returns the audit record type
	NetcapType() Type
}

AuditRecord is the interface for basic operations with NETCAP audit records this includes dumping as CSV or JSON or prometheus metrics and provides access to the timestamp of the audit record.

type BFD added in v0.3.7

type BFD struct {
	Timestamp                 int64          `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Version                   int32          `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	Diagnostic                int32          `protobuf:"varint,3,opt,name=Diagnostic,proto3" json:"Diagnostic,omitempty"`
	State                     int32          `protobuf:"varint,4,opt,name=State,proto3" json:"State,omitempty"`
	Poll                      bool           `protobuf:"varint,5,opt,name=Poll,proto3" json:"Poll,omitempty"`
	Final                     bool           `protobuf:"varint,6,opt,name=Final,proto3" json:"Final,omitempty"`
	ControlPlaneIndependent   bool           `protobuf:"varint,7,opt,name=ControlPlaneIndependent,proto3" json:"ControlPlaneIndependent,omitempty"`
	AuthPresent               bool           `protobuf:"varint,8,opt,name=AuthPresent,proto3" json:"AuthPresent,omitempty"`
	Demand                    bool           `protobuf:"varint,9,opt,name=Demand,proto3" json:"Demand,omitempty"`
	Multipoint                bool           `protobuf:"varint,10,opt,name=Multipoint,proto3" json:"Multipoint,omitempty"`
	DetectMultiplier          int32          `protobuf:"varint,11,opt,name=DetectMultiplier,proto3" json:"DetectMultiplier,omitempty"`
	MyDiscriminator           int32          `protobuf:"varint,12,opt,name=MyDiscriminator,proto3" json:"MyDiscriminator,omitempty"`
	YourDiscriminator         int32          `protobuf:"varint,13,opt,name=YourDiscriminator,proto3" json:"YourDiscriminator,omitempty"`
	DesiredMinTxInterval      int32          `protobuf:"varint,14,opt,name=DesiredMinTxInterval,proto3" json:"DesiredMinTxInterval,omitempty"`
	RequiredMinRxInterval     int32          `protobuf:"varint,15,opt,name=RequiredMinRxInterval,proto3" json:"RequiredMinRxInterval,omitempty"`
	RequiredMinEchoRxInterval int32          `protobuf:"varint,16,opt,name=RequiredMinEchoRxInterval,proto3" json:"RequiredMinEchoRxInterval,omitempty"`
	AuthHeader                *BFDAuthHeader `protobuf:"bytes,17,opt,name=AuthHeader,proto3" json:"AuthHeader,omitempty"`
}

BFD is a detection protocol designed to provide fast forwarding path failure detection times for all media types, encapsulations, topologies, and routing protocols. In addition to fast forwarding path failure detection, BFD provides a consistent failure detection method for network administrators.

func (*BFD) Analyze added in v0.6.6

func (b *BFD) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*BFD) CSVHeader added in v0.3.7

func (b *BFD) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*BFD) CSVRecord added in v0.3.7

func (b *BFD) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*BFD) Descriptor added in v0.3.7

func (*BFD) Descriptor() ([]byte, []int)

func (*BFD) Dst added in v0.4.3

func (b *BFD) Dst() string

Dst returns the destination address of the audit record.

func (*BFD) Encode added in v0.6.6

func (b *BFD) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*BFD) GetAuthHeader added in v0.3.7

func (m *BFD) GetAuthHeader() *BFDAuthHeader

func (*BFD) GetAuthPresent added in v0.3.7

func (m *BFD) GetAuthPresent() bool

func (*BFD) GetControlPlaneIndependent added in v0.3.7

func (m *BFD) GetControlPlaneIndependent() bool

func (*BFD) GetDemand added in v0.3.7

func (m *BFD) GetDemand() bool

func (*BFD) GetDesiredMinTxInterval added in v0.3.7

func (m *BFD) GetDesiredMinTxInterval() int32

func (*BFD) GetDetectMultiplier added in v0.3.7

func (m *BFD) GetDetectMultiplier() int32

func (*BFD) GetDiagnostic added in v0.3.7

func (m *BFD) GetDiagnostic() int32

func (*BFD) GetFinal added in v0.3.7

func (m *BFD) GetFinal() bool

func (*BFD) GetMultipoint added in v0.3.7

func (m *BFD) GetMultipoint() bool

func (*BFD) GetMyDiscriminator added in v0.3.7

func (m *BFD) GetMyDiscriminator() int32

func (*BFD) GetPoll added in v0.3.7

func (m *BFD) GetPoll() bool

func (*BFD) GetRequiredMinEchoRxInterval added in v0.3.7

func (m *BFD) GetRequiredMinEchoRxInterval() int32

func (*BFD) GetRequiredMinRxInterval added in v0.3.7

func (m *BFD) GetRequiredMinRxInterval() int32

func (*BFD) GetState added in v0.3.7

func (m *BFD) GetState() int32

func (*BFD) GetTimestamp added in v0.3.7

func (m *BFD) GetTimestamp() int64

func (*BFD) GetVersion added in v0.3.7

func (m *BFD) GetVersion() int32

func (*BFD) GetYourDiscriminator added in v0.3.7

func (m *BFD) GetYourDiscriminator() int32

func (*BFD) Inc added in v0.4.0

func (b *BFD) Inc()

Inc increments the metrics for the audit record.

func (*BFD) JSON added in v0.4.0

func (b *BFD) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*BFD) Marshal added in v0.3.9

func (m *BFD) Marshal() (dAtA []byte, err error)

func (*BFD) MarshalTo added in v0.3.9

func (m *BFD) MarshalTo(dAtA []byte) (int, error)

func (*BFD) MarshalToSizedBuffer added in v0.6.6

func (m *BFD) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BFD) NetcapType added in v0.6.6

func (b *BFD) NetcapType() Type

NetcapType returns the type of the current audit record

func (*BFD) ProtoMessage added in v0.3.7

func (*BFD) ProtoMessage()

func (*BFD) Reset added in v0.3.7

func (m *BFD) Reset()

func (*BFD) SetPacketContext added in v0.4.2

func (b *BFD) SetPacketContext(_ *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*BFD) Size added in v0.3.9

func (m *BFD) Size() (n int)

func (*BFD) Src added in v0.4.3

func (b *BFD) Src() string

Src returns the source address of the audit record.

func (*BFD) String added in v0.3.7

func (m *BFD) String() string

func (*BFD) Time added in v0.4.3

func (b *BFD) Time() int64

Time returns the timestamp associated with the audit record.

func (*BFD) Unmarshal added in v0.3.9

func (m *BFD) Unmarshal(dAtA []byte) error

func (*BFD) XXX_DiscardUnknown added in v0.3.7

func (m *BFD) XXX_DiscardUnknown()

func (*BFD) XXX_Marshal added in v0.3.7

func (m *BFD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BFD) XXX_Merge added in v0.3.7

func (m *BFD) XXX_Merge(src proto.Message)

func (*BFD) XXX_Size added in v0.3.7

func (m *BFD) XXX_Size() int

func (*BFD) XXX_Unmarshal added in v0.3.7

func (m *BFD) XXX_Unmarshal(b []byte) error

type BFDAuthHeader added in v0.3.7

type BFDAuthHeader struct {
	AuthType       int32  `protobuf:"varint,1,opt,name=AuthType,proto3" json:"AuthType,omitempty"`
	KeyID          int32  `protobuf:"varint,2,opt,name=KeyID,proto3" json:"KeyID,omitempty"`
	SequenceNumber int32  `protobuf:"varint,3,opt,name=SequenceNumber,proto3" json:"SequenceNumber,omitempty"`
	Data           []byte `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data,omitempty"`
}

func (*BFDAuthHeader) Descriptor added in v0.3.7

func (*BFDAuthHeader) Descriptor() ([]byte, []int)

func (*BFDAuthHeader) GetAuthType added in v0.3.7

func (m *BFDAuthHeader) GetAuthType() int32

func (*BFDAuthHeader) GetData added in v0.3.7

func (m *BFDAuthHeader) GetData() []byte

func (*BFDAuthHeader) GetKeyID added in v0.3.7

func (m *BFDAuthHeader) GetKeyID() int32

func (*BFDAuthHeader) GetSequenceNumber added in v0.3.7

func (m *BFDAuthHeader) GetSequenceNumber() int32

func (*BFDAuthHeader) Marshal added in v0.3.9

func (m *BFDAuthHeader) Marshal() (dAtA []byte, err error)

func (*BFDAuthHeader) MarshalTo added in v0.3.9

func (m *BFDAuthHeader) MarshalTo(dAtA []byte) (int, error)

func (*BFDAuthHeader) MarshalToSizedBuffer added in v0.6.6

func (m *BFDAuthHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BFDAuthHeader) ProtoMessage added in v0.3.7

func (*BFDAuthHeader) ProtoMessage()

func (*BFDAuthHeader) Reset added in v0.3.7

func (m *BFDAuthHeader) Reset()

func (*BFDAuthHeader) Size added in v0.3.9

func (m *BFDAuthHeader) Size() (n int)

func (*BFDAuthHeader) String added in v0.3.7

func (m *BFDAuthHeader) String() string

func (*BFDAuthHeader) Unmarshal added in v0.3.9

func (m *BFDAuthHeader) Unmarshal(dAtA []byte) error

func (*BFDAuthHeader) XXX_DiscardUnknown added in v0.3.7

func (m *BFDAuthHeader) XXX_DiscardUnknown()

func (*BFDAuthHeader) XXX_Marshal added in v0.3.7

func (m *BFDAuthHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BFDAuthHeader) XXX_Merge added in v0.3.7

func (m *BFDAuthHeader) XXX_Merge(src proto.Message)

func (*BFDAuthHeader) XXX_Size added in v0.3.7

func (m *BFDAuthHeader) XXX_Size() int

func (*BFDAuthHeader) XXX_Unmarshal added in v0.3.7

func (m *BFDAuthHeader) XXX_Unmarshal(b []byte) error

type Batch

type Batch struct {
	ClientID         string `protobuf:"bytes,1,opt,name=ClientID,proto3" json:"ClientID,omitempty"`
	MessageType      Type   `protobuf:"varint,2,opt,name=MessageType,proto3,enum=types.Type" json:"MessageType,omitempty"`
	TotalSize        int32  `protobuf:"varint,3,opt,name=TotalSize,proto3" json:"TotalSize,omitempty"`
	Data             []byte `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data,omitempty"`
	ContainsPayloads bool   `protobuf:"varint,5,opt,name=ContainsPayloads,proto3" json:"ContainsPayloads,omitempty"`
}

func (*Batch) Descriptor

func (*Batch) Descriptor() ([]byte, []int)

func (*Batch) GetClientID

func (m *Batch) GetClientID() string

func (*Batch) GetContainsPayloads added in v0.3.9

func (m *Batch) GetContainsPayloads() bool

func (*Batch) GetData

func (m *Batch) GetData() []byte

func (*Batch) GetMessageType

func (m *Batch) GetMessageType() Type

func (*Batch) GetTotalSize added in v0.3.9

func (m *Batch) GetTotalSize() int32

func (*Batch) Marshal added in v0.3.9

func (m *Batch) Marshal() (dAtA []byte, err error)

func (*Batch) MarshalTo added in v0.3.9

func (m *Batch) MarshalTo(dAtA []byte) (int, error)

func (*Batch) MarshalToSizedBuffer added in v0.6.6

func (m *Batch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) Reset

func (m *Batch) Reset()

func (*Batch) Size

func (m *Batch) Size() (n int)

func (*Batch) String

func (m *Batch) String() string

func (*Batch) Unmarshal added in v0.3.9

func (m *Batch) Unmarshal(dAtA []byte) error

func (*Batch) XXX_DiscardUnknown

func (m *Batch) XXX_DiscardUnknown()

func (*Batch) XXX_Marshal

func (m *Batch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Batch) XXX_Merge

func (m *Batch) XXX_Merge(src proto.Message)

func (*Batch) XXX_Size

func (m *Batch) XXX_Size() int

func (*Batch) XXX_Unmarshal

func (m *Batch) XXX_Unmarshal(b []byte) error

type CDPCapabilities added in v0.3.9

type CDPCapabilities struct {
	L3Router        bool `protobuf:"varint,1,opt,name=L3Router,proto3" json:"L3Router,omitempty"`
	TBBridge        bool `protobuf:"varint,2,opt,name=TBBridge,proto3" json:"TBBridge,omitempty"`
	SPBridge        bool `protobuf:"varint,3,opt,name=SPBridge,proto3" json:"SPBridge,omitempty"`
	L2Switch        bool `protobuf:"varint,4,opt,name=L2Switch,proto3" json:"L2Switch,omitempty"`
	IsHost          bool `protobuf:"varint,5,opt,name=IsHost,proto3" json:"IsHost,omitempty"`
	IGMPFilter      bool `protobuf:"varint,6,opt,name=IGMPFilter,proto3" json:"IGMPFilter,omitempty"`
	L1Repeater      bool `protobuf:"varint,7,opt,name=L1Repeater,proto3" json:"L1Repeater,omitempty"`
	IsPhone         bool `protobuf:"varint,8,opt,name=IsPhone,proto3" json:"IsPhone,omitempty"`
	RemotelyManaged bool `protobuf:"varint,9,opt,name=RemotelyManaged,proto3" json:"RemotelyManaged,omitempty"`
}

func (*CDPCapabilities) Descriptor added in v0.3.9

func (*CDPCapabilities) Descriptor() ([]byte, []int)

func (*CDPCapabilities) GetIGMPFilter added in v0.3.9

func (m *CDPCapabilities) GetIGMPFilter() bool

func (*CDPCapabilities) GetIsHost added in v0.3.9

func (m *CDPCapabilities) GetIsHost() bool

func (*CDPCapabilities) GetIsPhone added in v0.3.9

func (m *CDPCapabilities) GetIsPhone() bool

func (*CDPCapabilities) GetL1Repeater added in v0.3.9

func (m *CDPCapabilities) GetL1Repeater() bool

func (*CDPCapabilities) GetL2Switch added in v0.3.9

func (m *CDPCapabilities) GetL2Switch() bool

func (*CDPCapabilities) GetL3Router added in v0.3.9

func (m *CDPCapabilities) GetL3Router() bool

func (*CDPCapabilities) GetRemotelyManaged added in v0.3.9

func (m *CDPCapabilities) GetRemotelyManaged() bool

func (*CDPCapabilities) GetSPBridge added in v0.3.9

func (m *CDPCapabilities) GetSPBridge() bool

func (*CDPCapabilities) GetTBBridge added in v0.3.9

func (m *CDPCapabilities) GetTBBridge() bool

func (*CDPCapabilities) Marshal added in v0.3.9

func (m *CDPCapabilities) Marshal() (dAtA []byte, err error)

func (*CDPCapabilities) MarshalTo added in v0.3.9

func (m *CDPCapabilities) MarshalTo(dAtA []byte) (int, error)

func (*CDPCapabilities) MarshalToSizedBuffer added in v0.6.6

func (m *CDPCapabilities) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CDPCapabilities) ProtoMessage added in v0.3.9

func (*CDPCapabilities) ProtoMessage()

func (*CDPCapabilities) Reset added in v0.3.9

func (m *CDPCapabilities) Reset()

func (*CDPCapabilities) Size added in v0.3.9

func (m *CDPCapabilities) Size() (n int)

func (*CDPCapabilities) String added in v0.3.9

func (m *CDPCapabilities) String() string

func (*CDPCapabilities) Unmarshal added in v0.3.9

func (m *CDPCapabilities) Unmarshal(dAtA []byte) error

func (*CDPCapabilities) XXX_DiscardUnknown added in v0.3.9

func (m *CDPCapabilities) XXX_DiscardUnknown()

func (*CDPCapabilities) XXX_Marshal added in v0.3.9

func (m *CDPCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CDPCapabilities) XXX_Merge added in v0.3.9

func (m *CDPCapabilities) XXX_Merge(src proto.Message)

func (*CDPCapabilities) XXX_Size added in v0.3.9

func (m *CDPCapabilities) XXX_Size() int

func (*CDPCapabilities) XXX_Unmarshal added in v0.3.9

func (m *CDPCapabilities) XXX_Unmarshal(b []byte) error

type CDPEnergyWise added in v0.3.9

type CDPEnergyWise struct {
	EncryptedData  []byte `protobuf:"bytes,1,opt,name=EncryptedData,proto3" json:"EncryptedData,omitempty"`
	Unknown1       uint32 `protobuf:"varint,2,opt,name=Unknown1,proto3" json:"Unknown1,omitempty"`
	SequenceNumber uint32 `protobuf:"varint,3,opt,name=SequenceNumber,proto3" json:"SequenceNumber,omitempty"`
	ModelNumber    string `protobuf:"bytes,4,opt,name=ModelNumber,proto3" json:"ModelNumber,omitempty"`
	Unknown2       int32  `protobuf:"varint,5,opt,name=Unknown2,proto3" json:"Unknown2,omitempty"`
	HardwareID     string `protobuf:"bytes,6,opt,name=HardwareID,proto3" json:"HardwareID,omitempty"`
	SerialNum      string `protobuf:"bytes,7,opt,name=SerialNum,proto3" json:"SerialNum,omitempty"`
	Unknown3       []byte `protobuf:"bytes,8,opt,name=Unknown3,proto3" json:"Unknown3,omitempty"`
	Role           string `protobuf:"bytes,9,opt,name=Role,proto3" json:"Role,omitempty"`
	Domain         string `protobuf:"bytes,10,opt,name=Domain,proto3" json:"Domain,omitempty"`
	Name           string `protobuf:"bytes,11,opt,name=Name,proto3" json:"Name,omitempty"`
	ReplyUnknown1  []byte `protobuf:"bytes,12,opt,name=ReplyUnknown1,proto3" json:"ReplyUnknown1,omitempty"`
	ReplyPort      []byte `protobuf:"bytes,13,opt,name=ReplyPort,proto3" json:"ReplyPort,omitempty"`
	ReplyAddress   []byte `protobuf:"bytes,14,opt,name=ReplyAddress,proto3" json:"ReplyAddress,omitempty"`
	ReplyUnknown2  []byte `protobuf:"bytes,15,opt,name=ReplyUnknown2,proto3" json:"ReplyUnknown2,omitempty"`
	ReplyUnknown3  []byte `protobuf:"bytes,16,opt,name=ReplyUnknown3,proto3" json:"ReplyUnknown3,omitempty"`
}

func (*CDPEnergyWise) Descriptor added in v0.3.9

func (*CDPEnergyWise) Descriptor() ([]byte, []int)

func (*CDPEnergyWise) GetDomain added in v0.3.9

func (m *CDPEnergyWise) GetDomain() string

func (*CDPEnergyWise) GetEncryptedData added in v0.3.9

func (m *CDPEnergyWise) GetEncryptedData() []byte

func (*CDPEnergyWise) GetHardwareID added in v0.3.9

func (m *CDPEnergyWise) GetHardwareID() string

func (*CDPEnergyWise) GetModelNumber added in v0.3.9

func (m *CDPEnergyWise) GetModelNumber() string

func (*CDPEnergyWise) GetName added in v0.3.9

func (m *CDPEnergyWise) GetName() string

func (*CDPEnergyWise) GetReplyAddress added in v0.3.9

func (m *CDPEnergyWise) GetReplyAddress() []byte

func (*CDPEnergyWise) GetReplyPort added in v0.3.9

func (m *CDPEnergyWise) GetReplyPort() []byte

func (*CDPEnergyWise) GetReplyUnknown1 added in v0.3.9

func (m *CDPEnergyWise) GetReplyUnknown1() []byte

func (*CDPEnergyWise) GetReplyUnknown2 added in v0.3.9

func (m *CDPEnergyWise) GetReplyUnknown2() []byte

func (*CDPEnergyWise) GetReplyUnknown3 added in v0.3.9

func (m *CDPEnergyWise) GetReplyUnknown3() []byte

func (*CDPEnergyWise) GetRole added in v0.3.9

func (m *CDPEnergyWise) GetRole() string

func (*CDPEnergyWise) GetSequenceNumber added in v0.3.9

func (m *CDPEnergyWise) GetSequenceNumber() uint32

func (*CDPEnergyWise) GetSerialNum added in v0.3.9

func (m *CDPEnergyWise) GetSerialNum() string

func (*CDPEnergyWise) GetUnknown1 added in v0.3.9

func (m *CDPEnergyWise) GetUnknown1() uint32

func (*CDPEnergyWise) GetUnknown2 added in v0.3.9

func (m *CDPEnergyWise) GetUnknown2() int32

func (*CDPEnergyWise) GetUnknown3 added in v0.3.9

func (m *CDPEnergyWise) GetUnknown3() []byte

func (*CDPEnergyWise) Marshal added in v0.3.9

func (m *CDPEnergyWise) Marshal() (dAtA []byte, err error)

func (*CDPEnergyWise) MarshalTo added in v0.3.9

func (m *CDPEnergyWise) MarshalTo(dAtA []byte) (int, error)

func (*CDPEnergyWise) MarshalToSizedBuffer added in v0.6.6

func (m *CDPEnergyWise) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CDPEnergyWise) ProtoMessage added in v0.3.9

func (*CDPEnergyWise) ProtoMessage()

func (*CDPEnergyWise) Reset added in v0.3.9

func (m *CDPEnergyWise) Reset()

func (*CDPEnergyWise) Size added in v0.3.9

func (m *CDPEnergyWise) Size() (n int)

func (*CDPEnergyWise) String added in v0.3.9

func (m *CDPEnergyWise) String() string

func (*CDPEnergyWise) Unmarshal added in v0.3.9

func (m *CDPEnergyWise) Unmarshal(dAtA []byte) error

func (*CDPEnergyWise) XXX_DiscardUnknown added in v0.3.9

func (m *CDPEnergyWise) XXX_DiscardUnknown()

func (*CDPEnergyWise) XXX_Marshal added in v0.3.9

func (m *CDPEnergyWise) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CDPEnergyWise) XXX_Merge added in v0.3.9

func (m *CDPEnergyWise) XXX_Merge(src proto.Message)

func (*CDPEnergyWise) XXX_Size added in v0.3.9

func (m *CDPEnergyWise) XXX_Size() int

func (*CDPEnergyWise) XXX_Unmarshal added in v0.3.9

func (m *CDPEnergyWise) XXX_Unmarshal(b []byte) error

type CDPHello added in v0.3.9

type CDPHello struct {
	OUI              []byte `protobuf:"bytes,1,opt,name=OUI,proto3" json:"OUI,omitempty"`
	ProtocolID       int32  `protobuf:"varint,2,opt,name=ProtocolID,proto3" json:"ProtocolID,omitempty"`
	ClusterMaster    string `protobuf:"bytes,3,opt,name=ClusterMaster,proto3" json:"ClusterMaster,omitempty"`
	Unknown1         string `protobuf:"bytes,4,opt,name=Unknown1,proto3" json:"Unknown1,omitempty"`
	Version          int32  `protobuf:"varint,5,opt,name=Version,proto3" json:"Version,omitempty"`
	SubVersion       int32  `protobuf:"varint,6,opt,name=SubVersion,proto3" json:"SubVersion,omitempty"`
	Status           int32  `protobuf:"varint,7,opt,name=Status,proto3" json:"Status,omitempty"`
	Unknown2         int32  `protobuf:"varint,8,opt,name=Unknown2,proto3" json:"Unknown2,omitempty"`
	ClusterCommander string `protobuf:"bytes,9,opt,name=ClusterCommander,proto3" json:"ClusterCommander,omitempty"`
	SwitchMAC        string `protobuf:"bytes,10,opt,name=SwitchMAC,proto3" json:"SwitchMAC,omitempty"`
	Unknown3         int32  `protobuf:"varint,11,opt,name=Unknown3,proto3" json:"Unknown3,omitempty"`
	ManagementVLAN   int32  `protobuf:"varint,12,opt,name=ManagementVLAN,proto3" json:"ManagementVLAN,omitempty"`
}

func (*CDPHello) Descriptor added in v0.3.9

func (*CDPHello) Descriptor() ([]byte, []int)

func (*CDPHello) GetClusterCommander added in v0.3.9

func (m *CDPHello) GetClusterCommander() string

func (*CDPHello) GetClusterMaster added in v0.3.9

func (m *CDPHello) GetClusterMaster() string

func (*CDPHello) GetManagementVLAN added in v0.3.9

func (m *CDPHello) GetManagementVLAN() int32

func (*CDPHello) GetOUI added in v0.3.9

func (m *CDPHello) GetOUI() []byte

func (*CDPHello) GetProtocolID added in v0.3.9

func (m *CDPHello) GetProtocolID() int32

func (*CDPHello) GetStatus added in v0.3.9

func (m *CDPHello) GetStatus() int32

func (*CDPHello) GetSubVersion added in v0.3.9

func (m *CDPHello) GetSubVersion() int32

func (*CDPHello) GetSwitchMAC added in v0.3.9

func (m *CDPHello) GetSwitchMAC() string

func (*CDPHello) GetUnknown1 added in v0.3.9

func (m *CDPHello) GetUnknown1() string

func (*CDPHello) GetUnknown2 added in v0.3.9

func (m *CDPHello) GetUnknown2() int32

func (*CDPHello) GetUnknown3 added in v0.3.9

func (m *CDPHello) GetUnknown3() int32

func (*CDPHello) GetVersion added in v0.3.9

func (m *CDPHello) GetVersion() int32

func (*CDPHello) Marshal added in v0.3.9

func (m *CDPHello) Marshal() (dAtA []byte, err error)

func (*CDPHello) MarshalTo added in v0.3.9

func (m *CDPHello) MarshalTo(dAtA []byte) (int, error)

func (*CDPHello) MarshalToSizedBuffer added in v0.6.6

func (m *CDPHello) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CDPHello) ProtoMessage added in v0.3.9

func (*CDPHello) ProtoMessage()

func (*CDPHello) Reset added in v0.3.9

func (m *CDPHello) Reset()

func (*CDPHello) Size added in v0.3.9

func (m *CDPHello) Size() (n int)

func (*CDPHello) String added in v0.3.9

func (m *CDPHello) String() string

func (*CDPHello) Unmarshal added in v0.3.9

func (m *CDPHello) Unmarshal(dAtA []byte) error

func (*CDPHello) XXX_DiscardUnknown added in v0.3.9

func (m *CDPHello) XXX_DiscardUnknown()

func (*CDPHello) XXX_Marshal added in v0.3.9

func (m *CDPHello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CDPHello) XXX_Merge added in v0.3.9

func (m *CDPHello) XXX_Merge(src proto.Message)

func (*CDPHello) XXX_Size added in v0.3.9

func (m *CDPHello) XXX_Size() int

func (*CDPHello) XXX_Unmarshal added in v0.3.9

func (m *CDPHello) XXX_Unmarshal(b []byte) error

type CDPLocation added in v0.3.9

type CDPLocation struct {
	Type     int32  `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Location string `protobuf:"bytes,2,opt,name=Location,proto3" json:"Location,omitempty"`
}

func (*CDPLocation) Descriptor added in v0.3.9

func (*CDPLocation) Descriptor() ([]byte, []int)

func (*CDPLocation) GetLocation added in v0.3.9

func (m *CDPLocation) GetLocation() string

func (*CDPLocation) GetType added in v0.3.9

func (m *CDPLocation) GetType() int32

func (*CDPLocation) Marshal added in v0.3.9

func (m *CDPLocation) Marshal() (dAtA []byte, err error)

func (*CDPLocation) MarshalTo added in v0.3.9

func (m *CDPLocation) MarshalTo(dAtA []byte) (int, error)

func (*CDPLocation) MarshalToSizedBuffer added in v0.6.6

func (m *CDPLocation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CDPLocation) ProtoMessage added in v0.3.9

func (*CDPLocation) ProtoMessage()

func (*CDPLocation) Reset added in v0.3.9

func (m *CDPLocation) Reset()

func (*CDPLocation) Size added in v0.3.9

func (m *CDPLocation) Size() (n int)

func (*CDPLocation) String added in v0.3.9

func (m *CDPLocation) String() string

func (*CDPLocation) Unmarshal added in v0.3.9

func (m *CDPLocation) Unmarshal(dAtA []byte) error

func (*CDPLocation) XXX_DiscardUnknown added in v0.3.9

func (m *CDPLocation) XXX_DiscardUnknown()

func (*CDPLocation) XXX_Marshal added in v0.3.9

func (m *CDPLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CDPLocation) XXX_Merge added in v0.3.9

func (m *CDPLocation) XXX_Merge(src proto.Message)

func (*CDPLocation) XXX_Size added in v0.3.9

func (m *CDPLocation) XXX_Size() int

func (*CDPLocation) XXX_Unmarshal added in v0.3.9

func (m *CDPLocation) XXX_Unmarshal(b []byte) error

type CDPPowerDialogue added in v0.3.9

type CDPPowerDialogue struct {
	ID     int32    `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	MgmtID int32    `protobuf:"varint,2,opt,name=MgmtID,proto3" json:"MgmtID,omitempty"`
	Values []uint32 `protobuf:"varint,3,rep,packed,name=Values,proto3" json:"Values,omitempty"`
}

func (*CDPPowerDialogue) Descriptor added in v0.3.9

func (*CDPPowerDialogue) Descriptor() ([]byte, []int)

func (*CDPPowerDialogue) GetID added in v0.3.9

func (m *CDPPowerDialogue) GetID() int32

func (*CDPPowerDialogue) GetMgmtID added in v0.3.9

func (m *CDPPowerDialogue) GetMgmtID() int32

func (*CDPPowerDialogue) GetValues added in v0.3.9

func (m *CDPPowerDialogue) GetValues() []uint32

func (*CDPPowerDialogue) Marshal added in v0.3.9

func (m *CDPPowerDialogue) Marshal() (dAtA []byte, err error)

func (*CDPPowerDialogue) MarshalTo added in v0.3.9

func (m *CDPPowerDialogue) MarshalTo(dAtA []byte) (int, error)

func (*CDPPowerDialogue) MarshalToSizedBuffer added in v0.6.6

func (m *CDPPowerDialogue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CDPPowerDialogue) ProtoMessage added in v0.3.9

func (*CDPPowerDialogue) ProtoMessage()

func (*CDPPowerDialogue) Reset added in v0.3.9

func (m *CDPPowerDialogue) Reset()

func (*CDPPowerDialogue) Size added in v0.3.9

func (m *CDPPowerDialogue) Size() (n int)

func (*CDPPowerDialogue) String added in v0.3.9

func (m *CDPPowerDialogue) String() string

func (*CDPPowerDialogue) Unmarshal added in v0.3.9

func (m *CDPPowerDialogue) Unmarshal(dAtA []byte) error

func (*CDPPowerDialogue) XXX_DiscardUnknown added in v0.3.9

func (m *CDPPowerDialogue) XXX_DiscardUnknown()

func (*CDPPowerDialogue) XXX_Marshal added in v0.3.9

func (m *CDPPowerDialogue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CDPPowerDialogue) XXX_Merge added in v0.3.9

func (m *CDPPowerDialogue) XXX_Merge(src proto.Message)

func (*CDPPowerDialogue) XXX_Size added in v0.3.9

func (m *CDPPowerDialogue) XXX_Size() int

func (*CDPPowerDialogue) XXX_Unmarshal added in v0.3.9

func (m *CDPPowerDialogue) XXX_Unmarshal(b []byte) error

type CDPSparePairPoE added in v0.3.9

type CDPSparePairPoE struct {
	PSEFourWire  bool `protobuf:"varint,1,opt,name=PSEFourWire,proto3" json:"PSEFourWire,omitempty"`
	PDArchShared bool `protobuf:"varint,2,opt,name=PDArchShared,proto3" json:"PDArchShared,omitempty"`
	PDRequestOn  bool `protobuf:"varint,3,opt,name=PDRequestOn,proto3" json:"PDRequestOn,omitempty"`
	PSEOn        bool `protobuf:"varint,4,opt,name=PSEOn,proto3" json:"PSEOn,omitempty"`
}

func (*CDPSparePairPoE) Descriptor added in v0.3.9

func (*CDPSparePairPoE) Descriptor() ([]byte, []int)

func (*CDPSparePairPoE) GetPDArchShared added in v0.3.9

func (m *CDPSparePairPoE) GetPDArchShared() bool

func (*CDPSparePairPoE) GetPDRequestOn added in v0.3.9

func (m *CDPSparePairPoE) GetPDRequestOn() bool

func (*CDPSparePairPoE) GetPSEFourWire added in v0.3.9

func (m *CDPSparePairPoE) GetPSEFourWire() bool

func (*CDPSparePairPoE) GetPSEOn added in v0.3.9

func (m *CDPSparePairPoE) GetPSEOn() bool

func (*CDPSparePairPoE) Marshal added in v0.3.9

func (m *CDPSparePairPoE) Marshal() (dAtA []byte, err error)

func (*CDPSparePairPoE) MarshalTo added in v0.3.9

func (m *CDPSparePairPoE) MarshalTo(dAtA []byte) (int, error)

func (*CDPSparePairPoE) MarshalToSizedBuffer added in v0.6.6

func (m *CDPSparePairPoE) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CDPSparePairPoE) ProtoMessage added in v0.3.9

func (*CDPSparePairPoE) ProtoMessage()

func (*CDPSparePairPoE) Reset added in v0.3.9

func (m *CDPSparePairPoE) Reset()

func (*CDPSparePairPoE) Size added in v0.3.9

func (m *CDPSparePairPoE) Size() (n int)

func (*CDPSparePairPoE) String added in v0.3.9

func (m *CDPSparePairPoE) String() string

func (*CDPSparePairPoE) Unmarshal added in v0.3.9

func (m *CDPSparePairPoE) Unmarshal(dAtA []byte) error

func (*CDPSparePairPoE) XXX_DiscardUnknown added in v0.3.9

func (m *CDPSparePairPoE) XXX_DiscardUnknown()

func (*CDPSparePairPoE) XXX_Marshal added in v0.3.9

func (m *CDPSparePairPoE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CDPSparePairPoE) XXX_Merge added in v0.3.9

func (m *CDPSparePairPoE) XXX_Merge(src proto.Message)

func (*CDPSparePairPoE) XXX_Size added in v0.3.9

func (m *CDPSparePairPoE) XXX_Size() int

func (*CDPSparePairPoE) XXX_Unmarshal added in v0.3.9

func (m *CDPSparePairPoE) XXX_Unmarshal(b []byte) error

type CDPVLANDialogue added in v0.3.9

type CDPVLANDialogue struct {
	ID   int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	VLAN int32 `protobuf:"varint,2,opt,name=VLAN,proto3" json:"VLAN,omitempty"`
}

func (*CDPVLANDialogue) Descriptor added in v0.3.9

func (*CDPVLANDialogue) Descriptor() ([]byte, []int)

func (*CDPVLANDialogue) GetID added in v0.3.9

func (m *CDPVLANDialogue) GetID() int32

func (*CDPVLANDialogue) GetVLAN added in v0.3.9

func (m *CDPVLANDialogue) GetVLAN() int32

func (*CDPVLANDialogue) Marshal added in v0.3.9

func (m *CDPVLANDialogue) Marshal() (dAtA []byte, err error)

func (*CDPVLANDialogue) MarshalTo added in v0.3.9

func (m *CDPVLANDialogue) MarshalTo(dAtA []byte) (int, error)

func (*CDPVLANDialogue) MarshalToSizedBuffer added in v0.6.6

func (m *CDPVLANDialogue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CDPVLANDialogue) ProtoMessage added in v0.3.9

func (*CDPVLANDialogue) ProtoMessage()

func (*CDPVLANDialogue) Reset added in v0.3.9

func (m *CDPVLANDialogue) Reset()

func (*CDPVLANDialogue) Size added in v0.3.9

func (m *CDPVLANDialogue) Size() (n int)

func (*CDPVLANDialogue) String added in v0.3.9

func (m *CDPVLANDialogue) String() string

func (*CDPVLANDialogue) Unmarshal added in v0.3.9

func (m *CDPVLANDialogue) Unmarshal(dAtA []byte) error

func (*CDPVLANDialogue) XXX_DiscardUnknown added in v0.3.9

func (m *CDPVLANDialogue) XXX_DiscardUnknown()

func (*CDPVLANDialogue) XXX_Marshal added in v0.3.9

func (m *CDPVLANDialogue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CDPVLANDialogue) XXX_Merge added in v0.3.9

func (m *CDPVLANDialogue) XXX_Merge(src proto.Message)

func (*CDPVLANDialogue) XXX_Size added in v0.3.9

func (m *CDPVLANDialogue) XXX_Size() int

func (*CDPVLANDialogue) XXX_Unmarshal added in v0.3.9

func (m *CDPVLANDialogue) XXX_Unmarshal(b []byte) error

type CIP added in v0.4.3

type CIP struct {
	Timestamp        int64    `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Response         bool     `protobuf:"varint,2,opt,name=Response,proto3" json:"Response,omitempty"`
	ServiceID        int32    `protobuf:"varint,3,opt,name=ServiceID,proto3" json:"ServiceID,omitempty"`
	ClassID          uint32   `protobuf:"varint,4,opt,name=ClassID,proto3" json:"ClassID,omitempty"`
	InstanceID       uint32   `protobuf:"varint,5,opt,name=InstanceID,proto3" json:"InstanceID,omitempty"`
	Status           int32    `protobuf:"varint,6,opt,name=Status,proto3" json:"Status,omitempty"`
	AdditionalStatus []uint32 `protobuf:"varint,7,rep,packed,name=AdditionalStatus,proto3" json:"AdditionalStatus,omitempty"`
	Data             []byte   `protobuf:"bytes,8,opt,name=Data,proto3" json:"Data,omitempty"`
	SrcIP            string   `protobuf:"bytes,9,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP            string   `protobuf:"bytes,10,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort          int32    `protobuf:"varint,11,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort          int32    `protobuf:"varint,12,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

The Common Industrial Protocol (CIP) is an industrial protocol for industrial automation applications. CIP encompasses a comprehensive suite of messages and services for the collection of manufacturing automation applications – control, safety, synchronization, motion, configuration and information. It allows users to integrate these manufacturing applications with enterprise-level Ethernet networks and the Internet.

func (*CIP) Analyze added in v0.6.6

func (c *CIP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*CIP) CSVHeader added in v0.4.3

func (c *CIP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*CIP) CSVRecord added in v0.4.3

func (c *CIP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*CIP) Descriptor added in v0.4.3

func (*CIP) Descriptor() ([]byte, []int)

func (*CIP) Dst added in v0.4.3

func (c *CIP) Dst() string

Dst returns the destination address of the audit record.

func (*CIP) Encode added in v0.6.6

func (c *CIP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*CIP) GetAdditionalStatus added in v0.4.3

func (m *CIP) GetAdditionalStatus() []uint32

func (*CIP) GetClassID added in v0.4.3

func (m *CIP) GetClassID() uint32

func (*CIP) GetData added in v0.4.3

func (m *CIP) GetData() []byte

func (*CIP) GetDstIP added in v0.6.6

func (m *CIP) GetDstIP() string

func (*CIP) GetDstPort added in v0.6.6

func (m *CIP) GetDstPort() int32

func (*CIP) GetInstanceID added in v0.4.3

func (m *CIP) GetInstanceID() uint32

func (*CIP) GetResponse added in v0.4.3

func (m *CIP) GetResponse() bool

func (*CIP) GetServiceID added in v0.4.3

func (m *CIP) GetServiceID() int32

func (*CIP) GetSrcIP added in v0.6.6

func (m *CIP) GetSrcIP() string

func (*CIP) GetSrcPort added in v0.6.6

func (m *CIP) GetSrcPort() int32

func (*CIP) GetStatus added in v0.4.3

func (m *CIP) GetStatus() int32

func (*CIP) GetTimestamp added in v0.4.3

func (m *CIP) GetTimestamp() int64

func (*CIP) Inc added in v0.4.3

func (c *CIP) Inc()

Inc increments the metrics for the audit record.

func (*CIP) JSON added in v0.4.3

func (c *CIP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*CIP) Marshal added in v0.4.3

func (m *CIP) Marshal() (dAtA []byte, err error)

func (*CIP) MarshalTo added in v0.4.3

func (m *CIP) MarshalTo(dAtA []byte) (int, error)

func (*CIP) MarshalToSizedBuffer added in v0.6.6

func (m *CIP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CIP) NetcapType added in v0.6.6

func (c *CIP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*CIP) ProtoMessage added in v0.4.3

func (*CIP) ProtoMessage()

func (*CIP) Reset added in v0.4.3

func (m *CIP) Reset()

func (*CIP) SetPacketContext added in v0.4.3

func (c *CIP) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*CIP) Size added in v0.4.3

func (m *CIP) Size() (n int)

func (*CIP) Src added in v0.4.3

func (c *CIP) Src() string

Src returns the source address of the audit record.

func (*CIP) String added in v0.4.3

func (m *CIP) String() string

func (*CIP) Time added in v0.4.3

func (c *CIP) Time() int64

Time returns the timestamp associated with the audit record.

func (*CIP) Unmarshal added in v0.4.3

func (m *CIP) Unmarshal(dAtA []byte) error

func (*CIP) XXX_DiscardUnknown added in v0.4.3

func (m *CIP) XXX_DiscardUnknown()

func (*CIP) XXX_Marshal added in v0.4.3

func (m *CIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CIP) XXX_Merge added in v0.4.3

func (m *CIP) XXX_Merge(src proto.Message)

func (*CIP) XXX_Size added in v0.4.3

func (m *CIP) XXX_Size() int

func (*CIP) XXX_Unmarshal added in v0.4.3

func (m *CIP) XXX_Unmarshal(b []byte) error

type CiscoDiscovery added in v0.3.9

type CiscoDiscovery struct {
	Timestamp int64                  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Version   int32                  `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	TTL       int32                  `protobuf:"varint,3,opt,name=TTL,proto3" json:"TTL,omitempty"`
	Checksum  int32                  `protobuf:"varint,4,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	Values    []*CiscoDiscoveryValue `protobuf:"bytes,5,rep,name=Values,proto3" json:"Values,omitempty"`
}

Cisco Discovery Protocol is a proprietary Data Link Layer protocol developed by Cisco Systems in 1994 by Keith McCloghrie and Dino Farinacci. It is used to share information about other directly connected Cisco equipment, such as the operating system version and IP address.

func (*CiscoDiscovery) Analyze added in v0.6.6

func (cd *CiscoDiscovery) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*CiscoDiscovery) CSVHeader added in v0.3.9

func (cd *CiscoDiscovery) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*CiscoDiscovery) CSVRecord added in v0.3.9

func (cd *CiscoDiscovery) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*CiscoDiscovery) Descriptor added in v0.3.9

func (*CiscoDiscovery) Descriptor() ([]byte, []int)

func (*CiscoDiscovery) Dst added in v0.4.3

func (cd *CiscoDiscovery) Dst() string

Dst returns the destination address of the audit record.

func (*CiscoDiscovery) Encode added in v0.6.6

func (cd *CiscoDiscovery) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*CiscoDiscovery) GetChecksum added in v0.3.9

func (m *CiscoDiscovery) GetChecksum() int32

func (*CiscoDiscovery) GetTTL added in v0.3.9

func (m *CiscoDiscovery) GetTTL() int32

func (*CiscoDiscovery) GetTimestamp added in v0.3.9

func (m *CiscoDiscovery) GetTimestamp() int64

func (*CiscoDiscovery) GetValues added in v0.3.9

func (m *CiscoDiscovery) GetValues() []*CiscoDiscoveryValue

func (*CiscoDiscovery) GetVersion added in v0.3.9

func (m *CiscoDiscovery) GetVersion() int32

func (*CiscoDiscovery) Inc added in v0.4.0

func (cd *CiscoDiscovery) Inc()

Inc increments the metrics for the audit record.

func (*CiscoDiscovery) JSON added in v0.4.0

func (cd *CiscoDiscovery) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*CiscoDiscovery) Marshal added in v0.3.9

func (m *CiscoDiscovery) Marshal() (dAtA []byte, err error)

func (*CiscoDiscovery) MarshalTo added in v0.3.9

func (m *CiscoDiscovery) MarshalTo(dAtA []byte) (int, error)

func (*CiscoDiscovery) MarshalToSizedBuffer added in v0.6.6

func (m *CiscoDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CiscoDiscovery) NetcapType added in v0.6.6

func (cd *CiscoDiscovery) NetcapType() Type

NetcapType returns the type of the current audit record

func (*CiscoDiscovery) ProtoMessage added in v0.3.9

func (*CiscoDiscovery) ProtoMessage()

func (*CiscoDiscovery) Reset added in v0.3.9

func (m *CiscoDiscovery) Reset()

func (*CiscoDiscovery) SetPacketContext added in v0.4.2

func (cd *CiscoDiscovery) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*CiscoDiscovery) Size added in v0.3.9

func (m *CiscoDiscovery) Size() (n int)

func (*CiscoDiscovery) Src added in v0.4.3

func (cd *CiscoDiscovery) Src() string

Src TODO. Src returns the source address of the audit record.

func (*CiscoDiscovery) String added in v0.3.9

func (m *CiscoDiscovery) String() string

func (*CiscoDiscovery) Time added in v0.4.3

func (cd *CiscoDiscovery) Time() int64

Time returns the timestamp associated with the audit record.

func (*CiscoDiscovery) Unmarshal added in v0.3.9

func (m *CiscoDiscovery) Unmarshal(dAtA []byte) error

func (*CiscoDiscovery) XXX_DiscardUnknown added in v0.3.9

func (m *CiscoDiscovery) XXX_DiscardUnknown()

func (*CiscoDiscovery) XXX_Marshal added in v0.3.9

func (m *CiscoDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CiscoDiscovery) XXX_Merge added in v0.3.9

func (m *CiscoDiscovery) XXX_Merge(src proto.Message)

func (*CiscoDiscovery) XXX_Size added in v0.3.9

func (m *CiscoDiscovery) XXX_Size() int

func (*CiscoDiscovery) XXX_Unmarshal added in v0.3.9

func (m *CiscoDiscovery) XXX_Unmarshal(b []byte) error

type CiscoDiscoveryInfo added in v0.3.9

type CiscoDiscoveryInfo struct {
	Timestamp        int64                  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	CDPHello         *CDPHello              `protobuf:"bytes,2,opt,name=CDPHello,proto3" json:"CDPHello,omitempty"`
	DeviceID         string                 `protobuf:"bytes,3,opt,name=DeviceID,proto3" json:"DeviceID,omitempty"`
	Addresses        []string               `protobuf:"bytes,4,rep,name=Addresses,proto3" json:"Addresses,omitempty"`
	PortID           string                 `protobuf:"bytes,5,opt,name=PortID,proto3" json:"PortID,omitempty"`
	Capabilities     *CDPCapabilities       `protobuf:"bytes,6,opt,name=Capabilities,proto3" json:"Capabilities,omitempty"`
	Version          string                 `protobuf:"bytes,7,opt,name=Version,proto3" json:"Version,omitempty"`
	Platform         string                 `protobuf:"bytes,8,opt,name=Platform,proto3" json:"Platform,omitempty"`
	IPPrefixes       []*IPNet               `protobuf:"bytes,9,rep,name=IPPrefixes,proto3" json:"IPPrefixes,omitempty"`
	VTPDomain        string                 `protobuf:"bytes,10,opt,name=VTPDomain,proto3" json:"VTPDomain,omitempty"`
	NativeVLAN       int32                  `protobuf:"varint,11,opt,name=NativeVLAN,proto3" json:"NativeVLAN,omitempty"`
	FullDuplex       bool                   `protobuf:"varint,12,opt,name=FullDuplex,proto3" json:"FullDuplex,omitempty"`
	VLANReply        *CDPVLANDialogue       `protobuf:"bytes,13,opt,name=VLANReply,proto3" json:"VLANReply,omitempty"`
	VLANQuery        *CDPVLANDialogue       `protobuf:"bytes,14,opt,name=VLANQuery,proto3" json:"VLANQuery,omitempty"`
	PowerConsumption int32                  `protobuf:"varint,15,opt,name=PowerConsumption,proto3" json:"PowerConsumption,omitempty"`
	MTU              uint32                 `protobuf:"varint,16,opt,name=MTU,proto3" json:"MTU,omitempty"`
	ExtendedTrust    int32                  `protobuf:"varint,17,opt,name=ExtendedTrust,proto3" json:"ExtendedTrust,omitempty"`
	UntrustedCOS     int32                  `protobuf:"varint,18,opt,name=UntrustedCOS,proto3" json:"UntrustedCOS,omitempty"`
	SysName          string                 `protobuf:"bytes,19,opt,name=SysName,proto3" json:"SysName,omitempty"`
	SysOID           string                 `protobuf:"bytes,20,opt,name=SysOID,proto3" json:"SysOID,omitempty"`
	MgmtAddresses    []string               `protobuf:"bytes,21,rep,name=MgmtAddresses,proto3" json:"MgmtAddresses,omitempty"`
	Location         *CDPLocation           `protobuf:"bytes,22,opt,name=Location,proto3" json:"Location,omitempty"`
	PowerRequest     *CDPPowerDialogue      `protobuf:"bytes,23,opt,name=PowerRequest,proto3" json:"PowerRequest,omitempty"`
	PowerAvailable   *CDPPowerDialogue      `protobuf:"bytes,24,opt,name=PowerAvailable,proto3" json:"PowerAvailable,omitempty"`
	SparePairPoe     *CDPSparePairPoE       `protobuf:"bytes,25,opt,name=SparePairPoe,proto3" json:"SparePairPoe,omitempty"`
	EnergyWise       *CDPEnergyWise         `protobuf:"bytes,26,opt,name=EnergyWise,proto3" json:"EnergyWise,omitempty"`
	Unknown          []*CiscoDiscoveryValue `protobuf:"bytes,27,rep,name=Unknown,proto3" json:"Unknown,omitempty"`
}

func (*CiscoDiscoveryInfo) Analyze added in v0.6.6

func (a *CiscoDiscoveryInfo) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*CiscoDiscoveryInfo) CSVHeader added in v0.3.9

func (a *CiscoDiscoveryInfo) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*CiscoDiscoveryInfo) CSVRecord added in v0.3.9

func (a *CiscoDiscoveryInfo) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*CiscoDiscoveryInfo) Descriptor added in v0.3.9

func (*CiscoDiscoveryInfo) Descriptor() ([]byte, []int)

func (*CiscoDiscoveryInfo) Dst added in v0.4.3

func (a *CiscoDiscoveryInfo) Dst() string

Dst returns the destination address of the audit record.

func (*CiscoDiscoveryInfo) Encode added in v0.6.6

func (a *CiscoDiscoveryInfo) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*CiscoDiscoveryInfo) GetAddresses added in v0.3.9

func (m *CiscoDiscoveryInfo) GetAddresses() []string

func (*CiscoDiscoveryInfo) GetCDPHello added in v0.3.9

func (m *CiscoDiscoveryInfo) GetCDPHello() *CDPHello

func (*CiscoDiscoveryInfo) GetCapabilities added in v0.3.9

func (m *CiscoDiscoveryInfo) GetCapabilities() *CDPCapabilities

func (*CiscoDiscoveryInfo) GetDeviceID added in v0.3.9

func (m *CiscoDiscoveryInfo) GetDeviceID() string

func (*CiscoDiscoveryInfo) GetEnergyWise added in v0.3.9

func (m *CiscoDiscoveryInfo) GetEnergyWise() *CDPEnergyWise

func (*CiscoDiscoveryInfo) GetExtendedTrust added in v0.3.9

func (m *CiscoDiscoveryInfo) GetExtendedTrust() int32

func (*CiscoDiscoveryInfo) GetFullDuplex added in v0.3.9

func (m *CiscoDiscoveryInfo) GetFullDuplex() bool

func (*CiscoDiscoveryInfo) GetIPPrefixes added in v0.3.9

func (m *CiscoDiscoveryInfo) GetIPPrefixes() []*IPNet

func (*CiscoDiscoveryInfo) GetLocation added in v0.3.9

func (m *CiscoDiscoveryInfo) GetLocation() *CDPLocation

func (*CiscoDiscoveryInfo) GetMTU added in v0.3.9

func (m *CiscoDiscoveryInfo) GetMTU() uint32

func (*CiscoDiscoveryInfo) GetMgmtAddresses added in v0.3.9

func (m *CiscoDiscoveryInfo) GetMgmtAddresses() []string

func (*CiscoDiscoveryInfo) GetNativeVLAN added in v0.3.9

func (m *CiscoDiscoveryInfo) GetNativeVLAN() int32

func (*CiscoDiscoveryInfo) GetPlatform added in v0.3.9

func (m *CiscoDiscoveryInfo) GetPlatform() string

func (*CiscoDiscoveryInfo) GetPortID added in v0.3.9

func (m *CiscoDiscoveryInfo) GetPortID() string

func (*CiscoDiscoveryInfo) GetPowerAvailable added in v0.3.9

func (m *CiscoDiscoveryInfo) GetPowerAvailable() *CDPPowerDialogue

func (*CiscoDiscoveryInfo) GetPowerConsumption added in v0.3.9

func (m *CiscoDiscoveryInfo) GetPowerConsumption() int32

func (*CiscoDiscoveryInfo) GetPowerRequest added in v0.3.9

func (m *CiscoDiscoveryInfo) GetPowerRequest() *CDPPowerDialogue

func (*CiscoDiscoveryInfo) GetSparePairPoe added in v0.3.9

func (m *CiscoDiscoveryInfo) GetSparePairPoe() *CDPSparePairPoE

func (*CiscoDiscoveryInfo) GetSysName added in v0.3.9

func (m *CiscoDiscoveryInfo) GetSysName() string

func (*CiscoDiscoveryInfo) GetSysOID added in v0.3.9

func (m *CiscoDiscoveryInfo) GetSysOID() string

func (*CiscoDiscoveryInfo) GetTimestamp added in v0.3.9

func (m *CiscoDiscoveryInfo) GetTimestamp() int64

func (*CiscoDiscoveryInfo) GetUnknown added in v0.3.9

func (m *CiscoDiscoveryInfo) GetUnknown() []*CiscoDiscoveryValue

func (*CiscoDiscoveryInfo) GetUntrustedCOS added in v0.3.9

func (m *CiscoDiscoveryInfo) GetUntrustedCOS() int32

func (*CiscoDiscoveryInfo) GetVLANQuery added in v0.3.9

func (m *CiscoDiscoveryInfo) GetVLANQuery() *CDPVLANDialogue

func (*CiscoDiscoveryInfo) GetVLANReply added in v0.3.9

func (m *CiscoDiscoveryInfo) GetVLANReply() *CDPVLANDialogue

func (*CiscoDiscoveryInfo) GetVTPDomain added in v0.3.9

func (m *CiscoDiscoveryInfo) GetVTPDomain() string

func (*CiscoDiscoveryInfo) GetVersion added in v0.3.9

func (m *CiscoDiscoveryInfo) GetVersion() string

func (*CiscoDiscoveryInfo) Inc added in v0.4.0

func (a *CiscoDiscoveryInfo) Inc()

Inc increments the metrics for the audit record.

func (*CiscoDiscoveryInfo) JSON added in v0.4.0

func (a *CiscoDiscoveryInfo) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*CiscoDiscoveryInfo) Marshal added in v0.3.9

func (m *CiscoDiscoveryInfo) Marshal() (dAtA []byte, err error)

func (*CiscoDiscoveryInfo) MarshalTo added in v0.3.9

func (m *CiscoDiscoveryInfo) MarshalTo(dAtA []byte) (int, error)

func (*CiscoDiscoveryInfo) MarshalToSizedBuffer added in v0.6.6

func (m *CiscoDiscoveryInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CiscoDiscoveryInfo) NetcapType added in v0.6.6

func (a *CiscoDiscoveryInfo) NetcapType() Type

NetcapType returns the type of the current audit record

func (*CiscoDiscoveryInfo) ProtoMessage added in v0.3.9

func (*CiscoDiscoveryInfo) ProtoMessage()

func (*CiscoDiscoveryInfo) Reset added in v0.3.9

func (m *CiscoDiscoveryInfo) Reset()

func (*CiscoDiscoveryInfo) SetPacketContext added in v0.4.2

func (a *CiscoDiscoveryInfo) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*CiscoDiscoveryInfo) Size added in v0.3.9

func (m *CiscoDiscoveryInfo) Size() (n int)

func (*CiscoDiscoveryInfo) Src added in v0.4.3

func (a *CiscoDiscoveryInfo) Src() string

Src TODO. Src returns the source address of the audit record.

func (*CiscoDiscoveryInfo) String added in v0.3.9

func (m *CiscoDiscoveryInfo) String() string

func (*CiscoDiscoveryInfo) Time added in v0.4.3

func (a *CiscoDiscoveryInfo) Time() int64

Time returns the timestamp associated with the audit record.

func (*CiscoDiscoveryInfo) Unmarshal added in v0.3.9

func (m *CiscoDiscoveryInfo) Unmarshal(dAtA []byte) error

func (*CiscoDiscoveryInfo) XXX_DiscardUnknown added in v0.3.9

func (m *CiscoDiscoveryInfo) XXX_DiscardUnknown()

func (*CiscoDiscoveryInfo) XXX_Marshal added in v0.3.9

func (m *CiscoDiscoveryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CiscoDiscoveryInfo) XXX_Merge added in v0.3.9

func (m *CiscoDiscoveryInfo) XXX_Merge(src proto.Message)

func (*CiscoDiscoveryInfo) XXX_Size added in v0.3.9

func (m *CiscoDiscoveryInfo) XXX_Size() int

func (*CiscoDiscoveryInfo) XXX_Unmarshal added in v0.3.9

func (m *CiscoDiscoveryInfo) XXX_Unmarshal(b []byte) error

type CiscoDiscoveryValue added in v0.3.9

type CiscoDiscoveryValue struct {
	Type   int32  `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Length int32  `protobuf:"varint,2,opt,name=Length,proto3" json:"Length,omitempty"`
	Value  []byte `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"`
}

func (*CiscoDiscoveryValue) Descriptor added in v0.3.9

func (*CiscoDiscoveryValue) Descriptor() ([]byte, []int)

func (*CiscoDiscoveryValue) GetLength added in v0.3.9

func (m *CiscoDiscoveryValue) GetLength() int32

func (*CiscoDiscoveryValue) GetType added in v0.3.9

func (m *CiscoDiscoveryValue) GetType() int32

func (*CiscoDiscoveryValue) GetValue added in v0.3.9

func (m *CiscoDiscoveryValue) GetValue() []byte

func (*CiscoDiscoveryValue) Marshal added in v0.3.9

func (m *CiscoDiscoveryValue) Marshal() (dAtA []byte, err error)

func (*CiscoDiscoveryValue) MarshalTo added in v0.3.9

func (m *CiscoDiscoveryValue) MarshalTo(dAtA []byte) (int, error)

func (*CiscoDiscoveryValue) MarshalToSizedBuffer added in v0.6.6

func (m *CiscoDiscoveryValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CiscoDiscoveryValue) ProtoMessage added in v0.3.9

func (*CiscoDiscoveryValue) ProtoMessage()

func (*CiscoDiscoveryValue) Reset added in v0.3.9

func (m *CiscoDiscoveryValue) Reset()

func (*CiscoDiscoveryValue) Size added in v0.3.9

func (m *CiscoDiscoveryValue) Size() (n int)

func (*CiscoDiscoveryValue) String added in v0.3.9

func (m *CiscoDiscoveryValue) String() string

func (*CiscoDiscoveryValue) Unmarshal added in v0.3.9

func (m *CiscoDiscoveryValue) Unmarshal(dAtA []byte) error

func (*CiscoDiscoveryValue) XXX_DiscardUnknown added in v0.3.9

func (m *CiscoDiscoveryValue) XXX_DiscardUnknown()

func (*CiscoDiscoveryValue) XXX_Marshal added in v0.3.9

func (m *CiscoDiscoveryValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CiscoDiscoveryValue) XXX_Merge added in v0.3.9

func (m *CiscoDiscoveryValue) XXX_Merge(src proto.Message)

func (*CiscoDiscoveryValue) XXX_Size added in v0.3.9

func (m *CiscoDiscoveryValue) XXX_Size() int

func (*CiscoDiscoveryValue) XXX_Unmarshal added in v0.3.9

func (m *CiscoDiscoveryValue) XXX_Unmarshal(b []byte) error

type Connection

type Connection struct {
	TimestampFirst      int64  `protobuf:"varint,1,opt,name=TimestampFirst,proto3" json:"TimestampFirst,omitempty"`
	LinkProto           string `protobuf:"bytes,2,opt,name=LinkProto,proto3" json:"LinkProto,omitempty"`
	NetworkProto        string `protobuf:"bytes,3,opt,name=NetworkProto,proto3" json:"NetworkProto,omitempty"`
	TransportProto      string `protobuf:"bytes,4,opt,name=TransportProto,proto3" json:"TransportProto,omitempty"`
	ApplicationProto    string `protobuf:"bytes,5,opt,name=ApplicationProto,proto3" json:"ApplicationProto,omitempty"`
	SrcMAC              string `protobuf:"bytes,6,opt,name=SrcMAC,proto3" json:"SrcMAC,omitempty"`
	DstMAC              string `protobuf:"bytes,7,opt,name=DstMAC,proto3" json:"DstMAC,omitempty"`
	SrcIP               string `protobuf:"bytes,8,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	SrcPort             string `protobuf:"bytes,9,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstIP               string `protobuf:"bytes,10,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	DstPort             string `protobuf:"bytes,11,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
	TotalSize           int32  `protobuf:"varint,12,opt,name=TotalSize,proto3" json:"TotalSize,omitempty"`
	AppPayloadSize      int32  `protobuf:"varint,13,opt,name=AppPayloadSize,proto3" json:"AppPayloadSize,omitempty"`
	NumPackets          int32  `protobuf:"varint,14,opt,name=NumPackets,proto3" json:"NumPackets,omitempty"`
	UID                 string `protobuf:"bytes,15,opt,name=UID,proto3" json:"UID,omitempty"`
	TimestampLast       int64  `protobuf:"varint,16,opt,name=TimestampLast,proto3" json:"TimestampLast,omitempty"`
	Duration            int64  `protobuf:"varint,17,opt,name=Duration,proto3" json:"Duration,omitempty"`
	BytesServerToClient int64  `protobuf:"varint,18,opt,name=BytesServerToClient,proto3" json:"BytesServerToClient,omitempty"`
	BytesClientToServer int64  `protobuf:"varint,19,opt,name=BytesClientToServer,proto3" json:"BytesClientToServer,omitempty"`
	// tcp flags
	NumFINFlags int32 `protobuf:"varint,20,opt,name=NumFINFlags,proto3" json:"NumFINFlags,omitempty"`
	NumRSTFlags int32 `protobuf:"varint,21,opt,name=NumRSTFlags,proto3" json:"NumRSTFlags,omitempty"`
	NumACKFlags int32 `protobuf:"varint,22,opt,name=NumACKFlags,proto3" json:"NumACKFlags,omitempty"`
	NumSYNFlags int32 `protobuf:"varint,23,opt,name=NumSYNFlags,proto3" json:"NumSYNFlags,omitempty"`
	NumURGFlags int32 `protobuf:"varint,24,opt,name=NumURGFlags,proto3" json:"NumURGFlags,omitempty"`
	NumECEFlags int32 `protobuf:"varint,25,opt,name=NumECEFlags,proto3" json:"NumECEFlags,omitempty"`
	NumPSHFlags int32 `protobuf:"varint,26,opt,name=NumPSHFlags,proto3" json:"NumPSHFlags,omitempty"`
	NumCWRFlags int32 `protobuf:"varint,27,opt,name=NumCWRFlags,proto3" json:"NumCWRFlags,omitempty"`
	NumNSFlags  int32 `protobuf:"varint,28,opt,name=NumNSFlags,proto3" json:"NumNSFlags,omitempty"`
	// tcp window size
	MeanWindowSize int32 `protobuf:"varint,29,opt,name=MeanWindowSize,proto3" json:"MeanWindowSize,omitempty"`
}

a connection has the following attributes: Mac <-> Mac bidirectional Mac IP <-> IP bidirectional IP Port <-> Port bidirectional Port

func (*Connection) Analyze added in v0.6.6

func (c *Connection) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Connection) CSVHeader

func (c *Connection) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Connection) CSVRecord

func (c *Connection) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Connection) Descriptor

func (*Connection) Descriptor() ([]byte, []int)

func (*Connection) Dst added in v0.4.3

func (c *Connection) Dst() string

Dst returns the destination address of the audit record.

func (*Connection) Encode added in v0.6.6

func (c *Connection) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Connection) GetAppPayloadSize

func (m *Connection) GetAppPayloadSize() int32

func (*Connection) GetApplicationProto

func (m *Connection) GetApplicationProto() string

func (*Connection) GetBytesClientToServer added in v0.6.6

func (m *Connection) GetBytesClientToServer() int64

func (*Connection) GetBytesServerToClient added in v0.6.6

func (m *Connection) GetBytesServerToClient() int64

func (*Connection) GetDstIP

func (m *Connection) GetDstIP() string

func (*Connection) GetDstMAC

func (m *Connection) GetDstMAC() string

func (*Connection) GetDstPort

func (m *Connection) GetDstPort() string

func (*Connection) GetDuration

func (m *Connection) GetDuration() int64

func (*Connection) GetLinkProto

func (m *Connection) GetLinkProto() string

func (*Connection) GetMeanWindowSize added in v0.6.6

func (m *Connection) GetMeanWindowSize() int32

func (*Connection) GetNetworkProto

func (m *Connection) GetNetworkProto() string

func (*Connection) GetNumACKFlags added in v0.6.6

func (m *Connection) GetNumACKFlags() int32

func (*Connection) GetNumCWRFlags added in v0.6.6

func (m *Connection) GetNumCWRFlags() int32

func (*Connection) GetNumECEFlags added in v0.6.6

func (m *Connection) GetNumECEFlags() int32

func (*Connection) GetNumFINFlags added in v0.6.6

func (m *Connection) GetNumFINFlags() int32

func (*Connection) GetNumNSFlags added in v0.6.6

func (m *Connection) GetNumNSFlags() int32

func (*Connection) GetNumPSHFlags added in v0.6.6

func (m *Connection) GetNumPSHFlags() int32

func (*Connection) GetNumPackets

func (m *Connection) GetNumPackets() int32

func (*Connection) GetNumRSTFlags added in v0.6.6

func (m *Connection) GetNumRSTFlags() int32

func (*Connection) GetNumSYNFlags added in v0.6.6

func (m *Connection) GetNumSYNFlags() int32

func (*Connection) GetNumURGFlags added in v0.6.6

func (m *Connection) GetNumURGFlags() int32

func (*Connection) GetSrcIP

func (m *Connection) GetSrcIP() string

func (*Connection) GetSrcMAC

func (m *Connection) GetSrcMAC() string

func (*Connection) GetSrcPort

func (m *Connection) GetSrcPort() string

func (*Connection) GetTimestampFirst

func (m *Connection) GetTimestampFirst() int64

func (*Connection) GetTimestampLast

func (m *Connection) GetTimestampLast() int64

func (*Connection) GetTotalSize added in v0.3.9

func (m *Connection) GetTotalSize() int32

func (*Connection) GetTransportProto

func (m *Connection) GetTransportProto() string

func (*Connection) GetUID

func (m *Connection) GetUID() string

func (*Connection) Inc added in v0.4.0

func (c *Connection) Inc()

Inc increments the metrics for the audit record.

func (*Connection) JSON added in v0.4.0

func (c *Connection) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Connection) Marshal added in v0.3.9

func (m *Connection) Marshal() (dAtA []byte, err error)

func (*Connection) MarshalTo added in v0.3.9

func (m *Connection) MarshalTo(dAtA []byte) (int, error)

func (*Connection) MarshalToSizedBuffer added in v0.6.6

func (m *Connection) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Connection) NetcapType added in v0.6.6

func (c *Connection) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) Reset

func (m *Connection) Reset()

func (*Connection) SetPacketContext added in v0.4.3

func (c *Connection) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Connection) Size

func (m *Connection) Size() (n int)

func (*Connection) Src added in v0.4.3

func (c *Connection) Src() string

Src returns the source address of the audit record.

func (*Connection) String

func (m *Connection) String() string

func (*Connection) Time added in v0.4.3

func (c *Connection) Time() int64

Time returns the timestamp associated with the audit record.

func (*Connection) Unmarshal added in v0.3.9

func (m *Connection) Unmarshal(dAtA []byte) error

func (*Connection) XXX_DiscardUnknown

func (m *Connection) XXX_DiscardUnknown()

func (*Connection) XXX_Marshal

func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Connection) XXX_Merge

func (m *Connection) XXX_Merge(src proto.Message)

func (*Connection) XXX_Size

func (m *Connection) XXX_Size() int

func (*Connection) XXX_Unmarshal

func (m *Connection) XXX_Unmarshal(b []byte) error

type Credentials added in v0.6.6

type Credentials struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Service   string `protobuf:"bytes,2,opt,name=Service,proto3" json:"Service,omitempty"`
	Flow      string `protobuf:"bytes,3,opt,name=Flow,proto3" json:"Flow,omitempty"`
	User      string `protobuf:"bytes,4,opt,name=User,proto3" json:"User,omitempty"`
	Password  string `protobuf:"bytes,5,opt,name=Password,proto3" json:"Password,omitempty"`
	Notes     string `protobuf:"bytes,6,opt,name=Notes,proto3" json:"Notes,omitempty"`
}

func (*Credentials) Analyze added in v0.6.6

func (c *Credentials) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Credentials) CSVHeader added in v0.6.6

func (c *Credentials) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Credentials) CSVRecord added in v0.6.6

func (c *Credentials) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Credentials) Descriptor added in v0.6.6

func (*Credentials) Descriptor() ([]byte, []int)

func (*Credentials) Dst added in v0.6.6

func (c *Credentials) Dst() string

Dst TODO: preserve source and destination mac adresses for Credentials and return them here. Dst returns the destination address of the audit record.

func (*Credentials) Encode added in v0.6.6

func (c *Credentials) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Credentials) GetFlow added in v0.6.6

func (m *Credentials) GetFlow() string

func (*Credentials) GetNotes added in v0.6.6

func (m *Credentials) GetNotes() string

func (*Credentials) GetPassword added in v0.6.6

func (m *Credentials) GetPassword() string

func (*Credentials) GetService added in v0.6.6

func (m *Credentials) GetService() string

func (*Credentials) GetTimestamp added in v0.6.6

func (m *Credentials) GetTimestamp() int64

func (*Credentials) GetUser added in v0.6.6

func (m *Credentials) GetUser() string

func (*Credentials) Inc added in v0.6.6

func (c *Credentials) Inc()

Inc increments the metrics for the audit record.

func (*Credentials) JSON added in v0.6.6

func (c *Credentials) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Credentials) Marshal added in v0.6.6

func (m *Credentials) Marshal() (dAtA []byte, err error)

func (*Credentials) MarshalTo added in v0.6.6

func (m *Credentials) MarshalTo(dAtA []byte) (int, error)

func (*Credentials) MarshalToSizedBuffer added in v0.6.6

func (m *Credentials) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Credentials) NetcapType added in v0.6.6

func (c *Credentials) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Credentials) ProtoMessage added in v0.6.6

func (*Credentials) ProtoMessage()

func (*Credentials) Reset added in v0.6.6

func (m *Credentials) Reset()

func (*Credentials) SetPacketContext added in v0.6.6

func (a *Credentials) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Credentials) Size added in v0.6.6

func (m *Credentials) Size() (n int)

func (*Credentials) Src added in v0.6.6

func (c *Credentials) Src() string

Src TODO: preserve source and destination mac adresses for Credentials and return them here. Src returns the source address of the audit record.

func (*Credentials) String added in v0.6.6

func (m *Credentials) String() string

func (*Credentials) Time added in v0.6.6

func (c *Credentials) Time() int64

Time returns the timestamp associated with the audit record.

func (*Credentials) Unmarshal added in v0.6.6

func (m *Credentials) Unmarshal(dAtA []byte) error

func (*Credentials) XXX_DiscardUnknown added in v0.6.6

func (m *Credentials) XXX_DiscardUnknown()

func (*Credentials) XXX_Marshal added in v0.6.6

func (m *Credentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Credentials) XXX_Merge added in v0.6.6

func (m *Credentials) XXX_Merge(src proto.Message)

func (*Credentials) XXX_Size added in v0.6.6

func (m *Credentials) XXX_Size() int

func (*Credentials) XXX_Unmarshal added in v0.6.6

func (m *Credentials) XXX_Unmarshal(b []byte) error

type DHCPOption

type DHCPOption struct {
	Type   int32  `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Length int32  `protobuf:"varint,2,opt,name=Length,proto3" json:"Length,omitempty"`
	Data   string `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
}

func (*DHCPOption) Descriptor

func (*DHCPOption) Descriptor() ([]byte, []int)

func (*DHCPOption) GetData

func (m *DHCPOption) GetData() string

func (*DHCPOption) GetLength

func (m *DHCPOption) GetLength() int32

func (*DHCPOption) GetType

func (m *DHCPOption) GetType() int32

func (*DHCPOption) Marshal added in v0.3.9

func (m *DHCPOption) Marshal() (dAtA []byte, err error)

func (*DHCPOption) MarshalTo added in v0.3.9

func (m *DHCPOption) MarshalTo(dAtA []byte) (int, error)

func (*DHCPOption) MarshalToSizedBuffer added in v0.6.6

func (m *DHCPOption) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DHCPOption) ProtoMessage

func (*DHCPOption) ProtoMessage()

func (*DHCPOption) Reset

func (m *DHCPOption) Reset()

func (*DHCPOption) Size added in v0.3.9

func (m *DHCPOption) Size() (n int)

func (*DHCPOption) String

func (m *DHCPOption) String() string

func (*DHCPOption) Unmarshal added in v0.3.9

func (m *DHCPOption) Unmarshal(dAtA []byte) error

func (*DHCPOption) XXX_DiscardUnknown

func (m *DHCPOption) XXX_DiscardUnknown()

func (*DHCPOption) XXX_Marshal

func (m *DHCPOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DHCPOption) XXX_Merge

func (m *DHCPOption) XXX_Merge(src proto.Message)

func (*DHCPOption) XXX_Size

func (m *DHCPOption) XXX_Size() int

func (*DHCPOption) XXX_Unmarshal

func (m *DHCPOption) XXX_Unmarshal(b []byte) error

type DHCPv4

type DHCPv4 struct {
	Timestamp    int64         `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Operation    int32         `protobuf:"varint,2,opt,name=Operation,proto3" json:"Operation,omitempty"`
	HardwareType int32         `protobuf:"varint,3,opt,name=HardwareType,proto3" json:"HardwareType,omitempty"`
	HardwareLen  int32         `protobuf:"varint,4,opt,name=HardwareLen,proto3" json:"HardwareLen,omitempty"`
	HardwareOpts int32         `protobuf:"varint,5,opt,name=HardwareOpts,proto3" json:"HardwareOpts,omitempty"`
	Xid          uint32        `protobuf:"varint,6,opt,name=Xid,proto3" json:"Xid,omitempty"`
	Secs         int32         `protobuf:"varint,7,opt,name=Secs,proto3" json:"Secs,omitempty"`
	Flags        int32         `protobuf:"varint,8,opt,name=Flags,proto3" json:"Flags,omitempty"`
	ClientIP     string        `protobuf:"bytes,9,opt,name=ClientIP,proto3" json:"ClientIP,omitempty"`
	YourClientIP string        `protobuf:"bytes,10,opt,name=YourClientIP,proto3" json:"YourClientIP,omitempty"`
	NextServerIP string        `protobuf:"bytes,11,opt,name=NextServerIP,proto3" json:"NextServerIP,omitempty"`
	RelayAgentIP string        `protobuf:"bytes,12,opt,name=RelayAgentIP,proto3" json:"RelayAgentIP,omitempty"`
	ClientHWAddr string        `protobuf:"bytes,13,opt,name=ClientHWAddr,proto3" json:"ClientHWAddr,omitempty"`
	ServerName   []byte        `protobuf:"bytes,14,opt,name=ServerName,proto3" json:"ServerName,omitempty"`
	File         []byte        `protobuf:"bytes,15,opt,name=File,proto3" json:"File,omitempty"`
	Options      []*DHCPOption `protobuf:"bytes,16,rep,name=Options,proto3" json:"Options,omitempty"`
	Fingerprint  string        `protobuf:"bytes,17,opt,name=Fingerprint,proto3" json:"Fingerprint,omitempty"`
	SrcIP        string        `protobuf:"bytes,18,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP        string        `protobuf:"bytes,19,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort      int32         `protobuf:"varint,20,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort      int32         `protobuf:"varint,21,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

func (*DHCPv4) Analyze added in v0.6.6

func (d *DHCPv4) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*DHCPv4) CSVHeader

func (d *DHCPv4) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*DHCPv4) CSVRecord

func (d *DHCPv4) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*DHCPv4) Descriptor

func (*DHCPv4) Descriptor() ([]byte, []int)

func (*DHCPv4) Dst added in v0.4.3

func (d *DHCPv4) Dst() string

Dst returns the destination address of the audit record.

func (*DHCPv4) Encode added in v0.6.6

func (d *DHCPv4) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*DHCPv4) GetClientHWAddr

func (m *DHCPv4) GetClientHWAddr() string

func (*DHCPv4) GetClientIP

func (m *DHCPv4) GetClientIP() string

func (*DHCPv4) GetDstIP added in v0.6.6

func (m *DHCPv4) GetDstIP() string

func (*DHCPv4) GetDstPort added in v0.6.6

func (m *DHCPv4) GetDstPort() int32

func (*DHCPv4) GetFile

func (m *DHCPv4) GetFile() []byte

func (*DHCPv4) GetFingerprint added in v0.6.6

func (m *DHCPv4) GetFingerprint() string

func (*DHCPv4) GetFlags

func (m *DHCPv4) GetFlags() int32

func (*DHCPv4) GetHardwareLen

func (m *DHCPv4) GetHardwareLen() int32

func (*DHCPv4) GetHardwareOpts

func (m *DHCPv4) GetHardwareOpts() int32

func (*DHCPv4) GetHardwareType

func (m *DHCPv4) GetHardwareType() int32

func (*DHCPv4) GetNextServerIP

func (m *DHCPv4) GetNextServerIP() string

func (*DHCPv4) GetOperation

func (m *DHCPv4) GetOperation() int32

func (*DHCPv4) GetOptions

func (m *DHCPv4) GetOptions() []*DHCPOption

func (*DHCPv4) GetRelayAgentIP

func (m *DHCPv4) GetRelayAgentIP() string

func (*DHCPv4) GetSecs

func (m *DHCPv4) GetSecs() int32

func (*DHCPv4) GetServerName

func (m *DHCPv4) GetServerName() []byte

func (*DHCPv4) GetSrcIP added in v0.6.6

func (m *DHCPv4) GetSrcIP() string

func (*DHCPv4) GetSrcPort added in v0.6.6

func (m *DHCPv4) GetSrcPort() int32

func (*DHCPv4) GetTimestamp

func (m *DHCPv4) GetTimestamp() int64

func (*DHCPv4) GetXid

func (m *DHCPv4) GetXid() uint32

func (*DHCPv4) GetYourClientIP

func (m *DHCPv4) GetYourClientIP() string

func (*DHCPv4) Inc added in v0.4.0

func (d *DHCPv4) Inc()

Inc increments the metrics for the audit record.

func (*DHCPv4) JSON added in v0.4.0

func (d *DHCPv4) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*DHCPv4) Marshal added in v0.3.9

func (m *DHCPv4) Marshal() (dAtA []byte, err error)

func (*DHCPv4) MarshalTo added in v0.3.9

func (m *DHCPv4) MarshalTo(dAtA []byte) (int, error)

func (*DHCPv4) MarshalToSizedBuffer added in v0.6.6

func (m *DHCPv4) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DHCPv4) NetcapType added in v0.6.6

func (d *DHCPv4) NetcapType() Type

NetcapType returns the type of the current audit record

func (*DHCPv4) ProtoMessage

func (*DHCPv4) ProtoMessage()

func (*DHCPv4) Reset

func (m *DHCPv4) Reset()

func (*DHCPv4) SetPacketContext added in v0.4.2

func (d *DHCPv4) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*DHCPv4) Size added in v0.3.9

func (m *DHCPv4) Size() (n int)

func (*DHCPv4) Src added in v0.4.3

func (d *DHCPv4) Src() string

Src returns the source address of the audit record.

func (*DHCPv4) String

func (m *DHCPv4) String() string

func (*DHCPv4) Time added in v0.4.3

func (d *DHCPv4) Time() int64

Time returns the timestamp associated with the audit record.

func (*DHCPv4) Unmarshal added in v0.3.9

func (m *DHCPv4) Unmarshal(dAtA []byte) error

func (*DHCPv4) XXX_DiscardUnknown

func (m *DHCPv4) XXX_DiscardUnknown()

func (*DHCPv4) XXX_Marshal

func (m *DHCPv4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DHCPv4) XXX_Merge

func (m *DHCPv4) XXX_Merge(src proto.Message)

func (*DHCPv4) XXX_Size

func (m *DHCPv4) XXX_Size() int

func (*DHCPv4) XXX_Unmarshal

func (m *DHCPv4) XXX_Unmarshal(b []byte) error

type DHCPv6

type DHCPv6 struct {
	Timestamp     int64           `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	MsgType       int32           `protobuf:"varint,2,opt,name=MsgType,proto3" json:"MsgType,omitempty"`
	HopCount      int32           `protobuf:"varint,3,opt,name=HopCount,proto3" json:"HopCount,omitempty"`
	LinkAddr      string          `protobuf:"bytes,4,opt,name=LinkAddr,proto3" json:"LinkAddr,omitempty"`
	PeerAddr      string          `protobuf:"bytes,5,opt,name=PeerAddr,proto3" json:"PeerAddr,omitempty"`
	TransactionID []byte          `protobuf:"bytes,6,opt,name=TransactionID,proto3" json:"TransactionID,omitempty"`
	Options       []*DHCPv6Option `protobuf:"bytes,7,rep,name=Options,proto3" json:"Options,omitempty"`
	Fingerprint   string          `protobuf:"bytes,8,opt,name=Fingerprint,proto3" json:"Fingerprint,omitempty"`
	SrcIP         string          `protobuf:"bytes,9,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP         string          `protobuf:"bytes,10,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort       int32           `protobuf:"varint,11,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort       int32           `protobuf:"varint,12,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

func (*DHCPv6) Analyze added in v0.6.6

func (d *DHCPv6) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*DHCPv6) CSVHeader

func (d *DHCPv6) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*DHCPv6) CSVRecord

func (d *DHCPv6) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*DHCPv6) Descriptor

func (*DHCPv6) Descriptor() ([]byte, []int)

func (*DHCPv6) Dst added in v0.4.3

func (d *DHCPv6) Dst() string

Dst returns the destination address of the audit record.

func (*DHCPv6) Encode added in v0.6.6

func (d *DHCPv6) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*DHCPv6) GetDstIP added in v0.6.6

func (m *DHCPv6) GetDstIP() string

func (*DHCPv6) GetDstPort added in v0.6.6

func (m *DHCPv6) GetDstPort() int32

func (*DHCPv6) GetFingerprint added in v0.6.6

func (m *DHCPv6) GetFingerprint() string

func (*DHCPv6) GetHopCount

func (m *DHCPv6) GetHopCount() int32

func (*DHCPv6) GetLinkAddr

func (m *DHCPv6) GetLinkAddr() string

func (*DHCPv6) GetMsgType

func (m *DHCPv6) GetMsgType() int32

func (*DHCPv6) GetOptions

func (m *DHCPv6) GetOptions() []*DHCPv6Option

func (*DHCPv6) GetPeerAddr

func (m *DHCPv6) GetPeerAddr() string

func (*DHCPv6) GetSrcIP added in v0.6.6

func (m *DHCPv6) GetSrcIP() string

func (*DHCPv6) GetSrcPort added in v0.6.6

func (m *DHCPv6) GetSrcPort() int32

func (*DHCPv6) GetTimestamp

func (m *DHCPv6) GetTimestamp() int64

func (*DHCPv6) GetTransactionID

func (m *DHCPv6) GetTransactionID() []byte

func (*DHCPv6) Inc added in v0.4.0

func (d *DHCPv6) Inc()

Inc increments the metrics for the audit record.

func (*DHCPv6) JSON added in v0.4.0

func (d *DHCPv6) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*DHCPv6) Marshal added in v0.3.9

func (m *DHCPv6) Marshal() (dAtA []byte, err error)

func (*DHCPv6) MarshalTo added in v0.3.9

func (m *DHCPv6) MarshalTo(dAtA []byte) (int, error)

func (*DHCPv6) MarshalToSizedBuffer added in v0.6.6

func (m *DHCPv6) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DHCPv6) NetcapType added in v0.6.6

func (d *DHCPv6) NetcapType() Type

NetcapType returns the type of the current audit record

func (*DHCPv6) ProtoMessage

func (*DHCPv6) ProtoMessage()

func (*DHCPv6) Reset

func (m *DHCPv6) Reset()

func (*DHCPv6) SetPacketContext added in v0.4.2

func (d *DHCPv6) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*DHCPv6) Size added in v0.3.9

func (m *DHCPv6) Size() (n int)

func (*DHCPv6) Src added in v0.4.3

func (d *DHCPv6) Src() string

Src returns the source address of the audit record.

func (*DHCPv6) String

func (m *DHCPv6) String() string

func (*DHCPv6) Time added in v0.4.3

func (d *DHCPv6) Time() int64

Time returns the timestamp associated with the audit record.

func (*DHCPv6) Unmarshal added in v0.3.9

func (m *DHCPv6) Unmarshal(dAtA []byte) error

func (*DHCPv6) XXX_DiscardUnknown

func (m *DHCPv6) XXX_DiscardUnknown()

func (*DHCPv6) XXX_Marshal

func (m *DHCPv6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DHCPv6) XXX_Merge

func (m *DHCPv6) XXX_Merge(src proto.Message)

func (*DHCPv6) XXX_Size

func (m *DHCPv6) XXX_Size() int

func (*DHCPv6) XXX_Unmarshal

func (m *DHCPv6) XXX_Unmarshal(b []byte) error

type DHCPv6Option

type DHCPv6Option struct {
	Code   int32  `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
	Length int32  `protobuf:"varint,2,opt,name=Length,proto3" json:"Length,omitempty"`
	Data   string `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
}

func (*DHCPv6Option) Descriptor

func (*DHCPv6Option) Descriptor() ([]byte, []int)

func (*DHCPv6Option) GetCode

func (m *DHCPv6Option) GetCode() int32

func (*DHCPv6Option) GetData

func (m *DHCPv6Option) GetData() string

func (*DHCPv6Option) GetLength

func (m *DHCPv6Option) GetLength() int32

func (*DHCPv6Option) Marshal added in v0.3.9

func (m *DHCPv6Option) Marshal() (dAtA []byte, err error)

func (*DHCPv6Option) MarshalTo added in v0.3.9

func (m *DHCPv6Option) MarshalTo(dAtA []byte) (int, error)

func (*DHCPv6Option) MarshalToSizedBuffer added in v0.6.6

func (m *DHCPv6Option) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DHCPv6Option) ProtoMessage

func (*DHCPv6Option) ProtoMessage()

func (*DHCPv6Option) Reset

func (m *DHCPv6Option) Reset()

func (*DHCPv6Option) Size added in v0.3.9

func (m *DHCPv6Option) Size() (n int)

func (*DHCPv6Option) String

func (m *DHCPv6Option) String() string

func (*DHCPv6Option) Unmarshal added in v0.3.9

func (m *DHCPv6Option) Unmarshal(dAtA []byte) error

func (*DHCPv6Option) XXX_DiscardUnknown

func (m *DHCPv6Option) XXX_DiscardUnknown()

func (*DHCPv6Option) XXX_Marshal

func (m *DHCPv6Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DHCPv6Option) XXX_Merge

func (m *DHCPv6Option) XXX_Merge(src proto.Message)

func (*DHCPv6Option) XXX_Size

func (m *DHCPv6Option) XXX_Size() int

func (*DHCPv6Option) XXX_Unmarshal

func (m *DHCPv6Option) XXX_Unmarshal(b []byte) error

type DNS

type DNS struct {
	Timestamp int64 `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	// Header fields
	ID           int32 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"`
	QR           bool  `protobuf:"varint,3,opt,name=QR,proto3" json:"QR,omitempty"`
	OpCode       int32 `protobuf:"varint,4,opt,name=OpCode,proto3" json:"OpCode,omitempty"`
	AA           bool  `protobuf:"varint,5,opt,name=AA,proto3" json:"AA,omitempty"`
	TC           bool  `protobuf:"varint,6,opt,name=TC,proto3" json:"TC,omitempty"`
	RD           bool  `protobuf:"varint,7,opt,name=RD,proto3" json:"RD,omitempty"`
	RA           bool  `protobuf:"varint,8,opt,name=RA,proto3" json:"RA,omitempty"`
	Z            int32 `protobuf:"varint,9,opt,name=Z,proto3" json:"Z,omitempty"`
	ResponseCode int32 `protobuf:"varint,10,opt,name=ResponseCode,proto3" json:"ResponseCode,omitempty"`
	QDCount      int32 `protobuf:"varint,11,opt,name=QDCount,proto3" json:"QDCount,omitempty"`
	ANCount      int32 `protobuf:"varint,12,opt,name=ANCount,proto3" json:"ANCount,omitempty"`
	NSCount      int32 `protobuf:"varint,13,opt,name=NSCount,proto3" json:"NSCount,omitempty"`
	ARCount      int32 `protobuf:"varint,14,opt,name=ARCount,proto3" json:"ARCount,omitempty"`
	// Entries
	Questions   []*DNSQuestion       `protobuf:"bytes,15,rep,name=Questions,proto3" json:"Questions,omitempty"`
	Answers     []*DNSResourceRecord `protobuf:"bytes,16,rep,name=Answers,proto3" json:"Answers,omitempty"`
	Authorities []*DNSResourceRecord `protobuf:"bytes,17,rep,name=Authorities,proto3" json:"Authorities,omitempty"`
	Additionals []*DNSResourceRecord `protobuf:"bytes,18,rep,name=Additionals,proto3" json:"Additionals,omitempty"`
	SrcIP       string               `protobuf:"bytes,19,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP       string               `protobuf:"bytes,20,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort     int32                `protobuf:"varint,21,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort     int32                `protobuf:"varint,22,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

The Domain Name System (DNS) is a hierarchical and decentralized naming system for computers, services, or other resources connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most prominently, it translates more readily memorized domain names to the numerical IP addresses needed for locating and identifying computer services and devices with the underlying network protocols. By providing a worldwide, distributed directory service, the Domain Name System has been an essential component of the functionality of the Internet since 1985.

func (*DNS) Analyze added in v0.6.6

func (d *DNS) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*DNS) CSVHeader

func (d *DNS) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*DNS) CSVRecord

func (d *DNS) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*DNS) Descriptor

func (*DNS) Descriptor() ([]byte, []int)

func (*DNS) Dst added in v0.4.3

func (d *DNS) Dst() string

Dst returns the destination address of the audit record.

func (*DNS) Encode added in v0.6.6

func (d *DNS) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*DNS) GetAA

func (m *DNS) GetAA() bool

func (*DNS) GetANCount

func (m *DNS) GetANCount() int32

func (*DNS) GetARCount

func (m *DNS) GetARCount() int32

func (*DNS) GetAdditionals

func (m *DNS) GetAdditionals() []*DNSResourceRecord

func (*DNS) GetAnswers

func (m *DNS) GetAnswers() []*DNSResourceRecord

func (*DNS) GetAuthorities

func (m *DNS) GetAuthorities() []*DNSResourceRecord

func (*DNS) GetDstIP added in v0.6.6

func (m *DNS) GetDstIP() string

func (*DNS) GetDstPort added in v0.6.6

func (m *DNS) GetDstPort() int32

func (*DNS) GetID

func (m *DNS) GetID() int32

func (*DNS) GetNSCount

func (m *DNS) GetNSCount() int32

func (*DNS) GetOpCode

func (m *DNS) GetOpCode() int32

func (*DNS) GetQDCount

func (m *DNS) GetQDCount() int32

func (*DNS) GetQR

func (m *DNS) GetQR() bool

func (*DNS) GetQuestions

func (m *DNS) GetQuestions() []*DNSQuestion

func (*DNS) GetRA

func (m *DNS) GetRA() bool

func (*DNS) GetRD

func (m *DNS) GetRD() bool

func (*DNS) GetResponseCode

func (m *DNS) GetResponseCode() int32

func (*DNS) GetSrcIP added in v0.6.6

func (m *DNS) GetSrcIP() string

func (*DNS) GetSrcPort added in v0.6.6

func (m *DNS) GetSrcPort() int32

func (*DNS) GetTC

func (m *DNS) GetTC() bool

func (*DNS) GetTimestamp

func (m *DNS) GetTimestamp() int64

func (*DNS) GetZ

func (m *DNS) GetZ() int32

func (*DNS) Inc added in v0.4.0

func (d *DNS) Inc()

Inc increments the metrics for the audit record.

func (*DNS) JSON added in v0.4.0

func (d *DNS) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*DNS) Marshal added in v0.3.9

func (m *DNS) Marshal() (dAtA []byte, err error)

func (*DNS) MarshalTo added in v0.3.9

func (m *DNS) MarshalTo(dAtA []byte) (int, error)

func (*DNS) MarshalToSizedBuffer added in v0.6.6

func (m *DNS) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DNS) NetcapType added in v0.6.6

func (d *DNS) NetcapType() Type

NetcapType returns the type of the current audit record

func (*DNS) ProtoMessage

func (*DNS) ProtoMessage()

func (*DNS) Reset

func (m *DNS) Reset()

func (*DNS) SetPacketContext added in v0.4.2

func (d *DNS) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*DNS) Size added in v0.3.9

func (m *DNS) Size() (n int)

func (*DNS) Src added in v0.4.3

func (d *DNS) Src() string

Src returns the source address of the audit record.

func (*DNS) String

func (m *DNS) String() string

func (*DNS) Time added in v0.4.3

func (d *DNS) Time() int64

Time returns the timestamp associated with the audit record.

func (*DNS) Unmarshal added in v0.3.9

func (m *DNS) Unmarshal(dAtA []byte) error

func (*DNS) XXX_DiscardUnknown

func (m *DNS) XXX_DiscardUnknown()

func (*DNS) XXX_Marshal

func (m *DNS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DNS) XXX_Merge

func (m *DNS) XXX_Merge(src proto.Message)

func (*DNS) XXX_Size

func (m *DNS) XXX_Size() int

func (*DNS) XXX_Unmarshal

func (m *DNS) XXX_Unmarshal(b []byte) error

type DNSMX

type DNSMX struct {
	Preference int32  `protobuf:"varint,1,opt,name=Preference,proto3" json:"Preference,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
}

DNSMX is a mail exchange record, defining a mail server for a recipient's domain.

func (*DNSMX) Descriptor

func (*DNSMX) Descriptor() ([]byte, []int)

func (*DNSMX) GetName

func (m *DNSMX) GetName() string

func (*DNSMX) GetPreference

func (m *DNSMX) GetPreference() int32

func (*DNSMX) Marshal added in v0.3.9

func (m *DNSMX) Marshal() (dAtA []byte, err error)

func (*DNSMX) MarshalTo added in v0.3.9

func (m *DNSMX) MarshalTo(dAtA []byte) (int, error)

func (*DNSMX) MarshalToSizedBuffer added in v0.6.6

func (m *DNSMX) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DNSMX) ProtoMessage

func (*DNSMX) ProtoMessage()

func (*DNSMX) Reset

func (m *DNSMX) Reset()

func (*DNSMX) Size added in v0.3.9

func (m *DNSMX) Size() (n int)

func (*DNSMX) String

func (m *DNSMX) String() string

func (*DNSMX) Unmarshal added in v0.3.9

func (m *DNSMX) Unmarshal(dAtA []byte) error

func (*DNSMX) XXX_DiscardUnknown

func (m *DNSMX) XXX_DiscardUnknown()

func (*DNSMX) XXX_Marshal

func (m *DNSMX) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DNSMX) XXX_Merge

func (m *DNSMX) XXX_Merge(src proto.Message)

func (*DNSMX) XXX_Size

func (m *DNSMX) XXX_Size() int

func (*DNSMX) XXX_Unmarshal

func (m *DNSMX) XXX_Unmarshal(b []byte) error

type DNSQuestion

type DNSQuestion struct {
	Name  string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Type  int32  `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
	Class int32  `protobuf:"varint,3,opt,name=Class,proto3" json:"Class,omitempty"`
}

DNSQuestion wraps a single request (question) within a DNS query.

func (*DNSQuestion) Descriptor

func (*DNSQuestion) Descriptor() ([]byte, []int)

func (*DNSQuestion) GetClass

func (m *DNSQuestion) GetClass() int32

func (*DNSQuestion) GetName

func (m *DNSQuestion) GetName() string

func (*DNSQuestion) GetType

func (m *DNSQuestion) GetType() int32

func (*DNSQuestion) Marshal added in v0.3.9

func (m *DNSQuestion) Marshal() (dAtA []byte, err error)

func (*DNSQuestion) MarshalTo added in v0.3.9

func (m *DNSQuestion) MarshalTo(dAtA []byte) (int, error)

func (*DNSQuestion) MarshalToSizedBuffer added in v0.6.6

func (m *DNSQuestion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DNSQuestion) ProtoMessage

func (*DNSQuestion) ProtoMessage()

func (*DNSQuestion) Reset

func (m *DNSQuestion) Reset()

func (*DNSQuestion) Size added in v0.3.9

func (m *DNSQuestion) Size() (n int)

func (*DNSQuestion) String

func (m *DNSQuestion) String() string

func (*DNSQuestion) Unmarshal added in v0.3.9

func (m *DNSQuestion) Unmarshal(dAtA []byte) error

func (*DNSQuestion) XXX_DiscardUnknown

func (m *DNSQuestion) XXX_DiscardUnknown()

func (*DNSQuestion) XXX_Marshal

func (m *DNSQuestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DNSQuestion) XXX_Merge

func (m *DNSQuestion) XXX_Merge(src proto.Message)

func (*DNSQuestion) XXX_Size

func (m *DNSQuestion) XXX_Size() int

func (*DNSQuestion) XXX_Unmarshal

func (m *DNSQuestion) XXX_Unmarshal(b []byte) error

type DNSResourceRecord

type DNSResourceRecord struct {
	// Header
	Name  string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Type  int32  `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
	Class int32  `protobuf:"varint,3,opt,name=Class,proto3" json:"Class,omitempty"`
	TTL   uint32 `protobuf:"varint,4,opt,name=TTL,proto3" json:"TTL,omitempty"`
	// RDATA Raw Values
	DataLength int32  `protobuf:"varint,5,opt,name=DataLength,proto3" json:"DataLength,omitempty"`
	Data       []byte `protobuf:"bytes,6,opt,name=Data,proto3" json:"Data,omitempty"`
	// RDATA Decoded Values
	IP    string   `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
	NS    []byte   `protobuf:"bytes,8,opt,name=NS,proto3" json:"NS,omitempty"`
	CNAME []byte   `protobuf:"bytes,9,opt,name=CNAME,proto3" json:"CNAME,omitempty"`
	PTR   []byte   `protobuf:"bytes,10,opt,name=PTR,proto3" json:"PTR,omitempty"`
	SOA   *DNSSOA  `protobuf:"bytes,11,opt,name=SOA,proto3" json:"SOA,omitempty"`
	SRV   *DNSSRV  `protobuf:"bytes,12,opt,name=SRV,proto3" json:"SRV,omitempty"`
	MX    *DNSMX   `protobuf:"bytes,13,opt,name=MX,proto3" json:"MX,omitempty"`
	TXTs  [][]byte `protobuf:"bytes,14,rep,name=TXTs,proto3" json:"TXTs,omitempty"`
}

func (*DNSResourceRecord) Descriptor

func (*DNSResourceRecord) Descriptor() ([]byte, []int)

func (*DNSResourceRecord) GetCNAME

func (m *DNSResourceRecord) GetCNAME() []byte

func (*DNSResourceRecord) GetClass

func (m *DNSResourceRecord) GetClass() int32

func (*DNSResourceRecord) GetData

func (m *DNSResourceRecord) GetData() []byte

func (*DNSResourceRecord) GetDataLength

func (m *DNSResourceRecord) GetDataLength() int32

func (*DNSResourceRecord) GetIP

func (m *DNSResourceRecord) GetIP() string

func (*DNSResourceRecord) GetMX

func (m *DNSResourceRecord) GetMX() *DNSMX

func (*DNSResourceRecord) GetNS

func (m *DNSResourceRecord) GetNS() []byte

func (*DNSResourceRecord) GetName

func (m *DNSResourceRecord) GetName() string

func (*DNSResourceRecord) GetPTR

func (m *DNSResourceRecord) GetPTR() []byte

func (*DNSResourceRecord) GetSOA

func (m *DNSResourceRecord) GetSOA() *DNSSOA

func (*DNSResourceRecord) GetSRV

func (m *DNSResourceRecord) GetSRV() *DNSSRV

func (*DNSResourceRecord) GetTTL

func (m *DNSResourceRecord) GetTTL() uint32

func (*DNSResourceRecord) GetTXTs

func (m *DNSResourceRecord) GetTXTs() [][]byte

func (*DNSResourceRecord) GetType

func (m *DNSResourceRecord) GetType() int32

func (*DNSResourceRecord) Marshal added in v0.3.9

func (m *DNSResourceRecord) Marshal() (dAtA []byte, err error)

func (*DNSResourceRecord) MarshalTo added in v0.3.9

func (m *DNSResourceRecord) MarshalTo(dAtA []byte) (int, error)

func (*DNSResourceRecord) MarshalToSizedBuffer added in v0.6.6

func (m *DNSResourceRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DNSResourceRecord) ProtoMessage

func (*DNSResourceRecord) ProtoMessage()

func (*DNSResourceRecord) Reset

func (m *DNSResourceRecord) Reset()

func (*DNSResourceRecord) Size added in v0.3.9

func (m *DNSResourceRecord) Size() (n int)

func (*DNSResourceRecord) String

func (m *DNSResourceRecord) String() string

func (*DNSResourceRecord) Unmarshal added in v0.3.9

func (m *DNSResourceRecord) Unmarshal(dAtA []byte) error

func (*DNSResourceRecord) XXX_DiscardUnknown

func (m *DNSResourceRecord) XXX_DiscardUnknown()

func (*DNSResourceRecord) XXX_Marshal

func (m *DNSResourceRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DNSResourceRecord) XXX_Merge

func (m *DNSResourceRecord) XXX_Merge(src proto.Message)

func (*DNSResourceRecord) XXX_Size

func (m *DNSResourceRecord) XXX_Size() int

func (*DNSResourceRecord) XXX_Unmarshal

func (m *DNSResourceRecord) XXX_Unmarshal(b []byte) error

type DNSSOA

type DNSSOA struct {
	MName   []byte `protobuf:"bytes,1,opt,name=MName,proto3" json:"MName,omitempty"`
	RName   []byte `protobuf:"bytes,2,opt,name=RName,proto3" json:"RName,omitempty"`
	Serial  uint32 `protobuf:"varint,3,opt,name=Serial,proto3" json:"Serial,omitempty"`
	Refresh uint32 `protobuf:"varint,4,opt,name=Refresh,proto3" json:"Refresh,omitempty"`
	Retry   uint32 `protobuf:"varint,5,opt,name=Retry,proto3" json:"Retry,omitempty"`
	Expire  uint32 `protobuf:"varint,6,opt,name=Expire,proto3" json:"Expire,omitempty"`
	Minimum uint32 `protobuf:"varint,7,opt,name=Minimum,proto3" json:"Minimum,omitempty"`
}

DNSSOA is a Start of Authority record. Each domain requires a SOA record at the cutover where a domain is delegated from its parent.

func (*DNSSOA) Descriptor

func (*DNSSOA) Descriptor() ([]byte, []int)

func (*DNSSOA) GetExpire

func (m *DNSSOA) GetExpire() uint32

func (*DNSSOA) GetMName

func (m *DNSSOA) GetMName() []byte

func (*DNSSOA) GetMinimum

func (m *DNSSOA) GetMinimum() uint32

func (*DNSSOA) GetRName

func (m *DNSSOA) GetRName() []byte

func (*DNSSOA) GetRefresh

func (m *DNSSOA) GetRefresh() uint32

func (*DNSSOA) GetRetry

func (m *DNSSOA) GetRetry() uint32

func (*DNSSOA) GetSerial

func (m *DNSSOA) GetSerial() uint32

func (*DNSSOA) Marshal added in v0.3.9

func (m *DNSSOA) Marshal() (dAtA []byte, err error)

func (*DNSSOA) MarshalTo added in v0.3.9

func (m *DNSSOA) MarshalTo(dAtA []byte) (int, error)

func (*DNSSOA) MarshalToSizedBuffer added in v0.6.6

func (m *DNSSOA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DNSSOA) ProtoMessage

func (*DNSSOA) ProtoMessage()

func (*DNSSOA) Reset

func (m *DNSSOA) Reset()

func (*DNSSOA) Size added in v0.3.9

func (m *DNSSOA) Size() (n int)

func (*DNSSOA) String

func (m *DNSSOA) String() string

func (*DNSSOA) Unmarshal added in v0.3.9

func (m *DNSSOA) Unmarshal(dAtA []byte) error

func (*DNSSOA) XXX_DiscardUnknown

func (m *DNSSOA) XXX_DiscardUnknown()

func (*DNSSOA) XXX_Marshal

func (m *DNSSOA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DNSSOA) XXX_Merge

func (m *DNSSOA) XXX_Merge(src proto.Message)

func (*DNSSOA) XXX_Size

func (m *DNSSOA) XXX_Size() int

func (*DNSSOA) XXX_Unmarshal

func (m *DNSSOA) XXX_Unmarshal(b []byte) error

type DNSSRV

type DNSSRV struct {
	Priority int32  `protobuf:"varint,1,opt,name=Priority,proto3" json:"Priority,omitempty"`
	Weight   int32  `protobuf:"varint,2,opt,name=Weight,proto3" json:"Weight,omitempty"`
	Port     int32  `protobuf:"varint,3,opt,name=Port,proto3" json:"Port,omitempty"`
	Name     []byte `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
}

DNSSRV is a Service record, defining a location (hostname/port) of a server/service.

func (*DNSSRV) Descriptor

func (*DNSSRV) Descriptor() ([]byte, []int)

func (*DNSSRV) GetName

func (m *DNSSRV) GetName() []byte

func (*DNSSRV) GetPort

func (m *DNSSRV) GetPort() int32

func (*DNSSRV) GetPriority

func (m *DNSSRV) GetPriority() int32

func (*DNSSRV) GetWeight

func (m *DNSSRV) GetWeight() int32

func (*DNSSRV) Marshal added in v0.3.9

func (m *DNSSRV) Marshal() (dAtA []byte, err error)

func (*DNSSRV) MarshalTo added in v0.3.9

func (m *DNSSRV) MarshalTo(dAtA []byte) (int, error)

func (*DNSSRV) MarshalToSizedBuffer added in v0.6.6

func (m *DNSSRV) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DNSSRV) ProtoMessage

func (*DNSSRV) ProtoMessage()

func (*DNSSRV) Reset

func (m *DNSSRV) Reset()

func (*DNSSRV) Size added in v0.3.9

func (m *DNSSRV) Size() (n int)

func (*DNSSRV) String

func (m *DNSSRV) String() string

func (*DNSSRV) Unmarshal added in v0.3.9

func (m *DNSSRV) Unmarshal(dAtA []byte) error

func (*DNSSRV) XXX_DiscardUnknown

func (m *DNSSRV) XXX_DiscardUnknown()

func (*DNSSRV) XXX_Marshal

func (m *DNSSRV) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DNSSRV) XXX_Merge

func (m *DNSSRV) XXX_Merge(src proto.Message)

func (*DNSSRV) XXX_Size

func (m *DNSSRV) XXX_Size() int

func (*DNSSRV) XXX_Unmarshal

func (m *DNSSRV) XXX_Unmarshal(b []byte) error

type DbDescPkg added in v0.3.9

type DbDescPkg struct {
	Options      uint32       `protobuf:"varint,1,opt,name=Options,proto3" json:"Options,omitempty"`
	InterfaceMTU int32        `protobuf:"varint,2,opt,name=InterfaceMTU,proto3" json:"InterfaceMTU,omitempty"`
	Flags        int32        `protobuf:"varint,3,opt,name=Flags,proto3" json:"Flags,omitempty"`
	DDSeqNumber  uint32       `protobuf:"varint,4,opt,name=DDSeqNumber,proto3" json:"DDSeqNumber,omitempty"`
	LSAinfo      []*LSAheader `protobuf:"bytes,5,rep,name=LSAinfo,proto3" json:"LSAinfo,omitempty"`
}

func (*DbDescPkg) Descriptor added in v0.3.9

func (*DbDescPkg) Descriptor() ([]byte, []int)

func (*DbDescPkg) GetDDSeqNumber added in v0.3.9

func (m *DbDescPkg) GetDDSeqNumber() uint32

func (*DbDescPkg) GetFlags added in v0.3.9

func (m *DbDescPkg) GetFlags() int32

func (*DbDescPkg) GetInterfaceMTU added in v0.3.9

func (m *DbDescPkg) GetInterfaceMTU() int32

func (*DbDescPkg) GetLSAinfo added in v0.3.9

func (m *DbDescPkg) GetLSAinfo() []*LSAheader

func (*DbDescPkg) GetOptions added in v0.3.9

func (m *DbDescPkg) GetOptions() uint32

func (*DbDescPkg) Marshal added in v0.3.9

func (m *DbDescPkg) Marshal() (dAtA []byte, err error)

func (*DbDescPkg) MarshalTo added in v0.3.9

func (m *DbDescPkg) MarshalTo(dAtA []byte) (int, error)

func (*DbDescPkg) MarshalToSizedBuffer added in v0.6.6

func (m *DbDescPkg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DbDescPkg) ProtoMessage added in v0.3.9

func (*DbDescPkg) ProtoMessage()

func (*DbDescPkg) Reset added in v0.3.9

func (m *DbDescPkg) Reset()

func (*DbDescPkg) Size added in v0.3.9

func (m *DbDescPkg) Size() (n int)

func (*DbDescPkg) String added in v0.3.9

func (m *DbDescPkg) String() string

func (*DbDescPkg) Unmarshal added in v0.3.9

func (m *DbDescPkg) Unmarshal(dAtA []byte) error

func (*DbDescPkg) XXX_DiscardUnknown added in v0.3.9

func (m *DbDescPkg) XXX_DiscardUnknown()

func (*DbDescPkg) XXX_Marshal added in v0.3.9

func (m *DbDescPkg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DbDescPkg) XXX_Merge added in v0.3.9

func (m *DbDescPkg) XXX_Merge(src proto.Message)

func (*DbDescPkg) XXX_Size added in v0.3.9

func (m *DbDescPkg) XXX_Size() int

func (*DbDescPkg) XXX_Unmarshal added in v0.3.9

func (m *DbDescPkg) XXX_Unmarshal(b []byte) error

type DeviceProfile added in v0.6.6

type DeviceProfile struct {
	MacAddr            string   `protobuf:"bytes,1,opt,name=MacAddr,proto3" json:"MacAddr,omitempty"`
	DeviceManufacturer string   `protobuf:"bytes,2,opt,name=DeviceManufacturer,proto3" json:"DeviceManufacturer,omitempty"`
	DeviceIPs          []string `protobuf:"bytes,3,rep,name=DeviceIPs,proto3" json:"DeviceIPs,omitempty"`
	Contacts           []string `protobuf:"bytes,4,rep,name=Contacts,proto3" json:"Contacts,omitempty"`
	NumPackets         int64    `protobuf:"varint,5,opt,name=NumPackets,proto3" json:"NumPackets,omitempty"`
	Timestamp          int64    `protobuf:"varint,6,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Bytes              uint64   `protobuf:"varint,7,opt,name=Bytes,proto3" json:"Bytes,omitempty"`
}

Device Profiling

func (*DeviceProfile) Analyze added in v0.6.6

func (d *DeviceProfile) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*DeviceProfile) CSVHeader added in v0.6.6

func (d *DeviceProfile) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*DeviceProfile) CSVRecord added in v0.6.6

func (d *DeviceProfile) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*DeviceProfile) Descriptor added in v0.6.6

func (*DeviceProfile) Descriptor() ([]byte, []int)

func (*DeviceProfile) Dst added in v0.6.6

func (d *DeviceProfile) Dst() string

Dst returns the destination address of the audit record.

func (*DeviceProfile) Encode added in v0.6.6

func (d *DeviceProfile) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*DeviceProfile) GetBytes added in v0.6.6

func (m *DeviceProfile) GetBytes() uint64

func (*DeviceProfile) GetContacts added in v0.6.6

func (m *DeviceProfile) GetContacts() []string

func (*DeviceProfile) GetDeviceIPs added in v0.6.6

func (m *DeviceProfile) GetDeviceIPs() []string

func (*DeviceProfile) GetDeviceManufacturer added in v0.6.6

func (m *DeviceProfile) GetDeviceManufacturer() string

func (*DeviceProfile) GetMacAddr added in v0.6.6

func (m *DeviceProfile) GetMacAddr() string

func (*DeviceProfile) GetNumPackets added in v0.6.6

func (m *DeviceProfile) GetNumPackets() int64

func (*DeviceProfile) GetTimestamp added in v0.6.6

func (m *DeviceProfile) GetTimestamp() int64

func (*DeviceProfile) Inc added in v0.6.6

func (d *DeviceProfile) Inc()

Inc increments the metrics for the audit record.

func (*DeviceProfile) JSON added in v0.6.6

func (d *DeviceProfile) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*DeviceProfile) Marshal added in v0.6.6

func (m *DeviceProfile) Marshal() (dAtA []byte, err error)

func (*DeviceProfile) MarshalTo added in v0.6.6

func (m *DeviceProfile) MarshalTo(dAtA []byte) (int, error)

func (*DeviceProfile) MarshalToSizedBuffer added in v0.6.6

func (m *DeviceProfile) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeviceProfile) NetcapType added in v0.6.6

func (d *DeviceProfile) NetcapType() Type

NetcapType returns the type of the current audit record

func (*DeviceProfile) ProtoMessage added in v0.6.6

func (*DeviceProfile) ProtoMessage()

func (*DeviceProfile) Reset added in v0.6.6

func (m *DeviceProfile) Reset()

func (*DeviceProfile) SetPacketContext added in v0.6.6

func (d *DeviceProfile) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*DeviceProfile) Size added in v0.6.6

func (m *DeviceProfile) Size() (n int)

func (*DeviceProfile) Src added in v0.6.6

func (d *DeviceProfile) Src() string

Src returns the source address of the audit record.

func (*DeviceProfile) String added in v0.6.6

func (m *DeviceProfile) String() string

func (*DeviceProfile) Time added in v0.6.6

func (d *DeviceProfile) Time() int64

Time returns the timestamp associated with the audit record.

func (*DeviceProfile) Unmarshal added in v0.6.6

func (m *DeviceProfile) Unmarshal(dAtA []byte) error

func (*DeviceProfile) XXX_DiscardUnknown added in v0.6.6

func (m *DeviceProfile) XXX_DiscardUnknown()

func (*DeviceProfile) XXX_Marshal added in v0.6.6

func (m *DeviceProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceProfile) XXX_Merge added in v0.6.6

func (m *DeviceProfile) XXX_Merge(src proto.Message)

func (*DeviceProfile) XXX_Size added in v0.6.6

func (m *DeviceProfile) XXX_Size() int

func (*DeviceProfile) XXX_Unmarshal added in v0.6.6

func (m *DeviceProfile) XXX_Unmarshal(b []byte) error

type Diameter added in v0.6.6

type Diameter struct {
	Timestamp int64 `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	// Diameter Header Information
	Version       uint32 `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	Flags         uint32 `protobuf:"varint,3,opt,name=Flags,proto3" json:"Flags,omitempty"`
	MessageLen    uint32 `protobuf:"varint,4,opt,name=MessageLen,proto3" json:"MessageLen,omitempty"`
	CommandCode   uint32 `protobuf:"varint,5,opt,name=CommandCode,proto3" json:"CommandCode,omitempty"`
	ApplicationID uint32 `protobuf:"varint,6,opt,name=ApplicationID,proto3" json:"ApplicationID,omitempty"`
	HopByHopID    uint32 `protobuf:"varint,7,opt,name=HopByHopID,proto3" json:"HopByHopID,omitempty"`
	EndToEndID    uint32 `protobuf:"varint,8,opt,name=EndToEndID,proto3" json:"EndToEndID,omitempty"`
	// Diameter AVPs
	AVPs    []*AVP `protobuf:"bytes,9,rep,name=AVPs,proto3" json:"AVPs,omitempty"`
	SrcIP   string `protobuf:"bytes,10,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP   string `protobuf:"bytes,11,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort int32  `protobuf:"varint,12,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort int32  `protobuf:"varint,13,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

Diameter is an authentication, authorization, and accounting protocol for computer networks. It evolved from the earlier RADIUS protocol. It belongs to the application layer protocols in the internet protocol suite.

func (*Diameter) Analyze added in v0.6.6

func (d *Diameter) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Diameter) CSVHeader added in v0.6.6

func (d *Diameter) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Diameter) CSVRecord added in v0.6.6

func (d *Diameter) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Diameter) Descriptor added in v0.6.6

func (*Diameter) Descriptor() ([]byte, []int)

func (*Diameter) Dst added in v0.6.6

func (d *Diameter) Dst() string

Dst returns the destination address of the audit record.

func (*Diameter) Encode added in v0.6.6

func (d *Diameter) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Diameter) GetAVPs added in v0.6.6

func (m *Diameter) GetAVPs() []*AVP

func (*Diameter) GetApplicationID added in v0.6.6

func (m *Diameter) GetApplicationID() uint32

func (*Diameter) GetCommandCode added in v0.6.6

func (m *Diameter) GetCommandCode() uint32

func (*Diameter) GetDstIP added in v0.6.6

func (m *Diameter) GetDstIP() string

func (*Diameter) GetDstPort added in v0.6.6

func (m *Diameter) GetDstPort() int32

func (*Diameter) GetEndToEndID added in v0.6.6

func (m *Diameter) GetEndToEndID() uint32

func (*Diameter) GetFlags added in v0.6.6

func (m *Diameter) GetFlags() uint32

func (*Diameter) GetHopByHopID added in v0.6.6

func (m *Diameter) GetHopByHopID() uint32

func (*Diameter) GetMessageLen added in v0.6.6

func (m *Diameter) GetMessageLen() uint32

func (*Diameter) GetSrcIP added in v0.6.6

func (m *Diameter) GetSrcIP() string

func (*Diameter) GetSrcPort added in v0.6.6

func (m *Diameter) GetSrcPort() int32

func (*Diameter) GetTimestamp added in v0.6.6

func (m *Diameter) GetTimestamp() int64

func (*Diameter) GetVersion added in v0.6.6

func (m *Diameter) GetVersion() uint32

func (*Diameter) Inc added in v0.6.6

func (d *Diameter) Inc()

Inc increments the metrics for the audit record.

func (*Diameter) JSON added in v0.6.6

func (d *Diameter) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Diameter) Marshal added in v0.6.6

func (m *Diameter) Marshal() (dAtA []byte, err error)

func (*Diameter) MarshalTo added in v0.6.6

func (m *Diameter) MarshalTo(dAtA []byte) (int, error)

func (*Diameter) MarshalToSizedBuffer added in v0.6.6

func (m *Diameter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Diameter) NetcapType added in v0.6.6

func (d *Diameter) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Diameter) ProtoMessage added in v0.6.6

func (*Diameter) ProtoMessage()

func (*Diameter) Reset added in v0.6.6

func (m *Diameter) Reset()

func (*Diameter) SetPacketContext added in v0.6.6

func (d *Diameter) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Diameter) Size added in v0.6.6

func (m *Diameter) Size() (n int)

func (*Diameter) Src added in v0.6.6

func (d *Diameter) Src() string

Src returns the source address of the audit record.

func (*Diameter) String added in v0.6.6

func (m *Diameter) String() string

func (*Diameter) Time added in v0.6.6

func (d *Diameter) Time() int64

Time returns the timestamp associated with the audit record.

func (*Diameter) Unmarshal added in v0.6.6

func (m *Diameter) Unmarshal(dAtA []byte) error

func (*Diameter) XXX_DiscardUnknown added in v0.6.6

func (m *Diameter) XXX_DiscardUnknown()

func (*Diameter) XXX_Marshal added in v0.6.6

func (m *Diameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Diameter) XXX_Merge added in v0.6.6

func (m *Diameter) XXX_Merge(src proto.Message)

func (*Diameter) XXX_Size added in v0.6.6

func (m *Diameter) XXX_Size() int

func (*Diameter) XXX_Unmarshal added in v0.6.6

func (m *Diameter) XXX_Unmarshal(b []byte) error

type Dot11

type Dot11 struct {
	Timestamp      int64           `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Type           int32           `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
	Proto          int32           `protobuf:"varint,3,opt,name=Proto,proto3" json:"Proto,omitempty"`
	Flags          int32           `protobuf:"varint,4,opt,name=Flags,proto3" json:"Flags,omitempty"`
	DurationID     int32           `protobuf:"varint,5,opt,name=DurationID,proto3" json:"DurationID,omitempty"`
	Address1       string          `protobuf:"bytes,6,opt,name=Address1,proto3" json:"Address1,omitempty"`
	Address2       string          `protobuf:"bytes,7,opt,name=Address2,proto3" json:"Address2,omitempty"`
	Address3       string          `protobuf:"bytes,8,opt,name=Address3,proto3" json:"Address3,omitempty"`
	Address4       string          `protobuf:"bytes,9,opt,name=Address4,proto3" json:"Address4,omitempty"`
	SequenceNumber int32           `protobuf:"varint,10,opt,name=SequenceNumber,proto3" json:"SequenceNumber,omitempty"`
	FragmentNumber int32           `protobuf:"varint,11,opt,name=FragmentNumber,proto3" json:"FragmentNumber,omitempty"`
	Checksum       uint32          `protobuf:"varint,12,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	QOS            *Dot11QOS       `protobuf:"bytes,13,opt,name=QOS,proto3" json:"QOS,omitempty"`
	HTControl      *Dot11HTControl `protobuf:"bytes,14,opt,name=HTControl,proto3" json:"HTControl,omitempty"`
}

Dot11 provides an IEEE 802.11 base packet header. See http://standards.ieee.org/findstds/standard/802.11-2012.html for excruciating detail.

func (*Dot11) Analyze added in v0.6.6

func (d *Dot11) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Dot11) CSVHeader

func (d *Dot11) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Dot11) CSVRecord

func (d *Dot11) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Dot11) Descriptor

func (*Dot11) Descriptor() ([]byte, []int)

func (*Dot11) Dst added in v0.4.3

func (d *Dot11) Dst() string

Dst returns the destination address of the audit record.

func (*Dot11) Encode added in v0.6.6

func (d *Dot11) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Dot11) GetAddress1

func (m *Dot11) GetAddress1() string

func (*Dot11) GetAddress2

func (m *Dot11) GetAddress2() string

func (*Dot11) GetAddress3

func (m *Dot11) GetAddress3() string

func (*Dot11) GetAddress4

func (m *Dot11) GetAddress4() string

func (*Dot11) GetChecksum

func (m *Dot11) GetChecksum() uint32

func (*Dot11) GetDurationID

func (m *Dot11) GetDurationID() int32

func (*Dot11) GetFlags

func (m *Dot11) GetFlags() int32

func (*Dot11) GetFragmentNumber

func (m *Dot11) GetFragmentNumber() int32

func (*Dot11) GetHTControl

func (m *Dot11) GetHTControl() *Dot11HTControl

func (*Dot11) GetProto

func (m *Dot11) GetProto() int32

func (*Dot11) GetQOS

func (m *Dot11) GetQOS() *Dot11QOS

func (*Dot11) GetSequenceNumber

func (m *Dot11) GetSequenceNumber() int32

func (*Dot11) GetTimestamp

func (m *Dot11) GetTimestamp() int64

func (*Dot11) GetType

func (m *Dot11) GetType() int32

func (*Dot11) Inc added in v0.4.0

func (d *Dot11) Inc()

Inc increments the metrics for the audit record.

func (*Dot11) JSON added in v0.4.0

func (d *Dot11) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Dot11) Marshal added in v0.3.9

func (m *Dot11) Marshal() (dAtA []byte, err error)

func (*Dot11) MarshalTo added in v0.3.9

func (m *Dot11) MarshalTo(dAtA []byte) (int, error)

func (*Dot11) MarshalToSizedBuffer added in v0.6.6

func (m *Dot11) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dot11) NetcapType added in v0.6.6

func (d *Dot11) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Dot11) ProtoMessage

func (*Dot11) ProtoMessage()

func (*Dot11) Reset

func (m *Dot11) Reset()

func (*Dot11) SetPacketContext added in v0.4.2

func (d *Dot11) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Dot11) Size added in v0.3.9

func (m *Dot11) Size() (n int)

func (*Dot11) Src added in v0.4.3

func (d *Dot11) Src() string

Src TODO: return Mac addr. Src returns the source address of the audit record.

func (*Dot11) String

func (m *Dot11) String() string

func (*Dot11) Time added in v0.4.3

func (d *Dot11) Time() int64

Time returns the timestamp associated with the audit record.

func (*Dot11) Unmarshal added in v0.3.9

func (m *Dot11) Unmarshal(dAtA []byte) error

func (*Dot11) XXX_DiscardUnknown

func (m *Dot11) XXX_DiscardUnknown()

func (*Dot11) XXX_Marshal

func (m *Dot11) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dot11) XXX_Merge

func (m *Dot11) XXX_Merge(src proto.Message)

func (*Dot11) XXX_Size

func (m *Dot11) XXX_Size() int

func (*Dot11) XXX_Unmarshal

func (m *Dot11) XXX_Unmarshal(b []byte) error

type Dot11ASEL

type Dot11ASEL struct {
	Command int32 `protobuf:"varint,1,opt,name=Command,proto3" json:"Command,omitempty"`
	Data    int32 `protobuf:"varint,2,opt,name=Data,proto3" json:"Data,omitempty"`
}

func (*Dot11ASEL) Descriptor

func (*Dot11ASEL) Descriptor() ([]byte, []int)

func (*Dot11ASEL) GetCommand

func (m *Dot11ASEL) GetCommand() int32

func (*Dot11ASEL) GetData

func (m *Dot11ASEL) GetData() int32

func (*Dot11ASEL) Marshal added in v0.3.9

func (m *Dot11ASEL) Marshal() (dAtA []byte, err error)

func (*Dot11ASEL) MarshalTo added in v0.3.9

func (m *Dot11ASEL) MarshalTo(dAtA []byte) (int, error)

func (*Dot11ASEL) MarshalToSizedBuffer added in v0.6.6

func (m *Dot11ASEL) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dot11ASEL) ProtoMessage

func (*Dot11ASEL) ProtoMessage()

func (*Dot11ASEL) Reset

func (m *Dot11ASEL) Reset()

func (*Dot11ASEL) Size added in v0.3.9

func (m *Dot11ASEL) Size() (n int)

func (*Dot11ASEL) String

func (m *Dot11ASEL) String() string

func (*Dot11ASEL) Unmarshal added in v0.3.9

func (m *Dot11ASEL) Unmarshal(dAtA []byte) error

func (*Dot11ASEL) XXX_DiscardUnknown

func (m *Dot11ASEL) XXX_DiscardUnknown()

func (*Dot11ASEL) XXX_Marshal

func (m *Dot11ASEL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dot11ASEL) XXX_Merge

func (m *Dot11ASEL) XXX_Merge(src proto.Message)

func (*Dot11ASEL) XXX_Size

func (m *Dot11ASEL) XXX_Size() int

func (*Dot11ASEL) XXX_Unmarshal

func (m *Dot11ASEL) XXX_Unmarshal(b []byte) error

type Dot11HTControl

type Dot11HTControl struct {
	ACConstraint bool               `protobuf:"varint,1,opt,name=ACConstraint,proto3" json:"ACConstraint,omitempty"`
	RDGMorePPDU  bool               `protobuf:"varint,2,opt,name=RDGMorePPDU,proto3" json:"RDGMorePPDU,omitempty"`
	VHT          *Dot11HTControlVHT `protobuf:"bytes,3,opt,name=VHT,proto3" json:"VHT,omitempty"`
	HT           *Dot11HTControlHT  `protobuf:"bytes,4,opt,name=HT,proto3" json:"HT,omitempty"`
}

func (*Dot11HTControl) Descriptor

func (*Dot11HTControl) Descriptor() ([]byte, []int)

func (*Dot11HTControl) GetACConstraint

func (m *Dot11HTControl) GetACConstraint() bool

func (*Dot11HTControl) GetHT

func (m *Dot11HTControl) GetHT() *Dot11HTControlHT

func (*Dot11HTControl) GetRDGMorePPDU

func (m *Dot11HTControl) GetRDGMorePPDU() bool

func (*Dot11HTControl) GetVHT

func (m *Dot11HTControl) GetVHT() *Dot11HTControlVHT

func (*Dot11HTControl) Marshal added in v0.3.9

func (m *Dot11HTControl) Marshal() (dAtA []byte, err error)

func (*Dot11HTControl) MarshalTo added in v0.3.9

func (m *Dot11HTControl) MarshalTo(dAtA []byte) (int, error)

func (*Dot11HTControl) MarshalToSizedBuffer added in v0.6.6

func (m *Dot11HTControl) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dot11HTControl) ProtoMessage

func (*Dot11HTControl) ProtoMessage()

func (*Dot11HTControl) Reset

func (m *Dot11HTControl) Reset()

func (*Dot11HTControl) Size added in v0.3.9

func (m *Dot11HTControl) Size() (n int)

func (*Dot11HTControl) String

func (m *Dot11HTControl) String() string

func (*Dot11HTControl) Unmarshal added in v0.3.9

func (m *Dot11HTControl) Unmarshal(dAtA []byte) error

func (*Dot11HTControl) XXX_DiscardUnknown

func (m *Dot11HTControl) XXX_DiscardUnknown()

func (*Dot11HTControl) XXX_Marshal

func (m *Dot11HTControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dot11HTControl) XXX_Merge

func (m *Dot11HTControl) XXX_Merge(src proto.Message)

func (*Dot11HTControl) XXX_Size

func (m *Dot11HTControl) XXX_Size() int

func (*Dot11HTControl) XXX_Unmarshal

func (m *Dot11HTControl) XXX_Unmarshal(b []byte) error

type Dot11HTControlHT

type Dot11HTControlHT struct {
	LinkAdapationControl *Dot11LinkAdapationControl `protobuf:"bytes,1,opt,name=LinkAdapationControl,proto3" json:"LinkAdapationControl,omitempty"`
	CalibrationPosition  int32                      `protobuf:"varint,2,opt,name=CalibrationPosition,proto3" json:"CalibrationPosition,omitempty"`
	CalibrationSequence  int32                      `protobuf:"varint,3,opt,name=CalibrationSequence,proto3" json:"CalibrationSequence,omitempty"`
	CSISteering          int32                      `protobuf:"varint,4,opt,name=CSISteering,proto3" json:"CSISteering,omitempty"`
	NDPAnnouncement      bool                       `protobuf:"varint,5,opt,name=NDPAnnouncement,proto3" json:"NDPAnnouncement,omitempty"`
	DEI                  bool                       `protobuf:"varint,6,opt,name=DEI,proto3" json:"DEI,omitempty"`
}

func (*Dot11HTControlHT) Descriptor

func (*Dot11HTControlHT) Descriptor() ([]byte, []int)

func (*Dot11HTControlHT) GetCSISteering

func (m *Dot11HTControlHT) GetCSISteering() int32

func (*Dot11HTControlHT) GetCalibrationPosition

func (m *Dot11HTControlHT) GetCalibrationPosition() int32

func (*Dot11HTControlHT) GetCalibrationSequence

func (m *Dot11HTControlHT) GetCalibrationSequence() int32

func (*Dot11HTControlHT) GetDEI

func (m *Dot11HTControlHT) GetDEI() bool

func (*Dot11HTControlHT) GetLinkAdapationControl

func (m *Dot11HTControlHT) GetLinkAdapationControl() *Dot11LinkAdapationControl

func (*Dot11HTControlHT) GetNDPAnnouncement

func (m *Dot11HTControlHT) GetNDPAnnouncement() bool

func (*Dot11HTControlHT) Marshal added in v0.3.9

func (m *Dot11HTControlHT) Marshal() (dAtA []byte, err error)

func (*Dot11HTControlHT) MarshalTo added in v0.3.9

func (m *Dot11HTControlHT) MarshalTo(dAtA []byte) (int, error)

func (*Dot11HTControlHT) MarshalToSizedBuffer added in v0.6.6

func (m *Dot11HTControlHT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dot11HTControlHT) ProtoMessage

func (*Dot11HTControlHT) ProtoMessage()

func (*Dot11HTControlHT) Reset

func (m *Dot11HTControlHT) Reset()

func (*Dot11HTControlHT) Size added in v0.3.9

func (m *Dot11HTControlHT) Size() (n int)

func (*Dot11HTControlHT) String

func (m *Dot11HTControlHT) String() string

func (*Dot11HTControlHT) Unmarshal added in v0.3.9

func (m *Dot11HTControlHT) Unmarshal(dAtA []byte) error

func (*Dot11HTControlHT) XXX_DiscardUnknown

func (m *Dot11HTControlHT) XXX_DiscardUnknown()

func (*Dot11HTControlHT) XXX_Marshal

func (m *Dot11HTControlHT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dot11HTControlHT) XXX_Merge

func (m *Dot11HTControlHT) XXX_Merge(src proto.Message)

func (*Dot11HTControlHT) XXX_Size

func (m *Dot11HTControlHT) XXX_Size() int

func (*Dot11HTControlHT) XXX_Unmarshal

func (m *Dot11HTControlHT) XXX_Unmarshal(b []byte) error

type Dot11HTControlMFB

type Dot11HTControlMFB struct {
	NumSTS int32 `protobuf:"varint,1,opt,name=NumSTS,proto3" json:"NumSTS,omitempty"`
	VHTMCS int32 `protobuf:"varint,2,opt,name=VHTMCS,proto3" json:"VHTMCS,omitempty"`
	BW     int32 `protobuf:"varint,3,opt,name=BW,proto3" json:"BW,omitempty"`
	SNR    int32 `protobuf:"varint,4,opt,name=SNR,proto3" json:"SNR,omitempty"`
}

func (*Dot11HTControlMFB) Descriptor

func (*Dot11HTControlMFB) Descriptor() ([]byte, []int)

func (*Dot11HTControlMFB) GetBW

func (m *Dot11HTControlMFB) GetBW() int32

func (*Dot11HTControlMFB) GetNumSTS

func (m *Dot11HTControlMFB) GetNumSTS() int32

func (*Dot11HTControlMFB) GetSNR

func (m *Dot11HTControlMFB) GetSNR() int32

func (*Dot11HTControlMFB) GetVHTMCS

func (m *Dot11HTControlMFB) GetVHTMCS() int32

func (*Dot11HTControlMFB) Marshal added in v0.3.9

func (m *Dot11HTControlMFB) Marshal() (dAtA []byte, err error)

func (*Dot11HTControlMFB) MarshalTo added in v0.3.9

func (m *Dot11HTControlMFB) MarshalTo(dAtA []byte) (int, error)

func (*Dot11HTControlMFB) MarshalToSizedBuffer added in v0.6.6

func (m *Dot11HTControlMFB) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dot11HTControlMFB) ProtoMessage

func (*Dot11HTControlMFB) ProtoMessage()

func (*Dot11HTControlMFB) Reset

func (m *Dot11HTControlMFB) Reset()

func (*Dot11HTControlMFB) Size added in v0.3.9

func (m *Dot11HTControlMFB) Size() (n int)

func (*Dot11HTControlMFB) String

func (m *Dot11HTControlMFB) String() string

func (*Dot11HTControlMFB) Unmarshal added in v0.3.9

func (m *Dot11HTControlMFB) Unmarshal(dAtA []byte) error

func (*Dot11HTControlMFB) XXX_DiscardUnknown

func (m *Dot11HTControlMFB) XXX_DiscardUnknown()

func (*Dot11HTControlMFB) XXX_Marshal

func (m *Dot11HTControlMFB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dot11HTControlMFB) XXX_Merge

func (m *Dot11HTControlMFB) XXX_Merge(src proto.Message)

func (*Dot11HTControlMFB) XXX_Size

func (m *Dot11HTControlMFB) XXX_Size() int

func (*Dot11HTControlMFB) XXX_Unmarshal

func (m *Dot11HTControlMFB) XXX_Unmarshal(b []byte) error

type Dot11HTControlVHT

type Dot11HTControlVHT struct {
	MRQ            bool               `protobuf:"varint,1,opt,name=MRQ,proto3" json:"MRQ,omitempty"`
	UnsolicitedMFB bool               `protobuf:"varint,2,opt,name=UnsolicitedMFB,proto3" json:"UnsolicitedMFB,omitempty"`
	MSI            int32              `protobuf:"varint,3,opt,name=MSI,proto3" json:"MSI,omitempty"`
	MFB            *Dot11HTControlMFB `protobuf:"bytes,4,opt,name=MFB,proto3" json:"MFB,omitempty"`
	CompressedMSI  int32              `protobuf:"varint,5,opt,name=CompressedMSI,proto3" json:"CompressedMSI,omitempty"`
	STBCIndication bool               `protobuf:"varint,6,opt,name=STBCIndication,proto3" json:"STBCIndication,omitempty"`
	MFSI           int32              `protobuf:"varint,7,opt,name=MFSI,proto3" json:"MFSI,omitempty"`
	GID            int32              `protobuf:"varint,8,opt,name=GID,proto3" json:"GID,omitempty"`
	CodingType     int32              `protobuf:"varint,9,opt,name=CodingType,proto3" json:"CodingType,omitempty"`
	FbTXBeamformed bool               `protobuf:"varint,10,opt,name=FbTXBeamformed,proto3" json:"FbTXBeamformed,omitempty"`
}

func (*Dot11HTControlVHT) Descriptor

func (*Dot11HTControlVHT) Descriptor() ([]byte, []int)

func (*Dot11HTControlVHT) GetCodingType

func (m *Dot11HTControlVHT) GetCodingType() int32

func (*Dot11HTControlVHT) GetCompressedMSI

func (m *Dot11HTControlVHT) GetCompressedMSI() int32

func (*Dot11HTControlVHT) GetFbTXBeamformed

func (m *Dot11HTControlVHT) GetFbTXBeamformed() bool

func (*Dot11HTControlVHT) GetGID

func (m *Dot11HTControlVHT) GetGID() int32

func (*Dot11HTControlVHT) GetMFB

func (m *Dot11HTControlVHT) GetMFB() *Dot11HTControlMFB

func (*Dot11HTControlVHT) GetMFSI

func (m *Dot11HTControlVHT) GetMFSI() int32

func (*Dot11HTControlVHT) GetMRQ

func (m *Dot11HTControlVHT) GetMRQ() bool

func (*Dot11HTControlVHT) GetMSI

func (m *Dot11HTControlVHT) GetMSI() int32

func (*Dot11HTControlVHT) GetSTBCIndication

func (m *Dot11HTControlVHT) GetSTBCIndication() bool

func (*Dot11HTControlVHT) GetUnsolicitedMFB

func (m *Dot11HTControlVHT) GetUnsolicitedMFB() bool

func (*Dot11HTControlVHT) Marshal added in v0.3.9

func (m *Dot11HTControlVHT) Marshal() (dAtA []byte, err error)

func (*Dot11HTControlVHT) MarshalTo added in v0.3.9

func (m *Dot11HTControlVHT) MarshalTo(dAtA []byte) (int, error)

func (*Dot11HTControlVHT) MarshalToSizedBuffer added in v0.6.6

func (m *Dot11HTControlVHT) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dot11HTControlVHT) ProtoMessage

func (*Dot11HTControlVHT) ProtoMessage()

func (*Dot11HTControlVHT) Reset

func (m *Dot11HTControlVHT) Reset()

func (*Dot11HTControlVHT) Size added in v0.3.9

func (m *Dot11HTControlVHT) Size() (n int)

func (*Dot11HTControlVHT) String

func (m *Dot11HTControlVHT) String() string

func (*Dot11HTControlVHT) Unmarshal added in v0.3.9

func (m *Dot11HTControlVHT) Unmarshal(dAtA []byte) error

func (*Dot11HTControlVHT) XXX_DiscardUnknown

func (m *Dot11HTControlVHT) XXX_DiscardUnknown()

func (*Dot11HTControlVHT) XXX_Marshal

func (m *Dot11HTControlVHT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dot11HTControlVHT) XXX_Merge

func (m *Dot11HTControlVHT) XXX_Merge(src proto.Message)

func (*Dot11HTControlVHT) XXX_Size

func (m *Dot11HTControlVHT) XXX_Size() int

func (*Dot11HTControlVHT) XXX_Unmarshal

func (m *Dot11HTControlVHT) XXX_Unmarshal(b []byte) error

type Dot11LinkAdapationControl

type Dot11LinkAdapationControl struct {
	TRQ  bool       `protobuf:"varint,1,opt,name=TRQ,proto3" json:"TRQ,omitempty"`
	MRQ  bool       `protobuf:"varint,2,opt,name=MRQ,proto3" json:"MRQ,omitempty"`
	MSI  int32      `protobuf:"varint,3,opt,name=MSI,proto3" json:"MSI,omitempty"`
	MFSI int32      `protobuf:"varint,4,opt,name=MFSI,proto3" json:"MFSI,omitempty"`
	MFB  int32      `protobuf:"varint,6,opt,name=MFB,proto3" json:"MFB,omitempty"`
	ASEL *Dot11ASEL `protobuf:"bytes,5,opt,name=ASEL,proto3" json:"ASEL,omitempty"`
}

func (*Dot11LinkAdapationControl) Descriptor

func (*Dot11LinkAdapationControl) Descriptor() ([]byte, []int)

func (*Dot11LinkAdapationControl) GetASEL

func (m *Dot11LinkAdapationControl) GetASEL() *Dot11ASEL

func (*Dot11LinkAdapationControl) GetMFB

func (m *Dot11LinkAdapationControl) GetMFB() int32

func (*Dot11LinkAdapationControl) GetMFSI

func (m *Dot11LinkAdapationControl) GetMFSI() int32

func (*Dot11LinkAdapationControl) GetMRQ

func (m *Dot11LinkAdapationControl) GetMRQ() bool

func (*Dot11LinkAdapationControl) GetMSI

func (m *Dot11LinkAdapationControl) GetMSI() int32

func (*Dot11LinkAdapationControl) GetTRQ

func (m *Dot11LinkAdapationControl) GetTRQ() bool

func (*Dot11LinkAdapationControl) Marshal added in v0.3.9

func (m *Dot11LinkAdapationControl) Marshal() (dAtA []byte, err error)

func (*Dot11LinkAdapationControl) MarshalTo added in v0.3.9

func (m *Dot11LinkAdapationControl) MarshalTo(dAtA []byte) (int, error)

func (*Dot11LinkAdapationControl) MarshalToSizedBuffer added in v0.6.6

func (m *Dot11LinkAdapationControl) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dot11LinkAdapationControl) ProtoMessage

func (*Dot11LinkAdapationControl) ProtoMessage()

func (*Dot11LinkAdapationControl) Reset

func (m *Dot11LinkAdapationControl) Reset()

func (*Dot11LinkAdapationControl) Size added in v0.3.9

func (m *Dot11LinkAdapationControl) Size() (n int)

func (*Dot11LinkAdapationControl) String

func (m *Dot11LinkAdapationControl) String() string

func (*Dot11LinkAdapationControl) Unmarshal added in v0.3.9

func (m *Dot11LinkAdapationControl) Unmarshal(dAtA []byte) error

func (*Dot11LinkAdapationControl) XXX_DiscardUnknown

func (m *Dot11LinkAdapationControl) XXX_DiscardUnknown()

func (*Dot11LinkAdapationControl) XXX_Marshal

func (m *Dot11LinkAdapationControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dot11LinkAdapationControl) XXX_Merge

func (m *Dot11LinkAdapationControl) XXX_Merge(src proto.Message)

func (*Dot11LinkAdapationControl) XXX_Size

func (m *Dot11LinkAdapationControl) XXX_Size() int

func (*Dot11LinkAdapationControl) XXX_Unmarshal

func (m *Dot11LinkAdapationControl) XXX_Unmarshal(b []byte) error

type Dot11QOS

type Dot11QOS struct {
	TID       int32 `protobuf:"varint,1,opt,name=TID,proto3" json:"TID,omitempty"`
	EOSP      bool  `protobuf:"varint,2,opt,name=EOSP,proto3" json:"EOSP,omitempty"`
	AckPolicy int32 `protobuf:"varint,3,opt,name=AckPolicy,proto3" json:"AckPolicy,omitempty"`
	TXOP      int32 `protobuf:"varint,4,opt,name=TXOP,proto3" json:"TXOP,omitempty"`
}

func (*Dot11QOS) Descriptor

func (*Dot11QOS) Descriptor() ([]byte, []int)

func (*Dot11QOS) GetAckPolicy

func (m *Dot11QOS) GetAckPolicy() int32

func (*Dot11QOS) GetEOSP

func (m *Dot11QOS) GetEOSP() bool

func (*Dot11QOS) GetTID

func (m *Dot11QOS) GetTID() int32

func (*Dot11QOS) GetTXOP

func (m *Dot11QOS) GetTXOP() int32

func (*Dot11QOS) Marshal added in v0.3.9

func (m *Dot11QOS) Marshal() (dAtA []byte, err error)

func (*Dot11QOS) MarshalTo added in v0.3.9

func (m *Dot11QOS) MarshalTo(dAtA []byte) (int, error)

func (*Dot11QOS) MarshalToSizedBuffer added in v0.6.6

func (m *Dot11QOS) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dot11QOS) ProtoMessage

func (*Dot11QOS) ProtoMessage()

func (*Dot11QOS) Reset

func (m *Dot11QOS) Reset()

func (*Dot11QOS) Size added in v0.3.9

func (m *Dot11QOS) Size() (n int)

func (*Dot11QOS) String

func (m *Dot11QOS) String() string

func (*Dot11QOS) Unmarshal added in v0.3.9

func (m *Dot11QOS) Unmarshal(dAtA []byte) error

func (*Dot11QOS) XXX_DiscardUnknown

func (m *Dot11QOS) XXX_DiscardUnknown()

func (*Dot11QOS) XXX_Marshal

func (m *Dot11QOS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dot11QOS) XXX_Merge

func (m *Dot11QOS) XXX_Merge(src proto.Message)

func (*Dot11QOS) XXX_Size

func (m *Dot11QOS) XXX_Size() int

func (*Dot11QOS) XXX_Unmarshal

func (m *Dot11QOS) XXX_Unmarshal(b []byte) error

type Dot1Q

type Dot1Q struct {
	Timestamp      int64 `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Priority       int32 `protobuf:"varint,2,opt,name=Priority,proto3" json:"Priority,omitempty"`
	DropEligible   bool  `protobuf:"varint,3,opt,name=DropEligible,proto3" json:"DropEligible,omitempty"`
	VLANIdentifier int32 `protobuf:"varint,4,opt,name=VLANIdentifier,proto3" json:"VLANIdentifier,omitempty"`
	Type           int32 `protobuf:"varint,5,opt,name=Type,proto3" json:"Type,omitempty"`
}

Dot1Q is the packet layer for 802.1Q VLAN headers.

func (*Dot1Q) Analyze added in v0.6.6

func (d *Dot1Q) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Dot1Q) CSVHeader

func (d *Dot1Q) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Dot1Q) CSVRecord

func (d *Dot1Q) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Dot1Q) Descriptor

func (*Dot1Q) Descriptor() ([]byte, []int)

func (*Dot1Q) Dst added in v0.4.3

func (d *Dot1Q) Dst() string

Dst returns the destination address of the audit record.

func (*Dot1Q) Encode added in v0.6.6

func (d *Dot1Q) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Dot1Q) GetDropEligible

func (m *Dot1Q) GetDropEligible() bool

func (*Dot1Q) GetPriority

func (m *Dot1Q) GetPriority() int32

func (*Dot1Q) GetTimestamp

func (m *Dot1Q) GetTimestamp() int64

func (*Dot1Q) GetType

func (m *Dot1Q) GetType() int32

func (*Dot1Q) GetVLANIdentifier

func (m *Dot1Q) GetVLANIdentifier() int32

func (*Dot1Q) Inc added in v0.4.0

func (d *Dot1Q) Inc()

Inc increments the metrics for the audit record.

func (*Dot1Q) JSON added in v0.4.0

func (d *Dot1Q) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Dot1Q) Marshal added in v0.3.9

func (m *Dot1Q) Marshal() (dAtA []byte, err error)

func (*Dot1Q) MarshalTo added in v0.3.9

func (m *Dot1Q) MarshalTo(dAtA []byte) (int, error)

func (*Dot1Q) MarshalToSizedBuffer added in v0.6.6

func (m *Dot1Q) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dot1Q) NetcapType added in v0.6.6

func (d *Dot1Q) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Dot1Q) ProtoMessage

func (*Dot1Q) ProtoMessage()

func (*Dot1Q) Reset

func (m *Dot1Q) Reset()

func (*Dot1Q) SetPacketContext added in v0.4.2

func (d *Dot1Q) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Dot1Q) Size added in v0.3.9

func (m *Dot1Q) Size() (n int)

func (*Dot1Q) Src added in v0.4.3

func (d *Dot1Q) Src() string

Src TODO: return Mac addr. Src returns the source address of the audit record.

func (*Dot1Q) String

func (m *Dot1Q) String() string

func (*Dot1Q) Time added in v0.4.3

func (d *Dot1Q) Time() int64

Time returns the timestamp associated with the audit record.

func (*Dot1Q) Unmarshal added in v0.3.9

func (m *Dot1Q) Unmarshal(dAtA []byte) error

func (*Dot1Q) XXX_DiscardUnknown

func (m *Dot1Q) XXX_DiscardUnknown()

func (*Dot1Q) XXX_Marshal

func (m *Dot1Q) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dot1Q) XXX_Merge

func (m *Dot1Q) XXX_Merge(src proto.Message)

func (*Dot1Q) XXX_Size

func (m *Dot1Q) XXX_Size() int

func (*Dot1Q) XXX_Unmarshal

func (m *Dot1Q) XXX_Unmarshal(b []byte) error

type EAP added in v0.3.7

type EAP struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Code      int32  `protobuf:"varint,2,opt,name=Code,proto3" json:"Code,omitempty"`
	Id        int32  `protobuf:"varint,3,opt,name=Id,proto3" json:"Id,omitempty"`
	Length    int32  `protobuf:"varint,4,opt,name=Length,proto3" json:"Length,omitempty"`
	Type      int32  `protobuf:"varint,5,opt,name=Type,proto3" json:"Type,omitempty"`
	TypeData  []byte `protobuf:"bytes,6,opt,name=TypeData,proto3" json:"TypeData,omitempty"`
}

EAP defines an Extensible Authentication Protocol (rfc 3748) layer.

func (*EAP) Analyze added in v0.6.6

func (a *EAP) Analyze()

Analyze will invoke the configured analyzer(s) for the audit record and return a score.

func (*EAP) CSVHeader added in v0.3.7

func (a *EAP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*EAP) CSVRecord added in v0.3.7

func (a *EAP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*EAP) Descriptor added in v0.3.7

func (*EAP) Descriptor() ([]byte, []int)

func (*EAP) Dst added in v0.4.3

func (a *EAP) Dst() string

Dst returns the destination address of the audit record.

func (*EAP) Encode added in v0.6.6

func (a *EAP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*EAP) GetCode added in v0.3.7

func (m *EAP) GetCode() int32

func (*EAP) GetId added in v0.3.7

func (m *EAP) GetId() int32

func (*EAP) GetLength added in v0.3.7

func (m *EAP) GetLength() int32

func (*EAP) GetTimestamp added in v0.3.7

func (m *EAP) GetTimestamp() int64

func (*EAP) GetType added in v0.3.7

func (m *EAP) GetType() int32

func (*EAP) GetTypeData added in v0.3.7

func (m *EAP) GetTypeData() []byte

func (*EAP) Inc added in v0.4.0

func (a *EAP) Inc()

Inc increments the metrics for the audit record.

func (*EAP) JSON added in v0.4.0

func (a *EAP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*EAP) Marshal added in v0.3.9

func (m *EAP) Marshal() (dAtA []byte, err error)

func (*EAP) MarshalTo added in v0.3.9

func (m *EAP) MarshalTo(dAtA []byte) (int, error)

func (*EAP) MarshalToSizedBuffer added in v0.6.6

func (m *EAP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EAP) NetcapType added in v0.6.6

func (a *EAP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*EAP) ProtoMessage added in v0.3.7

func (*EAP) ProtoMessage()

func (*EAP) Reset added in v0.3.7

func (m *EAP) Reset()

func (*EAP) SetPacketContext added in v0.4.2

func (a *EAP) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*EAP) Size added in v0.3.9

func (m *EAP) Size() (n int)

func (*EAP) Src added in v0.4.3

func (a *EAP) Src() string

Src TODO: return Mac addr. Src returns the source address of the audit record.

func (*EAP) String added in v0.3.7

func (m *EAP) String() string

func (*EAP) Time added in v0.4.3

func (a *EAP) Time() int64

Time returns the timestamp associated with the audit record.

func (*EAP) Unmarshal added in v0.3.9

func (m *EAP) Unmarshal(dAtA []byte) error

func (*EAP) XXX_DiscardUnknown added in v0.3.7

func (m *EAP) XXX_DiscardUnknown()

func (*EAP) XXX_Marshal added in v0.3.7

func (m *EAP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EAP) XXX_Merge added in v0.3.7

func (m *EAP) XXX_Merge(src proto.Message)

func (*EAP) XXX_Size added in v0.3.7

func (m *EAP) XXX_Size() int

func (*EAP) XXX_Unmarshal added in v0.3.7

func (m *EAP) XXX_Unmarshal(b []byte) error

type EAPOL added in v0.3.8

type EAPOL struct {
	Timestamp int64 `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Version   int32 `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	Type      int32 `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
	Length    int32 `protobuf:"varint,4,opt,name=Length,proto3" json:"Length,omitempty"`
}

EAPOL defines an EAP over LAN (802.1x) layer.

func (*EAPOL) Analyze added in v0.6.6

func (a *EAPOL) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*EAPOL) CSVHeader added in v0.3.8

func (a *EAPOL) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*EAPOL) CSVRecord added in v0.3.8

func (a *EAPOL) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*EAPOL) Descriptor added in v0.3.8

func (*EAPOL) Descriptor() ([]byte, []int)

func (*EAPOL) Dst added in v0.4.3

func (a *EAPOL) Dst() string

Dst returns the destination address of the audit record.

func (*EAPOL) Encode added in v0.6.6

func (a *EAPOL) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*EAPOL) GetLength added in v0.3.8

func (m *EAPOL) GetLength() int32

func (*EAPOL) GetTimestamp added in v0.3.8

func (m *EAPOL) GetTimestamp() int64

func (*EAPOL) GetType added in v0.3.8

func (m *EAPOL) GetType() int32

func (*EAPOL) GetVersion added in v0.3.8

func (m *EAPOL) GetVersion() int32

func (*EAPOL) Inc added in v0.4.0

func (a *EAPOL) Inc()

Inc increments the metrics for the audit record.

func (*EAPOL) JSON added in v0.4.0

func (a *EAPOL) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*EAPOL) Marshal added in v0.3.9

func (m *EAPOL) Marshal() (dAtA []byte, err error)

func (*EAPOL) MarshalTo added in v0.3.9

func (m *EAPOL) MarshalTo(dAtA []byte) (int, error)

func (*EAPOL) MarshalToSizedBuffer added in v0.6.6

func (m *EAPOL) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EAPOL) NetcapType added in v0.6.6

func (a *EAPOL) NetcapType() Type

NetcapType returns the type of the current audit record

func (*EAPOL) ProtoMessage added in v0.3.8

func (*EAPOL) ProtoMessage()

func (*EAPOL) Reset added in v0.3.8

func (m *EAPOL) Reset()

func (*EAPOL) SetPacketContext added in v0.4.2

func (a *EAPOL) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*EAPOL) Size added in v0.3.9

func (m *EAPOL) Size() (n int)

func (*EAPOL) Src added in v0.4.3

func (a *EAPOL) Src() string

Src TODO: return Mac addr. Src returns the source address of the audit record.

func (*EAPOL) String added in v0.3.8

func (m *EAPOL) String() string

func (*EAPOL) Time added in v0.4.3

func (a *EAPOL) Time() int64

Time returns the timestamp associated with the audit record.

func (*EAPOL) Unmarshal added in v0.3.9

func (m *EAPOL) Unmarshal(dAtA []byte) error

func (*EAPOL) XXX_DiscardUnknown added in v0.3.8

func (m *EAPOL) XXX_DiscardUnknown()

func (*EAPOL) XXX_Marshal added in v0.3.8

func (m *EAPOL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EAPOL) XXX_Merge added in v0.3.8

func (m *EAPOL) XXX_Merge(src proto.Message)

func (*EAPOL) XXX_Size added in v0.3.8

func (m *EAPOL) XXX_Size() int

func (*EAPOL) XXX_Unmarshal added in v0.3.8

func (m *EAPOL) XXX_Unmarshal(b []byte) error

type EAPOLKey added in v0.3.8

type EAPOLKey struct {
	Timestamp            int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	KeyDescriptorType    int32  `protobuf:"varint,2,opt,name=KeyDescriptorType,proto3" json:"KeyDescriptorType,omitempty"`
	KeyDescriptorVersion int32  `protobuf:"varint,3,opt,name=KeyDescriptorVersion,proto3" json:"KeyDescriptorVersion,omitempty"`
	KeyType              int32  `protobuf:"varint,4,opt,name=KeyType,proto3" json:"KeyType,omitempty"`
	KeyIndex             int32  `protobuf:"varint,5,opt,name=KeyIndex,proto3" json:"KeyIndex,omitempty"`
	Install              bool   `protobuf:"varint,6,opt,name=Install,proto3" json:"Install,omitempty"`
	KeyACK               bool   `protobuf:"varint,7,opt,name=KeyACK,proto3" json:"KeyACK,omitempty"`
	KeyMIC               bool   `protobuf:"varint,8,opt,name=KeyMIC,proto3" json:"KeyMIC,omitempty"`
	Secure               bool   `protobuf:"varint,9,opt,name=Secure,proto3" json:"Secure,omitempty"`
	MICError             bool   `protobuf:"varint,10,opt,name=MICError,proto3" json:"MICError,omitempty"`
	Request              bool   `protobuf:"varint,11,opt,name=Request,proto3" json:"Request,omitempty"`
	HasEncryptedKeyData  bool   `protobuf:"varint,12,opt,name=HasEncryptedKeyData,proto3" json:"HasEncryptedKeyData,omitempty"`
	SMKMessage           bool   `protobuf:"varint,13,opt,name=SMKMessage,proto3" json:"SMKMessage,omitempty"`
	KeyLength            int32  `protobuf:"varint,14,opt,name=KeyLength,proto3" json:"KeyLength,omitempty"`
	ReplayCounter        uint64 `protobuf:"varint,15,opt,name=ReplayCounter,proto3" json:"ReplayCounter,omitempty"`
	Nonce                []byte `protobuf:"bytes,16,opt,name=Nonce,proto3" json:"Nonce,omitempty"`
	IV                   []byte `protobuf:"bytes,17,opt,name=IV,proto3" json:"IV,omitempty"`
	RSC                  uint64 `protobuf:"varint,18,opt,name=RSC,proto3" json:"RSC,omitempty"`
	ID                   uint64 `protobuf:"varint,19,opt,name=ID,proto3" json:"ID,omitempty"`
	MIC                  []byte `protobuf:"bytes,20,opt,name=MIC,proto3" json:"MIC,omitempty"`
	KeyDataLength        int32  `protobuf:"varint,21,opt,name=KeyDataLength,proto3" json:"KeyDataLength,omitempty"`
	EncryptedKeyData     []byte `protobuf:"bytes,22,opt,name=EncryptedKeyData,proto3" json:"EncryptedKeyData,omitempty"`
}

EAPOLKey defines an EAPOL-Key frame for 802.1x authentication

func (*EAPOLKey) Analyze added in v0.6.6

func (a *EAPOLKey) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*EAPOLKey) CSVHeader added in v0.3.8

func (a *EAPOLKey) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*EAPOLKey) CSVRecord added in v0.3.8

func (a *EAPOLKey) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*EAPOLKey) Descriptor added in v0.3.8

func (*EAPOLKey) Descriptor() ([]byte, []int)

func (*EAPOLKey) Dst added in v0.4.3

func (a *EAPOLKey) Dst() string

Dst returns the destination address of the audit record.

func (*EAPOLKey) Encode added in v0.6.6

func (a *EAPOLKey) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*EAPOLKey) GetEncryptedKeyData added in v0.3.8

func (m *EAPOLKey) GetEncryptedKeyData() []byte

func (*EAPOLKey) GetHasEncryptedKeyData added in v0.3.8

func (m *EAPOLKey) GetHasEncryptedKeyData() bool

func (*EAPOLKey) GetID added in v0.3.8

func (m *EAPOLKey) GetID() uint64

func (*EAPOLKey) GetIV added in v0.3.8

func (m *EAPOLKey) GetIV() []byte

func (*EAPOLKey) GetInstall added in v0.3.8

func (m *EAPOLKey) GetInstall() bool

func (*EAPOLKey) GetKeyACK added in v0.3.8

func (m *EAPOLKey) GetKeyACK() bool

func (*EAPOLKey) GetKeyDataLength added in v0.3.8

func (m *EAPOLKey) GetKeyDataLength() int32

func (*EAPOLKey) GetKeyDescriptorType added in v0.3.8

func (m *EAPOLKey) GetKeyDescriptorType() int32

func (*EAPOLKey) GetKeyDescriptorVersion added in v0.3.8

func (m *EAPOLKey) GetKeyDescriptorVersion() int32

func (*EAPOLKey) GetKeyIndex added in v0.3.8

func (m *EAPOLKey) GetKeyIndex() int32

func (*EAPOLKey) GetKeyLength added in v0.3.8

func (m *EAPOLKey) GetKeyLength() int32

func (*EAPOLKey) GetKeyMIC added in v0.3.8

func (m *EAPOLKey) GetKeyMIC() bool

func (*EAPOLKey) GetKeyType added in v0.3.8

func (m *EAPOLKey) GetKeyType() int32

func (*EAPOLKey) GetMIC added in v0.3.8

func (m *EAPOLKey) GetMIC() []byte

func (*EAPOLKey) GetMICError added in v0.3.8

func (m *EAPOLKey) GetMICError() bool

func (*EAPOLKey) GetNonce added in v0.3.8

func (m *EAPOLKey) GetNonce() []byte

func (*EAPOLKey) GetRSC added in v0.3.8

func (m *EAPOLKey) GetRSC() uint64

func (*EAPOLKey) GetReplayCounter added in v0.3.8

func (m *EAPOLKey) GetReplayCounter() uint64

func (*EAPOLKey) GetRequest added in v0.3.8

func (m *EAPOLKey) GetRequest() bool

func (*EAPOLKey) GetSMKMessage added in v0.3.8

func (m *EAPOLKey) GetSMKMessage() bool

func (*EAPOLKey) GetSecure added in v0.3.8

func (m *EAPOLKey) GetSecure() bool

func (*EAPOLKey) GetTimestamp added in v0.3.8

func (m *EAPOLKey) GetTimestamp() int64

func (*EAPOLKey) Inc added in v0.4.0

func (a *EAPOLKey) Inc()

Inc increments the metrics for the audit record.

func (*EAPOLKey) JSON added in v0.4.0

func (a *EAPOLKey) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*EAPOLKey) Marshal added in v0.3.9

func (m *EAPOLKey) Marshal() (dAtA []byte, err error)

func (*EAPOLKey) MarshalTo added in v0.3.9

func (m *EAPOLKey) MarshalTo(dAtA []byte) (int, error)

func (*EAPOLKey) MarshalToSizedBuffer added in v0.6.6

func (m *EAPOLKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EAPOLKey) NetcapType added in v0.6.6

func (a *EAPOLKey) NetcapType() Type

NetcapType returns the type of the current audit record

func (*EAPOLKey) ProtoMessage added in v0.3.8

func (*EAPOLKey) ProtoMessage()

func (*EAPOLKey) Reset added in v0.3.8

func (m *EAPOLKey) Reset()

func (*EAPOLKey) SetPacketContext added in v0.4.2

func (a *EAPOLKey) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*EAPOLKey) Size added in v0.3.9

func (m *EAPOLKey) Size() (n int)

func (*EAPOLKey) Src added in v0.4.3

func (a *EAPOLKey) Src() string

Src TODO: return Mac addr. Src returns the source address of the audit record.

func (*EAPOLKey) String added in v0.3.8

func (m *EAPOLKey) String() string

func (*EAPOLKey) Time added in v0.4.3

func (a *EAPOLKey) Time() int64

Time returns the timestamp associated with the audit record.

func (*EAPOLKey) Unmarshal added in v0.3.9

func (m *EAPOLKey) Unmarshal(dAtA []byte) error

func (*EAPOLKey) XXX_DiscardUnknown added in v0.3.8

func (m *EAPOLKey) XXX_DiscardUnknown()

func (*EAPOLKey) XXX_Marshal added in v0.3.8

func (m *EAPOLKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EAPOLKey) XXX_Merge added in v0.3.8

func (m *EAPOLKey) XXX_Merge(src proto.Message)

func (*EAPOLKey) XXX_Size added in v0.3.8

func (m *EAPOLKey) XXX_Size() int

func (*EAPOLKey) XXX_Unmarshal added in v0.3.8

func (m *EAPOLKey) XXX_Unmarshal(b []byte) error

type ENIP added in v0.4.3

type ENIP struct {
	Timestamp       int64                    `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Command         uint32                   `protobuf:"varint,2,opt,name=Command,proto3" json:"Command,omitempty"`
	Length          uint32                   `protobuf:"varint,3,opt,name=Length,proto3" json:"Length,omitempty"`
	SessionHandle   uint32                   `protobuf:"varint,4,opt,name=SessionHandle,proto3" json:"SessionHandle,omitempty"`
	Status          uint32                   `protobuf:"varint,5,opt,name=Status,proto3" json:"Status,omitempty"`
	SenderContext   []byte                   `protobuf:"bytes,6,opt,name=SenderContext,proto3" json:"SenderContext,omitempty"`
	Options         uint32                   `protobuf:"varint,7,opt,name=Options,proto3" json:"Options,omitempty"`
	CommandSpecific *ENIPCommandSpecificData `protobuf:"bytes,8,opt,name=CommandSpecific,proto3" json:"CommandSpecific,omitempty"`
	SrcIP           string                   `protobuf:"bytes,9,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP           string                   `protobuf:"bytes,10,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort         int32                    `protobuf:"varint,11,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort         int32                    `protobuf:"varint,12,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

ENIP implements decoding of EtherNet/IP, a protocol used to transport the Common Industrial Protocol over standard OSI networks. EtherNet/IP transports over both TCP and UDP. See the EtherNet/IP Developer's Guide for more information: https://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00213R0_EtherNetIP_Developers_Guide.pdf

func (*ENIP) Analyze added in v0.6.6

func (en *ENIP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*ENIP) CSVHeader added in v0.4.3

func (en *ENIP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*ENIP) CSVRecord added in v0.4.3

func (en *ENIP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*ENIP) Descriptor added in v0.4.3

func (*ENIP) Descriptor() ([]byte, []int)

func (*ENIP) Dst added in v0.4.3

func (en *ENIP) Dst() string

Dst returns the destination address of the audit record.

func (*ENIP) Encode added in v0.6.6

func (en *ENIP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*ENIP) GetCommand added in v0.4.3

func (m *ENIP) GetCommand() uint32

func (*ENIP) GetCommandSpecific added in v0.4.3

func (m *ENIP) GetCommandSpecific() *ENIPCommandSpecificData

func (*ENIP) GetDstIP added in v0.6.6

func (m *ENIP) GetDstIP() string

func (*ENIP) GetDstPort added in v0.6.6

func (m *ENIP) GetDstPort() int32

func (*ENIP) GetLength added in v0.4.3

func (m *ENIP) GetLength() uint32

func (*ENIP) GetOptions added in v0.4.3

func (m *ENIP) GetOptions() uint32

func (*ENIP) GetSenderContext added in v0.4.3

func (m *ENIP) GetSenderContext() []byte

func (*ENIP) GetSessionHandle added in v0.4.3

func (m *ENIP) GetSessionHandle() uint32

func (*ENIP) GetSrcIP added in v0.6.6

func (m *ENIP) GetSrcIP() string

func (*ENIP) GetSrcPort added in v0.6.6

func (m *ENIP) GetSrcPort() int32

func (*ENIP) GetStatus added in v0.4.3

func (m *ENIP) GetStatus() uint32

func (*ENIP) GetTimestamp added in v0.4.3

func (m *ENIP) GetTimestamp() int64

func (*ENIP) Inc added in v0.4.3

func (en *ENIP) Inc()

Inc increments the metrics for the audit record.

func (*ENIP) JSON added in v0.4.3

func (en *ENIP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*ENIP) Marshal added in v0.4.3

func (m *ENIP) Marshal() (dAtA []byte, err error)

func (*ENIP) MarshalTo added in v0.4.3

func (m *ENIP) MarshalTo(dAtA []byte) (int, error)

func (*ENIP) MarshalToSizedBuffer added in v0.6.6

func (m *ENIP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ENIP) NetcapType added in v0.6.6

func (a *ENIP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*ENIP) ProtoMessage added in v0.4.3

func (*ENIP) ProtoMessage()

func (*ENIP) Reset added in v0.4.3

func (m *ENIP) Reset()

func (*ENIP) SetPacketContext added in v0.4.3

func (en *ENIP) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*ENIP) Size added in v0.4.3

func (m *ENIP) Size() (n int)

func (*ENIP) Src added in v0.4.3

func (en *ENIP) Src() string

Src returns the source address of the audit record.

func (*ENIP) String added in v0.4.3

func (m *ENIP) String() string

func (*ENIP) Time added in v0.4.3

func (en *ENIP) Time() int64

Time returns the timestamp associated with the audit record.

func (*ENIP) Unmarshal added in v0.4.3

func (m *ENIP) Unmarshal(dAtA []byte) error

func (*ENIP) XXX_DiscardUnknown added in v0.4.3

func (m *ENIP) XXX_DiscardUnknown()

func (*ENIP) XXX_Marshal added in v0.4.3

func (m *ENIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ENIP) XXX_Merge added in v0.4.3

func (m *ENIP) XXX_Merge(src proto.Message)

func (*ENIP) XXX_Size added in v0.4.3

func (m *ENIP) XXX_Size() int

func (*ENIP) XXX_Unmarshal added in v0.4.3

func (m *ENIP) XXX_Unmarshal(b []byte) error

type ENIPCommandSpecificData added in v0.4.3

type ENIPCommandSpecificData struct {
	Cmd  uint32 `protobuf:"varint,1,opt,name=Cmd,proto3" json:"Cmd,omitempty"`
	Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
}

ENIPCommandSpecificData contains data specific to a command. This may include another EtherNet/IP packet embedded within the Data structure.

func (*ENIPCommandSpecificData) Descriptor added in v0.4.3

func (*ENIPCommandSpecificData) Descriptor() ([]byte, []int)

func (*ENIPCommandSpecificData) GetCmd added in v0.4.3

func (m *ENIPCommandSpecificData) GetCmd() uint32

func (*ENIPCommandSpecificData) GetData added in v0.4.3

func (m *ENIPCommandSpecificData) GetData() []byte

func (*ENIPCommandSpecificData) Marshal added in v0.4.3

func (m *ENIPCommandSpecificData) Marshal() (dAtA []byte, err error)

func (*ENIPCommandSpecificData) MarshalTo added in v0.4.3

func (m *ENIPCommandSpecificData) MarshalTo(dAtA []byte) (int, error)

func (*ENIPCommandSpecificData) MarshalToSizedBuffer added in v0.6.6

func (m *ENIPCommandSpecificData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ENIPCommandSpecificData) ProtoMessage added in v0.4.3

func (*ENIPCommandSpecificData) ProtoMessage()

func (*ENIPCommandSpecificData) Reset added in v0.4.3

func (m *ENIPCommandSpecificData) Reset()

func (*ENIPCommandSpecificData) Size added in v0.4.3

func (m *ENIPCommandSpecificData) Size() (n int)

func (*ENIPCommandSpecificData) String added in v0.4.3

func (m *ENIPCommandSpecificData) String() string

func (*ENIPCommandSpecificData) Unmarshal added in v0.4.3

func (m *ENIPCommandSpecificData) Unmarshal(dAtA []byte) error

func (*ENIPCommandSpecificData) XXX_DiscardUnknown added in v0.4.3

func (m *ENIPCommandSpecificData) XXX_DiscardUnknown()

func (*ENIPCommandSpecificData) XXX_Marshal added in v0.4.3

func (m *ENIPCommandSpecificData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ENIPCommandSpecificData) XXX_Merge added in v0.4.3

func (m *ENIPCommandSpecificData) XXX_Merge(src proto.Message)

func (*ENIPCommandSpecificData) XXX_Size added in v0.4.3

func (m *ENIPCommandSpecificData) XXX_Size() int

func (*ENIPCommandSpecificData) XXX_Unmarshal added in v0.4.3

func (m *ENIPCommandSpecificData) XXX_Unmarshal(b []byte) error

type Ethernet

type Ethernet struct {
	Timestamp      int64   `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	SrcMAC         string  `protobuf:"bytes,2,opt,name=SrcMAC,proto3" json:"SrcMAC,omitempty"`
	DstMAC         string  `protobuf:"bytes,3,opt,name=DstMAC,proto3" json:"DstMAC,omitempty"`
	EthernetType   int32   `protobuf:"varint,4,opt,name=EthernetType,proto3" json:"EthernetType,omitempty"`
	PayloadEntropy float64 `protobuf:"fixed64,5,opt,name=PayloadEntropy,proto3" json:"PayloadEntropy,omitempty"`
	PayloadSize    int32   `protobuf:"varint,6,opt,name=PayloadSize,proto3" json:"PayloadSize,omitempty"`
}

Ethernet is a family of computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 1983 as IEEE 802.3. Ethernet has since retained a good deal of backward compatibility and has been refined to support higher bit rates, a greater number of nodes, and longer link distances. Over time, Ethernet has largely replaced competing wired LAN technologies such as Token Ring, FDDI and ARCNET.

func (*Ethernet) Analyze added in v0.6.6

func (eth *Ethernet) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Ethernet) CSVHeader

func (eth *Ethernet) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Ethernet) CSVRecord

func (eth *Ethernet) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Ethernet) Descriptor

func (*Ethernet) Descriptor() ([]byte, []int)

func (*Ethernet) Dst added in v0.4.3

func (eth *Ethernet) Dst() string

Dst returns the destination address of the audit record.

func (*Ethernet) Encode added in v0.6.6

func (eth *Ethernet) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Ethernet) GetDstMAC

func (m *Ethernet) GetDstMAC() string

func (*Ethernet) GetEthernetType

func (m *Ethernet) GetEthernetType() int32

func (*Ethernet) GetPayloadEntropy

func (m *Ethernet) GetPayloadEntropy() float64

func (*Ethernet) GetPayloadSize

func (m *Ethernet) GetPayloadSize() int32

func (*Ethernet) GetSrcMAC

func (m *Ethernet) GetSrcMAC() string

func (*Ethernet) GetTimestamp

func (m *Ethernet) GetTimestamp() int64

func (*Ethernet) Inc added in v0.4.0

func (eth *Ethernet) Inc()

Inc increments the metrics for the audit record.

func (*Ethernet) JSON added in v0.4.0

func (eth *Ethernet) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Ethernet) Marshal added in v0.3.9

func (m *Ethernet) Marshal() (dAtA []byte, err error)

func (*Ethernet) MarshalTo added in v0.3.9

func (m *Ethernet) MarshalTo(dAtA []byte) (int, error)

func (*Ethernet) MarshalToSizedBuffer added in v0.6.6

func (m *Ethernet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ethernet) NetcapType added in v0.6.6

func (eth *Ethernet) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Ethernet) ProtoMessage

func (*Ethernet) ProtoMessage()

func (*Ethernet) Reset

func (m *Ethernet) Reset()

func (*Ethernet) SetPacketContext added in v0.4.2

func (eth *Ethernet) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Ethernet) Size added in v0.3.9

func (m *Ethernet) Size() (n int)

func (*Ethernet) Src added in v0.4.3

func (eth *Ethernet) Src() string

Src returns the source address of the audit record.

func (*Ethernet) String

func (m *Ethernet) String() string

func (*Ethernet) Time added in v0.4.3

func (eth *Ethernet) Time() int64

Time returns the timestamp associated with the audit record.

func (*Ethernet) Unmarshal added in v0.3.9

func (m *Ethernet) Unmarshal(dAtA []byte) error

func (*Ethernet) XXX_DiscardUnknown

func (m *Ethernet) XXX_DiscardUnknown()

func (*Ethernet) XXX_Marshal

func (m *Ethernet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ethernet) XXX_Merge

func (m *Ethernet) XXX_Merge(src proto.Message)

func (*Ethernet) XXX_Size

func (m *Ethernet) XXX_Size() int

func (*Ethernet) XXX_Unmarshal

func (m *Ethernet) XXX_Unmarshal(b []byte) error

type EthernetCTP

type EthernetCTP struct {
	Timestamp int64 `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	SkipCount int32 `protobuf:"varint,2,opt,name=SkipCount,proto3" json:"SkipCount,omitempty"`
}

func (*EthernetCTP) Analyze added in v0.6.6

func (i *EthernetCTP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*EthernetCTP) CSVHeader

func (i *EthernetCTP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*EthernetCTP) CSVRecord

func (i *EthernetCTP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*EthernetCTP) Descriptor

func (*EthernetCTP) Descriptor() ([]byte, []int)

func (*EthernetCTP) Dst added in v0.4.3

func (i *EthernetCTP) Dst() string

Dst returns the destination address of the audit record.

func (*EthernetCTP) Encode added in v0.6.6

func (i *EthernetCTP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*EthernetCTP) GetSkipCount

func (m *EthernetCTP) GetSkipCount() int32

func (*EthernetCTP) GetTimestamp

func (m *EthernetCTP) GetTimestamp() int64

func (*EthernetCTP) Inc added in v0.4.0

func (i *EthernetCTP) Inc()

Inc increments the metrics for the audit record.

func (*EthernetCTP) JSON added in v0.4.0

func (i *EthernetCTP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*EthernetCTP) Marshal added in v0.3.9

func (m *EthernetCTP) Marshal() (dAtA []byte, err error)

func (*EthernetCTP) MarshalTo added in v0.3.9

func (m *EthernetCTP) MarshalTo(dAtA []byte) (int, error)

func (*EthernetCTP) MarshalToSizedBuffer added in v0.6.6

func (m *EthernetCTP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthernetCTP) NetcapType added in v0.6.6

func (a *EthernetCTP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*EthernetCTP) ProtoMessage

func (*EthernetCTP) ProtoMessage()

func (*EthernetCTP) Reset

func (m *EthernetCTP) Reset()

func (*EthernetCTP) SetPacketContext added in v0.4.2

func (a *EthernetCTP) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*EthernetCTP) Size added in v0.3.9

func (m *EthernetCTP) Size() (n int)

func (*EthernetCTP) Src added in v0.4.3

func (i *EthernetCTP) Src() string

Src TODO. Src returns the source address of the audit record.

func (*EthernetCTP) String

func (m *EthernetCTP) String() string

func (*EthernetCTP) Time added in v0.4.3

func (i *EthernetCTP) Time() int64

Time returns the timestamp associated with the audit record.

func (*EthernetCTP) Unmarshal added in v0.3.9

func (m *EthernetCTP) Unmarshal(dAtA []byte) error

func (*EthernetCTP) XXX_DiscardUnknown

func (m *EthernetCTP) XXX_DiscardUnknown()

func (*EthernetCTP) XXX_Marshal

func (m *EthernetCTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthernetCTP) XXX_Merge

func (m *EthernetCTP) XXX_Merge(src proto.Message)

func (*EthernetCTP) XXX_Size

func (m *EthernetCTP) XXX_Size() int

func (*EthernetCTP) XXX_Unmarshal

func (m *EthernetCTP) XXX_Unmarshal(b []byte) error

type EthernetCTPReply

type EthernetCTPReply struct {
	Timestamp     int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Function      int32  `protobuf:"varint,2,opt,name=Function,proto3" json:"Function,omitempty"`
	ReceiptNumber int32  `protobuf:"varint,3,opt,name=ReceiptNumber,proto3" json:"ReceiptNumber,omitempty"`
	Data          []byte `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data,omitempty"`
}

func (*EthernetCTPReply) Analyze added in v0.6.6

func (ectpr *EthernetCTPReply) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*EthernetCTPReply) CSVHeader

func (ectpr *EthernetCTPReply) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*EthernetCTPReply) CSVRecord

func (ectpr *EthernetCTPReply) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*EthernetCTPReply) Descriptor

func (*EthernetCTPReply) Descriptor() ([]byte, []int)

func (*EthernetCTPReply) Dst added in v0.4.3

func (ectpr *EthernetCTPReply) Dst() string

Dst returns the destination address of the audit record.

func (*EthernetCTPReply) Encode added in v0.6.6

func (ectpr *EthernetCTPReply) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*EthernetCTPReply) GetData

func (m *EthernetCTPReply) GetData() []byte

func (*EthernetCTPReply) GetFunction

func (m *EthernetCTPReply) GetFunction() int32

func (*EthernetCTPReply) GetReceiptNumber

func (m *EthernetCTPReply) GetReceiptNumber() int32

func (*EthernetCTPReply) GetTimestamp

func (m *EthernetCTPReply) GetTimestamp() int64

func (*EthernetCTPReply) Inc added in v0.4.0

func (ectpr *EthernetCTPReply) Inc()

Inc increments the metrics for the audit record.

func (*EthernetCTPReply) JSON added in v0.4.0

func (ectpr *EthernetCTPReply) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*EthernetCTPReply) Marshal added in v0.3.9

func (m *EthernetCTPReply) Marshal() (dAtA []byte, err error)

func (*EthernetCTPReply) MarshalTo added in v0.3.9

func (m *EthernetCTPReply) MarshalTo(dAtA []byte) (int, error)

func (*EthernetCTPReply) MarshalToSizedBuffer added in v0.6.6

func (m *EthernetCTPReply) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthernetCTPReply) NetcapType added in v0.6.6

func (ectpr *EthernetCTPReply) NetcapType() Type

NetcapType returns the type of the current audit record

func (*EthernetCTPReply) ProtoMessage

func (*EthernetCTPReply) ProtoMessage()

func (*EthernetCTPReply) Reset

func (m *EthernetCTPReply) Reset()

func (*EthernetCTPReply) SetPacketContext added in v0.4.2

func (ectpr *EthernetCTPReply) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*EthernetCTPReply) Size added in v0.3.9

func (m *EthernetCTPReply) Size() (n int)

func (*EthernetCTPReply) Src added in v0.4.3

func (ectpr *EthernetCTPReply) Src() string

Src TODO. Src returns the source address of the audit record.

func (*EthernetCTPReply) String

func (m *EthernetCTPReply) String() string

func (*EthernetCTPReply) Time added in v0.4.3

func (ectpr *EthernetCTPReply) Time() int64

Time returns the timestamp associated with the audit record.

func (*EthernetCTPReply) Unmarshal added in v0.3.9

func (m *EthernetCTPReply) Unmarshal(dAtA []byte) error

func (*EthernetCTPReply) XXX_DiscardUnknown

func (m *EthernetCTPReply) XXX_DiscardUnknown()

func (*EthernetCTPReply) XXX_Marshal

func (m *EthernetCTPReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthernetCTPReply) XXX_Merge

func (m *EthernetCTPReply) XXX_Merge(src proto.Message)

func (*EthernetCTPReply) XXX_Size

func (m *EthernetCTPReply) XXX_Size() int

func (*EthernetCTPReply) XXX_Unmarshal

func (m *EthernetCTPReply) XXX_Unmarshal(b []byte) error

type Exploit added in v0.6.6

type Exploit struct {
	Timestamp   int64     `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ID          string    `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	Description string    `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	File        string    `protobuf:"bytes,4,opt,name=File,proto3" json:"File,omitempty"`
	Notes       string    `protobuf:"bytes,5,opt,name=Notes,proto3" json:"Notes,omitempty"`
	Date        string    `protobuf:"bytes,6,opt,name=Date,proto3" json:"Date,omitempty"`
	Author      string    `protobuf:"bytes,7,opt,name=Author,proto3" json:"Author,omitempty"`
	Typ         string    `protobuf:"bytes,8,opt,name=Typ,proto3" json:"Typ,omitempty"`
	Platform    string    `protobuf:"bytes,9,opt,name=Platform,proto3" json:"Platform,omitempty"`
	Port        string    `protobuf:"bytes,10,opt,name=Port,proto3" json:"Port,omitempty"`
	Software    *Software `protobuf:"bytes,11,opt,name=Software,proto3" json:"Software,omitempty"`
}

func (*Exploit) Analyze added in v0.6.6

func (a *Exploit) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Exploit) CSVHeader added in v0.6.6

func (a *Exploit) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Exploit) CSVRecord added in v0.6.6

func (a *Exploit) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Exploit) Descriptor added in v0.6.6

func (*Exploit) Descriptor() ([]byte, []int)

func (*Exploit) Dst added in v0.6.6

func (a *Exploit) Dst() string

Dst TODO: preserve source and destination mac adresses for Exploit and return them here. Dst returns the destination address of the audit record.

func (*Exploit) Encode added in v0.6.6

func (a *Exploit) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Exploit) GetAuthor added in v0.6.6

func (m *Exploit) GetAuthor() string

func (*Exploit) GetDate added in v0.6.6

func (m *Exploit) GetDate() string

func (*Exploit) GetDescription added in v0.6.6

func (m *Exploit) GetDescription() string

func (*Exploit) GetFile added in v0.6.6

func (m *Exploit) GetFile() string

func (*Exploit) GetID added in v0.6.6

func (m *Exploit) GetID() string

func (*Exploit) GetNotes added in v0.6.6

func (m *Exploit) GetNotes() string

func (*Exploit) GetPlatform added in v0.6.6

func (m *Exploit) GetPlatform() string

func (*Exploit) GetPort added in v0.6.6

func (m *Exploit) GetPort() string

func (*Exploit) GetSoftware added in v0.6.6

func (m *Exploit) GetSoftware() *Software

func (*Exploit) GetTimestamp added in v0.6.6

func (m *Exploit) GetTimestamp() int64

func (*Exploit) GetTyp added in v0.6.6

func (m *Exploit) GetTyp() string

func (*Exploit) Inc added in v0.6.6

func (a *Exploit) Inc()

Inc increments the metrics for the audit record.

func (*Exploit) JSON added in v0.6.6

func (a *Exploit) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Exploit) Marshal added in v0.6.6

func (m *Exploit) Marshal() (dAtA []byte, err error)

func (*Exploit) MarshalTo added in v0.6.6

func (m *Exploit) MarshalTo(dAtA []byte) (int, error)

func (*Exploit) MarshalToSizedBuffer added in v0.6.6

func (m *Exploit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Exploit) NetcapType added in v0.6.6

func (a *Exploit) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Exploit) ProtoMessage added in v0.6.6

func (*Exploit) ProtoMessage()

func (*Exploit) Reset added in v0.6.6

func (m *Exploit) Reset()

func (*Exploit) SetPacketContext added in v0.6.6

func (a *Exploit) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Exploit) Size added in v0.6.6

func (m *Exploit) Size() (n int)

func (*Exploit) Src added in v0.6.6

func (a *Exploit) Src() string

Src TODO: preserve source and destination mac adresses for Exploit and return them here. Src returns the source address of the audit record.

func (*Exploit) String added in v0.6.6

func (m *Exploit) String() string

func (*Exploit) Time added in v0.6.6

func (a *Exploit) Time() int64

Time returns the timestamp associated with the audit record.

func (*Exploit) Unmarshal added in v0.6.6

func (m *Exploit) Unmarshal(dAtA []byte) error

func (*Exploit) XXX_DiscardUnknown added in v0.6.6

func (m *Exploit) XXX_DiscardUnknown()

func (*Exploit) XXX_Marshal added in v0.6.6

func (m *Exploit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Exploit) XXX_Merge added in v0.6.6

func (m *Exploit) XXX_Merge(src proto.Message)

func (*Exploit) XXX_Size added in v0.6.6

func (m *Exploit) XXX_Size() int

func (*Exploit) XXX_Unmarshal added in v0.6.6

func (m *Exploit) XXX_Unmarshal(b []byte) error

type FDDI added in v0.3.7

type FDDI struct {
	Timestamp    int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	FrameControl int32  `protobuf:"varint,2,opt,name=FrameControl,proto3" json:"FrameControl,omitempty"`
	Priority     int32  `protobuf:"varint,3,opt,name=Priority,proto3" json:"Priority,omitempty"`
	SrcMAC       string `protobuf:"bytes,4,opt,name=SrcMAC,proto3" json:"SrcMAC,omitempty"`
	DstMAC       string `protobuf:"bytes,5,opt,name=DstMAC,proto3" json:"DstMAC,omitempty"`
}

func (*FDDI) Analyze added in v0.6.6

func (a *FDDI) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*FDDI) CSVHeader added in v0.3.7

func (a *FDDI) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*FDDI) CSVRecord added in v0.3.7

func (a *FDDI) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*FDDI) Descriptor added in v0.3.7

func (*FDDI) Descriptor() ([]byte, []int)

func (*FDDI) Dst added in v0.4.3

func (a *FDDI) Dst() string

Dst returns the destination address of the audit record.

func (*FDDI) Encode added in v0.6.6

func (a *FDDI) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*FDDI) GetDstMAC added in v0.3.7

func (m *FDDI) GetDstMAC() string

func (*FDDI) GetFrameControl added in v0.3.7

func (m *FDDI) GetFrameControl() int32

func (*FDDI) GetPriority added in v0.3.7

func (m *FDDI) GetPriority() int32

func (*FDDI) GetSrcMAC added in v0.3.7

func (m *FDDI) GetSrcMAC() string

func (*FDDI) GetTimestamp added in v0.3.7

func (m *FDDI) GetTimestamp() int64

func (*FDDI) Inc added in v0.4.0

func (a *FDDI) Inc()

Inc increments the metrics for the audit record.

func (*FDDI) JSON added in v0.4.0

func (a *FDDI) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*FDDI) Marshal added in v0.3.9

func (m *FDDI) Marshal() (dAtA []byte, err error)

func (*FDDI) MarshalTo added in v0.3.9

func (m *FDDI) MarshalTo(dAtA []byte) (int, error)

func (*FDDI) MarshalToSizedBuffer added in v0.6.6

func (m *FDDI) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FDDI) NetcapType added in v0.6.6

func (a *FDDI) NetcapType() Type

NetcapType returns the type of the current audit record

func (*FDDI) ProtoMessage added in v0.3.7

func (*FDDI) ProtoMessage()

func (*FDDI) Reset added in v0.3.7

func (m *FDDI) Reset()

func (*FDDI) SetPacketContext added in v0.4.2

func (a *FDDI) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*FDDI) Size added in v0.3.9

func (m *FDDI) Size() (n int)

func (*FDDI) Src added in v0.4.3

func (a *FDDI) Src() string

Src returns the source address of the audit record.

func (*FDDI) String added in v0.3.7

func (m *FDDI) String() string

func (*FDDI) Time added in v0.4.3

func (a *FDDI) Time() int64

Time returns the timestamp associated with the audit record.

func (*FDDI) Unmarshal added in v0.3.9

func (m *FDDI) Unmarshal(dAtA []byte) error

func (*FDDI) XXX_DiscardUnknown added in v0.3.7

func (m *FDDI) XXX_DiscardUnknown()

func (*FDDI) XXX_Marshal added in v0.3.7

func (m *FDDI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FDDI) XXX_Merge added in v0.3.7

func (m *FDDI) XXX_Merge(src proto.Message)

func (*FDDI) XXX_Size added in v0.3.7

func (m *FDDI) XXX_Size() int

func (*FDDI) XXX_Unmarshal added in v0.3.7

func (m *FDDI) XXX_Unmarshal(b []byte) error

type File added in v0.6.6

type File struct {
	Timestamp           int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Name                string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Length              int64  `protobuf:"varint,3,opt,name=Length,proto3" json:"Length,omitempty"`
	Hash                string `protobuf:"bytes,4,opt,name=Hash,proto3" json:"Hash,omitempty"`
	Location            string `protobuf:"bytes,5,opt,name=Location,proto3" json:"Location,omitempty"`
	Ident               string `protobuf:"bytes,6,opt,name=Ident,proto3" json:"Ident,omitempty"`
	Source              string `protobuf:"bytes,7,opt,name=Source,proto3" json:"Source,omitempty"`
	ContentType         string `protobuf:"bytes,8,opt,name=ContentType,proto3" json:"ContentType,omitempty"`
	Host                string `protobuf:"bytes,9,opt,name=Host,proto3" json:"Host,omitempty"`
	ContentTypeDetected string `protobuf:"bytes,10,opt,name=ContentTypeDetected,proto3" json:"ContentTypeDetected,omitempty"`
	SrcIP               string `protobuf:"bytes,11,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP               string `protobuf:"bytes,12,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort             int32  `protobuf:"varint,13,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort             int32  `protobuf:"varint,14,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

func (*File) Analyze added in v0.6.6

func (a *File) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*File) CSVHeader added in v0.6.6

func (a *File) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*File) CSVRecord added in v0.6.6

func (a *File) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*File) Descriptor added in v0.6.6

func (*File) Descriptor() ([]byte, []int)

func (*File) Dst added in v0.6.6

func (a *File) Dst() string

Dst returns the destination address of the audit record.

func (*File) Encode added in v0.6.6

func (a *File) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*File) GetContentType added in v0.6.6

func (m *File) GetContentType() string

func (*File) GetContentTypeDetected added in v0.6.6

func (m *File) GetContentTypeDetected() string

func (*File) GetDstIP added in v0.6.6

func (m *File) GetDstIP() string

func (*File) GetDstPort added in v0.6.6

func (m *File) GetDstPort() int32

func (*File) GetHash added in v0.6.6

func (m *File) GetHash() string

func (*File) GetHost added in v0.6.6

func (m *File) GetHost() string

func (*File) GetIdent added in v0.6.6

func (m *File) GetIdent() string

func (*File) GetLength added in v0.6.6

func (m *File) GetLength() int64

func (*File) GetLocation added in v0.6.6

func (m *File) GetLocation() string

func (*File) GetName added in v0.6.6

func (m *File) GetName() string

func (*File) GetSource added in v0.6.6

func (m *File) GetSource() string

func (*File) GetSrcIP added in v0.6.6

func (m *File) GetSrcIP() string

func (*File) GetSrcPort added in v0.6.6

func (m *File) GetSrcPort() int32

func (*File) GetTimestamp added in v0.6.6

func (m *File) GetTimestamp() int64

func (*File) Inc added in v0.6.6

func (a *File) Inc()

Inc increments the metrics for the audit record.

func (*File) JSON added in v0.6.6

func (a *File) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*File) Marshal added in v0.6.6

func (m *File) Marshal() (dAtA []byte, err error)

func (*File) MarshalTo added in v0.6.6

func (m *File) MarshalTo(dAtA []byte) (int, error)

func (*File) MarshalToSizedBuffer added in v0.6.6

func (m *File) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*File) NetcapType added in v0.6.6

func (a *File) NetcapType() Type

NetcapType returns the type of the current audit record

func (*File) ProtoMessage added in v0.6.6

func (*File) ProtoMessage()

func (*File) Reset added in v0.6.6

func (m *File) Reset()

func (*File) SetPacketContext added in v0.6.6

func (a *File) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*File) Size added in v0.6.6

func (m *File) Size() (n int)

func (*File) Src added in v0.6.6

func (a *File) Src() string

Src returns the source address of the audit record.

func (*File) String added in v0.6.6

func (m *File) String() string

func (*File) Time added in v0.6.6

func (a *File) Time() int64

Time returns the timestamp associated with the audit record.

func (*File) Unmarshal added in v0.6.6

func (m *File) Unmarshal(dAtA []byte) error

func (*File) XXX_DiscardUnknown added in v0.6.6

func (m *File) XXX_DiscardUnknown()

func (*File) XXX_Marshal added in v0.6.6

func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*File) XXX_Merge added in v0.6.6

func (m *File) XXX_Merge(src proto.Message)

func (*File) XXX_Size added in v0.6.6

func (m *File) XXX_Size() int

func (*File) XXX_Unmarshal added in v0.6.6

func (m *File) XXX_Unmarshal(b []byte) error

type GRE added in v0.3.7

type GRE struct {
	Timestamp         int64       `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ChecksumPresent   bool        `protobuf:"varint,2,opt,name=ChecksumPresent,proto3" json:"ChecksumPresent,omitempty"`
	RoutingPresent    bool        `protobuf:"varint,3,opt,name=RoutingPresent,proto3" json:"RoutingPresent,omitempty"`
	KeyPresent        bool        `protobuf:"varint,4,opt,name=KeyPresent,proto3" json:"KeyPresent,omitempty"`
	SeqPresent        bool        `protobuf:"varint,5,opt,name=SeqPresent,proto3" json:"SeqPresent,omitempty"`
	StrictSourceRoute bool        `protobuf:"varint,6,opt,name=StrictSourceRoute,proto3" json:"StrictSourceRoute,omitempty"`
	AckPresent        bool        `protobuf:"varint,7,opt,name=AckPresent,proto3" json:"AckPresent,omitempty"`
	RecursionControl  int32       `protobuf:"varint,8,opt,name=RecursionControl,proto3" json:"RecursionControl,omitempty"`
	Flags             int32       `protobuf:"varint,9,opt,name=Flags,proto3" json:"Flags,omitempty"`
	Version           int32       `protobuf:"varint,10,opt,name=Version,proto3" json:"Version,omitempty"`
	Protocol          int32       `protobuf:"varint,11,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	Checksum          int32       `protobuf:"varint,12,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	Offset            int32       `protobuf:"varint,13,opt,name=Offset,proto3" json:"Offset,omitempty"`
	Key               uint32      `protobuf:"varint,14,opt,name=Key,proto3" json:"Key,omitempty"`
	Seq               uint32      `protobuf:"varint,15,opt,name=Seq,proto3" json:"Seq,omitempty"`
	Ack               uint32      `protobuf:"varint,16,opt,name=Ack,proto3" json:"Ack,omitempty"`
	Routing           *GRERouting `protobuf:"bytes,17,opt,name=Routing,proto3" json:"Routing,omitempty"`
	SrcIP             string      `protobuf:"bytes,18,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP             string      `protobuf:"bytes,19,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

Generic Routing Encapsulation is a tunneling protocol developed by Cisco Systems that can encapsulate a wide variety of network layer protocols inside virtual point-to-point links or point-to-multipoint links over an Internet Protocol network.

func (*GRE) Analyze added in v0.6.6

func (a *GRE) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*GRE) CSVHeader added in v0.3.7

func (a *GRE) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*GRE) CSVRecord added in v0.3.7

func (a *GRE) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*GRE) Descriptor added in v0.3.7

func (*GRE) Descriptor() ([]byte, []int)

func (*GRE) Dst added in v0.4.3

func (a *GRE) Dst() string

Dst returns the destination address of the audit record.

func (*GRE) Encode added in v0.6.6

func (a *GRE) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*GRE) GetAck added in v0.3.7

func (m *GRE) GetAck() uint32

func (*GRE) GetAckPresent added in v0.3.7

func (m *GRE) GetAckPresent() bool

func (*GRE) GetChecksum added in v0.3.7

func (m *GRE) GetChecksum() int32

func (*GRE) GetChecksumPresent added in v0.3.7

func (m *GRE) GetChecksumPresent() bool

func (*GRE) GetDstIP added in v0.6.6

func (m *GRE) GetDstIP() string

func (*GRE) GetFlags added in v0.3.7

func (m *GRE) GetFlags() int32

func (*GRE) GetKey added in v0.3.7

func (m *GRE) GetKey() uint32

func (*GRE) GetKeyPresent added in v0.3.7

func (m *GRE) GetKeyPresent() bool

func (*GRE) GetOffset added in v0.3.7

func (m *GRE) GetOffset() int32

func (*GRE) GetProtocol added in v0.3.7

func (m *GRE) GetProtocol() int32

func (*GRE) GetRecursionControl added in v0.3.7

func (m *GRE) GetRecursionControl() int32

func (*GRE) GetRouting added in v0.3.7

func (m *GRE) GetRouting() *GRERouting

func (*GRE) GetRoutingPresent added in v0.3.7

func (m *GRE) GetRoutingPresent() bool

func (*GRE) GetSeq added in v0.3.7

func (m *GRE) GetSeq() uint32

func (*GRE) GetSeqPresent added in v0.3.7

func (m *GRE) GetSeqPresent() bool

func (*GRE) GetSrcIP added in v0.6.6

func (m *GRE) GetSrcIP() string

func (*GRE) GetStrictSourceRoute added in v0.3.7

func (m *GRE) GetStrictSourceRoute() bool

func (*GRE) GetTimestamp added in v0.3.7

func (m *GRE) GetTimestamp() int64

func (*GRE) GetVersion added in v0.3.7

func (m *GRE) GetVersion() int32

func (*GRE) Inc added in v0.4.0

func (a *GRE) Inc()

Inc increments the metrics for the audit record.

func (*GRE) JSON added in v0.4.0

func (a *GRE) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*GRE) Marshal added in v0.3.9

func (m *GRE) Marshal() (dAtA []byte, err error)

func (*GRE) MarshalTo added in v0.3.9

func (m *GRE) MarshalTo(dAtA []byte) (int, error)

func (*GRE) MarshalToSizedBuffer added in v0.6.6

func (m *GRE) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GRE) NetcapType added in v0.6.6

func (a *GRE) NetcapType() Type

NetcapType returns the type of the current audit record

func (*GRE) ProtoMessage added in v0.3.7

func (*GRE) ProtoMessage()

func (*GRE) Reset added in v0.3.7

func (m *GRE) Reset()

func (*GRE) SetPacketContext added in v0.4.2

func (a *GRE) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*GRE) Size added in v0.3.9

func (m *GRE) Size() (n int)

func (*GRE) Src added in v0.4.3

func (a *GRE) Src() string

Src returns the source address of the audit record.

func (*GRE) String added in v0.3.7

func (m *GRE) String() string

func (*GRE) Time added in v0.4.3

func (a *GRE) Time() int64

Time returns the timestamp associated with the audit record.

func (*GRE) Unmarshal added in v0.3.9

func (m *GRE) Unmarshal(dAtA []byte) error

func (*GRE) XXX_DiscardUnknown added in v0.3.7

func (m *GRE) XXX_DiscardUnknown()

func (*GRE) XXX_Marshal added in v0.3.7

func (m *GRE) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GRE) XXX_Merge added in v0.3.7

func (m *GRE) XXX_Merge(src proto.Message)

func (*GRE) XXX_Size added in v0.3.7

func (m *GRE) XXX_Size() int

func (*GRE) XXX_Unmarshal added in v0.3.7

func (m *GRE) XXX_Unmarshal(b []byte) error

type GRERouting added in v0.3.7

type GRERouting struct {
	AddressFamily      int32       `protobuf:"varint,1,opt,name=AddressFamily,proto3" json:"AddressFamily,omitempty"`
	SREOffset          int32       `protobuf:"varint,2,opt,name=SREOffset,proto3" json:"SREOffset,omitempty"`
	SRELength          int32       `protobuf:"varint,3,opt,name=SRELength,proto3" json:"SRELength,omitempty"`
	RoutingInformation []byte      `protobuf:"bytes,4,opt,name=RoutingInformation,proto3" json:"RoutingInformation,omitempty"`
	Next               *GRERouting `protobuf:"bytes,5,opt,name=Next,proto3" json:"Next,omitempty"`
}

func (*GRERouting) Descriptor added in v0.3.7

func (*GRERouting) Descriptor() ([]byte, []int)

func (*GRERouting) GetAddressFamily added in v0.3.7

func (m *GRERouting) GetAddressFamily() int32

func (*GRERouting) GetNext added in v0.3.7

func (m *GRERouting) GetNext() *GRERouting

func (*GRERouting) GetRoutingInformation added in v0.3.7

func (m *GRERouting) GetRoutingInformation() []byte

func (*GRERouting) GetSRELength added in v0.3.7

func (m *GRERouting) GetSRELength() int32

func (*GRERouting) GetSREOffset added in v0.3.7

func (m *GRERouting) GetSREOffset() int32

func (*GRERouting) Marshal added in v0.3.9

func (m *GRERouting) Marshal() (dAtA []byte, err error)

func (*GRERouting) MarshalTo added in v0.3.9

func (m *GRERouting) MarshalTo(dAtA []byte) (int, error)

func (*GRERouting) MarshalToSizedBuffer added in v0.6.6

func (m *GRERouting) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GRERouting) ProtoMessage added in v0.3.7

func (*GRERouting) ProtoMessage()

func (*GRERouting) Reset added in v0.3.7

func (m *GRERouting) Reset()

func (*GRERouting) Size added in v0.3.9

func (m *GRERouting) Size() (n int)

func (*GRERouting) String added in v0.3.7

func (m *GRERouting) String() string

func (*GRERouting) Unmarshal added in v0.3.9

func (m *GRERouting) Unmarshal(dAtA []byte) error

func (*GRERouting) XXX_DiscardUnknown added in v0.3.7

func (m *GRERouting) XXX_DiscardUnknown()

func (*GRERouting) XXX_Marshal added in v0.3.7

func (m *GRERouting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GRERouting) XXX_Merge added in v0.3.7

func (m *GRERouting) XXX_Merge(src proto.Message)

func (*GRERouting) XXX_Size added in v0.3.7

func (m *GRERouting) XXX_Size() int

func (*GRERouting) XXX_Unmarshal added in v0.3.7

func (m *GRERouting) XXX_Unmarshal(b []byte) error

type Geneve added in v0.3.7

type Geneve struct {
	Timestamp      int64           `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Version        int32           `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	OptionsLength  int32           `protobuf:"varint,3,opt,name=OptionsLength,proto3" json:"OptionsLength,omitempty"`
	OAMPacket      bool            `protobuf:"varint,4,opt,name=OAMPacket,proto3" json:"OAMPacket,omitempty"`
	CriticalOption bool            `protobuf:"varint,5,opt,name=CriticalOption,proto3" json:"CriticalOption,omitempty"`
	Protocol       int32           `protobuf:"varint,6,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	VNI            uint32          `protobuf:"varint,7,opt,name=VNI,proto3" json:"VNI,omitempty"`
	Options        []*GeneveOption `protobuf:"bytes,8,rep,name=Options,proto3" json:"Options,omitempty"`
}

The Generic Network Virtualization Encapsulation (Geneve) protocol offers a new approach to encapsulation designed to offer control-plane independence between tunnel endpoints. The protocol specifies only a data-plane schema using a number of variable length options.

func (*Geneve) Analyze added in v0.6.6

func (i *Geneve) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Geneve) CSVHeader added in v0.3.7

func (i *Geneve) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Geneve) CSVRecord added in v0.3.7

func (i *Geneve) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Geneve) Descriptor added in v0.3.7

func (*Geneve) Descriptor() ([]byte, []int)

func (*Geneve) Dst added in v0.4.3

func (i *Geneve) Dst() string

Dst returns the destination address of the audit record.

func (*Geneve) Encode added in v0.6.6

func (i *Geneve) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Geneve) GetCriticalOption added in v0.3.7

func (m *Geneve) GetCriticalOption() bool

func (*Geneve) GetOAMPacket added in v0.3.7

func (m *Geneve) GetOAMPacket() bool

func (*Geneve) GetOptions added in v0.3.7

func (m *Geneve) GetOptions() []*GeneveOption

func (*Geneve) GetOptionsLength added in v0.3.7

func (m *Geneve) GetOptionsLength() int32

func (*Geneve) GetProtocol added in v0.3.7

func (m *Geneve) GetProtocol() int32

func (*Geneve) GetTimestamp added in v0.3.7

func (m *Geneve) GetTimestamp() int64

func (*Geneve) GetVNI added in v0.3.7

func (m *Geneve) GetVNI() uint32

func (*Geneve) GetVersion added in v0.3.7

func (m *Geneve) GetVersion() int32

func (*Geneve) Inc added in v0.4.0

func (i *Geneve) Inc()

Inc increments the metrics for the audit record.

func (*Geneve) JSON added in v0.4.0

func (i *Geneve) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Geneve) Marshal added in v0.3.9

func (m *Geneve) Marshal() (dAtA []byte, err error)

func (*Geneve) MarshalTo added in v0.3.9

func (m *Geneve) MarshalTo(dAtA []byte) (int, error)

func (*Geneve) MarshalToSizedBuffer added in v0.6.6

func (m *Geneve) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Geneve) NetcapType added in v0.6.6

func (i *Geneve) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Geneve) ProtoMessage added in v0.3.7

func (*Geneve) ProtoMessage()

func (*Geneve) Reset added in v0.3.7

func (m *Geneve) Reset()

func (*Geneve) SetPacketContext added in v0.4.2

func (i *Geneve) SetPacketContext(_ *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Geneve) Size added in v0.3.9

func (m *Geneve) Size() (n int)

func (*Geneve) Src added in v0.4.3

func (i *Geneve) Src() string

Src returns the source address of the audit record.

func (*Geneve) String added in v0.3.7

func (m *Geneve) String() string

func (*Geneve) Time added in v0.4.3

func (i *Geneve) Time() int64

Time returns the timestamp associated with the audit record.

func (*Geneve) Unmarshal added in v0.3.9

func (m *Geneve) Unmarshal(dAtA []byte) error

func (*Geneve) XXX_DiscardUnknown added in v0.3.7

func (m *Geneve) XXX_DiscardUnknown()

func (*Geneve) XXX_Marshal added in v0.3.7

func (m *Geneve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Geneve) XXX_Merge added in v0.3.7

func (m *Geneve) XXX_Merge(src proto.Message)

func (*Geneve) XXX_Size added in v0.3.7

func (m *Geneve) XXX_Size() int

func (*Geneve) XXX_Unmarshal added in v0.3.7

func (m *Geneve) XXX_Unmarshal(b []byte) error

type GeneveOption added in v0.3.7

type GeneveOption struct {
	Class  int32  `protobuf:"varint,1,opt,name=Class,proto3" json:"Class,omitempty"`
	Type   int32  `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
	Flags  int32  `protobuf:"varint,3,opt,name=Flags,proto3" json:"Flags,omitempty"`
	Length int32  `protobuf:"varint,4,opt,name=Length,proto3" json:"Length,omitempty"`
	Data   []byte `protobuf:"bytes,5,opt,name=Data,proto3" json:"Data,omitempty"`
}

func (*GeneveOption) Descriptor added in v0.3.7

func (*GeneveOption) Descriptor() ([]byte, []int)

func (*GeneveOption) GetClass added in v0.3.7

func (m *GeneveOption) GetClass() int32

func (*GeneveOption) GetData added in v0.3.7

func (m *GeneveOption) GetData() []byte

func (*GeneveOption) GetFlags added in v0.3.7

func (m *GeneveOption) GetFlags() int32

func (*GeneveOption) GetLength added in v0.3.7

func (m *GeneveOption) GetLength() int32

func (*GeneveOption) GetType added in v0.3.7

func (m *GeneveOption) GetType() int32

func (*GeneveOption) Marshal added in v0.3.9

func (m *GeneveOption) Marshal() (dAtA []byte, err error)

func (*GeneveOption) MarshalTo added in v0.3.9

func (m *GeneveOption) MarshalTo(dAtA []byte) (int, error)

func (*GeneveOption) MarshalToSizedBuffer added in v0.6.6

func (m *GeneveOption) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GeneveOption) ProtoMessage added in v0.3.7

func (*GeneveOption) ProtoMessage()

func (*GeneveOption) Reset added in v0.3.7

func (m *GeneveOption) Reset()

func (*GeneveOption) Size added in v0.3.9

func (m *GeneveOption) Size() (n int)

func (*GeneveOption) String added in v0.3.7

func (m *GeneveOption) String() string

func (*GeneveOption) Unmarshal added in v0.3.9

func (m *GeneveOption) Unmarshal(dAtA []byte) error

func (*GeneveOption) XXX_DiscardUnknown added in v0.3.7

func (m *GeneveOption) XXX_DiscardUnknown()

func (*GeneveOption) XXX_Marshal added in v0.3.7

func (m *GeneveOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GeneveOption) XXX_Merge added in v0.3.7

func (m *GeneveOption) XXX_Merge(src proto.Message)

func (*GeneveOption) XXX_Size added in v0.3.7

func (m *GeneveOption) XXX_Size() int

func (*GeneveOption) XXX_Unmarshal added in v0.3.7

func (m *GeneveOption) XXX_Unmarshal(b []byte) error

type HTTP

type HTTP struct {
	Timestamp          int64         `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Proto              string        `protobuf:"bytes,2,opt,name=Proto,proto3" json:"Proto,omitempty"`
	Method             string        `protobuf:"bytes,3,opt,name=Method,proto3" json:"Method,omitempty"`
	Host               string        `protobuf:"bytes,4,opt,name=Host,proto3" json:"Host,omitempty"`
	UserAgent          string        `protobuf:"bytes,5,opt,name=UserAgent,proto3" json:"UserAgent,omitempty"`
	Referer            string        `protobuf:"bytes,6,opt,name=Referer,proto3" json:"Referer,omitempty"`
	ReqCookies         []*HTTPCookie `protobuf:"bytes,7,rep,name=ReqCookies,proto3" json:"ReqCookies,omitempty"`
	ReqContentLength   int32         `protobuf:"varint,8,opt,name=ReqContentLength,proto3" json:"ReqContentLength,omitempty"`
	URL                string        `protobuf:"bytes,9,opt,name=URL,proto3" json:"URL,omitempty"`
	ResContentLength   int32         `protobuf:"varint,10,opt,name=ResContentLength,proto3" json:"ResContentLength,omitempty"`
	ContentType        string        `protobuf:"bytes,11,opt,name=ContentType,proto3" json:"ContentType,omitempty"`
	StatusCode         int32         `protobuf:"varint,12,opt,name=StatusCode,proto3" json:"StatusCode,omitempty"`
	SrcIP              string        `protobuf:"bytes,13,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP              string        `protobuf:"bytes,14,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	ReqContentEncoding string        `protobuf:"bytes,15,opt,name=ReqContentEncoding,proto3" json:"ReqContentEncoding,omitempty"`
	ResContentEncoding string        `protobuf:"bytes,16,opt,name=ResContentEncoding,proto3" json:"ResContentEncoding,omitempty"`
	ServerName         string        `protobuf:"bytes,17,opt,name=ServerName,proto3" json:"ServerName,omitempty"`
	ResCookies         []*HTTPCookie `protobuf:"bytes,18,rep,name=ResCookies,proto3" json:"ResCookies,omitempty"`
	ResContentType     string        `protobuf:"bytes,19,opt,name=ResContentType,proto3" json:"ResContentType,omitempty"`
	// Time Deltas (Nanoseconds)
	// currently only available when using the HTTP proxy with tracing enabled.
	DoneAfter              int64             `protobuf:"varint,20,opt,name=DoneAfter,proto3" json:"DoneAfter,omitempty"`
	DNSDoneAfter           int64             `protobuf:"varint,21,opt,name=DNSDoneAfter,proto3" json:"DNSDoneAfter,omitempty"`
	FirstByteAfter         int64             `protobuf:"varint,22,opt,name=FirstByteAfter,proto3" json:"FirstByteAfter,omitempty"`
	TLSDoneAfter           int64             `protobuf:"varint,23,opt,name=TLSDoneAfter,proto3" json:"TLSDoneAfter,omitempty"`
	ContentTypeDetected    string            `protobuf:"bytes,24,opt,name=ContentTypeDetected,proto3" json:"ContentTypeDetected,omitempty"`
	ResContentTypeDetected string            `protobuf:"bytes,25,opt,name=ResContentTypeDetected,proto3" json:"ResContentTypeDetected,omitempty"`
	RequestHeader          map[string]string `` /* 168-byte string literal not displayed */
	ResponseHeader         map[string]string `` /* 170-byte string literal not displayed */
	Parameters             map[string]string `` /* 162-byte string literal not displayed */
	RequestBody            []byte            `protobuf:"bytes,29,opt,name=RequestBody,proto3" json:"RequestBody,omitempty"`
	ResponseBody           []byte            `protobuf:"bytes,30,opt,name=ResponseBody,proto3" json:"ResponseBody,omitempty"`
}

The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web.

func (*HTTP) Analyze added in v0.6.6

func (h *HTTP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*HTTP) CSVHeader

func (h *HTTP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*HTTP) CSVRecord

func (h *HTTP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*HTTP) Descriptor

func (*HTTP) Descriptor() ([]byte, []int)

func (*HTTP) Dst added in v0.4.3

func (h *HTTP) Dst() string

Dst returns the destination address of the audit record.

func (*HTTP) Encode added in v0.6.6

func (h *HTTP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*HTTP) GetContentType

func (m *HTTP) GetContentType() string

func (*HTTP) GetContentTypeDetected added in v0.6.6

func (m *HTTP) GetContentTypeDetected() string

func (*HTTP) GetDNSDoneAfter added in v0.4.0

func (m *HTTP) GetDNSDoneAfter() int64

func (*HTTP) GetDoneAfter added in v0.4.0

func (m *HTTP) GetDoneAfter() int64

func (*HTTP) GetDstIP

func (m *HTTP) GetDstIP() string

func (*HTTP) GetFirstByteAfter added in v0.4.0

func (m *HTTP) GetFirstByteAfter() int64

func (*HTTP) GetHost

func (m *HTTP) GetHost() string

func (*HTTP) GetMethod

func (m *HTTP) GetMethod() string

func (*HTTP) GetParameters added in v0.6.6

func (m *HTTP) GetParameters() map[string]string

func (*HTTP) GetProto

func (m *HTTP) GetProto() string

func (*HTTP) GetReferer

func (m *HTTP) GetReferer() string

func (*HTTP) GetReqContentEncoding added in v0.4.0

func (m *HTTP) GetReqContentEncoding() string

func (*HTTP) GetReqContentLength

func (m *HTTP) GetReqContentLength() int32

func (*HTTP) GetReqCookies

func (m *HTTP) GetReqCookies() []*HTTPCookie

func (*HTTP) GetRequestBody added in v0.6.6

func (m *HTTP) GetRequestBody() []byte

func (*HTTP) GetRequestHeader added in v0.6.6

func (m *HTTP) GetRequestHeader() map[string]string

func (*HTTP) GetResContentEncoding added in v0.4.0

func (m *HTTP) GetResContentEncoding() string

func (*HTTP) GetResContentLength

func (m *HTTP) GetResContentLength() int32

func (*HTTP) GetResContentType added in v0.4.0

func (m *HTTP) GetResContentType() string

func (*HTTP) GetResContentTypeDetected added in v0.6.6

func (m *HTTP) GetResContentTypeDetected() string

func (*HTTP) GetResCookies added in v0.4.0

func (m *HTTP) GetResCookies() []*HTTPCookie

func (*HTTP) GetResponseBody added in v0.6.6

func (m *HTTP) GetResponseBody() []byte

func (*HTTP) GetResponseHeader added in v0.6.6

func (m *HTTP) GetResponseHeader() map[string]string

func (*HTTP) GetServerName added in v0.4.0

func (m *HTTP) GetServerName() string

func (*HTTP) GetSrcIP

func (m *HTTP) GetSrcIP() string

func (*HTTP) GetStatusCode

func (m *HTTP) GetStatusCode() int32

func (*HTTP) GetTLSDoneAfter added in v0.4.0

func (m *HTTP) GetTLSDoneAfter() int64

func (*HTTP) GetTimestamp

func (m *HTTP) GetTimestamp() int64

func (*HTTP) GetURL

func (m *HTTP) GetURL() string

func (*HTTP) GetUserAgent

func (m *HTTP) GetUserAgent() string

func (*HTTP) Inc added in v0.4.0

func (h *HTTP) Inc()

Inc increments the metrics for the audit record.

func (*HTTP) JSON added in v0.4.0

func (h *HTTP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*HTTP) Marshal added in v0.3.9

func (m *HTTP) Marshal() (dAtA []byte, err error)

func (*HTTP) MarshalTo added in v0.3.9

func (m *HTTP) MarshalTo(dAtA []byte) (int, error)

func (*HTTP) MarshalToSizedBuffer added in v0.6.6

func (m *HTTP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTP) NetcapType added in v0.6.6

func (h *HTTP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*HTTP) ProtoMessage

func (*HTTP) ProtoMessage()

func (*HTTP) Reset

func (m *HTTP) Reset()

func (*HTTP) SetPacketContext added in v0.4.2

func (h *HTTP) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*HTTP) Size added in v0.3.9

func (m *HTTP) Size() (n int)

func (*HTTP) Src added in v0.4.3

func (h *HTTP) Src() string

Src returns the source address of the audit record.

func (*HTTP) String

func (m *HTTP) String() string

func (*HTTP) Time added in v0.4.3

func (h *HTTP) Time() int64

Time returns the timestamp associated with the audit record.

func (*HTTP) Unmarshal added in v0.3.9

func (m *HTTP) Unmarshal(dAtA []byte) error

func (*HTTP) XXX_DiscardUnknown

func (m *HTTP) XXX_DiscardUnknown()

func (*HTTP) XXX_Marshal

func (m *HTTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTP) XXX_Merge

func (m *HTTP) XXX_Merge(src proto.Message)

func (*HTTP) XXX_Size

func (m *HTTP) XXX_Size() int

func (*HTTP) XXX_Unmarshal

func (m *HTTP) XXX_Unmarshal(b []byte) error

type HTTPCookie added in v0.6.6

type HTTPCookie struct {
	Name     string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Value    string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	Path     string `protobuf:"bytes,3,opt,name=Path,proto3" json:"Path,omitempty"`
	Domain   string `protobuf:"bytes,4,opt,name=Domain,proto3" json:"Domain,omitempty"`
	Expires  uint64 `protobuf:"varint,5,opt,name=Expires,proto3" json:"Expires,omitempty"`
	MaxAge   int32  `protobuf:"varint,6,opt,name=MaxAge,proto3" json:"MaxAge,omitempty"`
	Secure   bool   `protobuf:"varint,7,opt,name=Secure,proto3" json:"Secure,omitempty"`
	HttpOnly bool   `protobuf:"varint,8,opt,name=HttpOnly,proto3" json:"HttpOnly,omitempty"`
	SameSite int32  `protobuf:"varint,9,opt,name=SameSite,proto3" json:"SameSite,omitempty"`
}

func (*HTTPCookie) Descriptor added in v0.6.6

func (*HTTPCookie) Descriptor() ([]byte, []int)

func (*HTTPCookie) GetDomain added in v0.6.6

func (m *HTTPCookie) GetDomain() string

func (*HTTPCookie) GetExpires added in v0.6.6

func (m *HTTPCookie) GetExpires() uint64

func (*HTTPCookie) GetHttpOnly added in v0.6.6

func (m *HTTPCookie) GetHttpOnly() bool

func (*HTTPCookie) GetMaxAge added in v0.6.6

func (m *HTTPCookie) GetMaxAge() int32

func (*HTTPCookie) GetName added in v0.6.6

func (m *HTTPCookie) GetName() string

func (*HTTPCookie) GetPath added in v0.6.6

func (m *HTTPCookie) GetPath() string

func (*HTTPCookie) GetSameSite added in v0.6.6

func (m *HTTPCookie) GetSameSite() int32

func (*HTTPCookie) GetSecure added in v0.6.6

func (m *HTTPCookie) GetSecure() bool

func (*HTTPCookie) GetValue added in v0.6.6

func (m *HTTPCookie) GetValue() string

func (*HTTPCookie) Marshal added in v0.6.6

func (m *HTTPCookie) Marshal() (dAtA []byte, err error)

func (*HTTPCookie) MarshalTo added in v0.6.6

func (m *HTTPCookie) MarshalTo(dAtA []byte) (int, error)

func (*HTTPCookie) MarshalToSizedBuffer added in v0.6.6

func (m *HTTPCookie) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPCookie) ProtoMessage added in v0.6.6

func (*HTTPCookie) ProtoMessage()

func (*HTTPCookie) Reset added in v0.6.6

func (m *HTTPCookie) Reset()

func (*HTTPCookie) Size added in v0.6.6

func (m *HTTPCookie) Size() (n int)

func (*HTTPCookie) String added in v0.6.6

func (m *HTTPCookie) String() string

func (*HTTPCookie) Unmarshal added in v0.6.6

func (m *HTTPCookie) Unmarshal(dAtA []byte) error

func (*HTTPCookie) XXX_DiscardUnknown added in v0.6.6

func (m *HTTPCookie) XXX_DiscardUnknown()

func (*HTTPCookie) XXX_Marshal added in v0.6.6

func (m *HTTPCookie) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPCookie) XXX_Merge added in v0.6.6

func (m *HTTPCookie) XXX_Merge(src proto.Message)

func (*HTTPCookie) XXX_Size added in v0.6.6

func (m *HTTPCookie) XXX_Size() int

func (*HTTPCookie) XXX_Unmarshal added in v0.6.6

func (m *HTTPCookie) XXX_Unmarshal(b []byte) error
type Header struct {
	Created          int64  `protobuf:"varint,1,opt,name=Created,proto3" json:"Created,omitempty"`
	InputSource      string `protobuf:"bytes,2,opt,name=InputSource,proto3" json:"InputSource,omitempty"`
	Type             Type   `protobuf:"varint,3,opt,name=Type,proto3,enum=types.Type" json:"Type,omitempty"`
	Version          string `protobuf:"bytes,4,opt,name=Version,proto3" json:"Version,omitempty"`
	ContainsPayloads bool   `protobuf:"varint,5,opt,name=ContainsPayloads,proto3" json:"ContainsPayloads,omitempty"`
}

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

func (*Header) GetContainsPayloads added in v0.3.9

func (m *Header) GetContainsPayloads() bool

func (*Header) GetCreated

func (m *Header) GetCreated() int64

func (*Header) GetInputSource

func (m *Header) GetInputSource() string

func (*Header) GetType

func (m *Header) GetType() Type

func (*Header) GetVersion

func (m *Header) GetVersion() string

func (*Header) Marshal added in v0.3.9

func (m *Header) Marshal() (dAtA []byte, err error)

func (*Header) MarshalTo added in v0.3.9

func (m *Header) MarshalTo(dAtA []byte) (int, error)

func (*Header) MarshalToSizedBuffer added in v0.6.6

func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) Size added in v0.3.9

func (m *Header) Size() (n int)

func (*Header) String

func (m *Header) String() string

func (*Header) Unmarshal added in v0.3.9

func (m *Header) Unmarshal(dAtA []byte) error

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

func (m *Header) XXX_Unmarshal(b []byte) error

type HelloPkg added in v0.3.9

type HelloPkg struct {
	InterfaceID              uint32   `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
	RtrPriority              int32    `protobuf:"varint,2,opt,name=RtrPriority,proto3" json:"RtrPriority,omitempty"`
	Options                  uint32   `protobuf:"varint,3,opt,name=Options,proto3" json:"Options,omitempty"`
	HelloInterval            int32    `protobuf:"varint,4,opt,name=HelloInterval,proto3" json:"HelloInterval,omitempty"`
	RouterDeadInterval       uint32   `protobuf:"varint,5,opt,name=RouterDeadInterval,proto3" json:"RouterDeadInterval,omitempty"`
	DesignatedRouterID       uint32   `protobuf:"varint,6,opt,name=DesignatedRouterID,proto3" json:"DesignatedRouterID,omitempty"`
	BackupDesignatedRouterID uint32   `protobuf:"varint,7,opt,name=BackupDesignatedRouterID,proto3" json:"BackupDesignatedRouterID,omitempty"`
	NeighborID               []uint32 `protobuf:"varint,8,rep,packed,name=NeighborID,proto3" json:"NeighborID,omitempty"`
}

func (*HelloPkg) Descriptor added in v0.3.9

func (*HelloPkg) Descriptor() ([]byte, []int)

func (*HelloPkg) GetBackupDesignatedRouterID added in v0.3.9

func (m *HelloPkg) GetBackupDesignatedRouterID() uint32

func (*HelloPkg) GetDesignatedRouterID added in v0.3.9

func (m *HelloPkg) GetDesignatedRouterID() uint32

func (*HelloPkg) GetHelloInterval added in v0.3.9

func (m *HelloPkg) GetHelloInterval() int32

func (*HelloPkg) GetInterfaceID added in v0.3.9

func (m *HelloPkg) GetInterfaceID() uint32

func (*HelloPkg) GetNeighborID added in v0.3.9

func (m *HelloPkg) GetNeighborID() []uint32

func (*HelloPkg) GetOptions added in v0.3.9

func (m *HelloPkg) GetOptions() uint32

func (*HelloPkg) GetRouterDeadInterval added in v0.3.9

func (m *HelloPkg) GetRouterDeadInterval() uint32

func (*HelloPkg) GetRtrPriority added in v0.3.9

func (m *HelloPkg) GetRtrPriority() int32

func (*HelloPkg) Marshal added in v0.3.9

func (m *HelloPkg) Marshal() (dAtA []byte, err error)

func (*HelloPkg) MarshalTo added in v0.3.9

func (m *HelloPkg) MarshalTo(dAtA []byte) (int, error)

func (*HelloPkg) MarshalToSizedBuffer added in v0.6.6

func (m *HelloPkg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HelloPkg) ProtoMessage added in v0.3.9

func (*HelloPkg) ProtoMessage()

func (*HelloPkg) Reset added in v0.3.9

func (m *HelloPkg) Reset()

func (*HelloPkg) Size added in v0.3.9

func (m *HelloPkg) Size() (n int)

func (*HelloPkg) String added in v0.3.9

func (m *HelloPkg) String() string

func (*HelloPkg) Unmarshal added in v0.3.9

func (m *HelloPkg) Unmarshal(dAtA []byte) error

func (*HelloPkg) XXX_DiscardUnknown added in v0.3.9

func (m *HelloPkg) XXX_DiscardUnknown()

func (*HelloPkg) XXX_Marshal added in v0.3.9

func (m *HelloPkg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HelloPkg) XXX_Merge added in v0.3.9

func (m *HelloPkg) XXX_Merge(src proto.Message)

func (*HelloPkg) XXX_Size added in v0.3.9

func (m *HelloPkg) XXX_Size() int

func (*HelloPkg) XXX_Unmarshal added in v0.3.9

func (m *HelloPkg) XXX_Unmarshal(b []byte) error

type HelloPkgV2 added in v0.3.9

type HelloPkgV2 struct {
	InterfaceID              uint32   `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
	RtrPriority              int32    `protobuf:"varint,2,opt,name=RtrPriority,proto3" json:"RtrPriority,omitempty"`
	Options                  uint32   `protobuf:"varint,3,opt,name=Options,proto3" json:"Options,omitempty"`
	HelloInterval            int32    `protobuf:"varint,4,opt,name=HelloInterval,proto3" json:"HelloInterval,omitempty"`
	RouterDeadInterval       uint32   `protobuf:"varint,5,opt,name=RouterDeadInterval,proto3" json:"RouterDeadInterval,omitempty"`
	DesignatedRouterID       uint32   `protobuf:"varint,6,opt,name=DesignatedRouterID,proto3" json:"DesignatedRouterID,omitempty"`
	BackupDesignatedRouterID uint32   `protobuf:"varint,7,opt,name=BackupDesignatedRouterID,proto3" json:"BackupDesignatedRouterID,omitempty"`
	NeighborID               []uint32 `protobuf:"varint,8,rep,packed,name=NeighborID,proto3" json:"NeighborID,omitempty"`
	NetworkMask              uint32   `protobuf:"varint,9,opt,name=NetworkMask,proto3" json:"NetworkMask,omitempty"`
}

func (*HelloPkgV2) Descriptor added in v0.3.9

func (*HelloPkgV2) Descriptor() ([]byte, []int)

func (*HelloPkgV2) GetBackupDesignatedRouterID added in v0.3.9

func (m *HelloPkgV2) GetBackupDesignatedRouterID() uint32

func (*HelloPkgV2) GetDesignatedRouterID added in v0.3.9

func (m *HelloPkgV2) GetDesignatedRouterID() uint32

func (*HelloPkgV2) GetHelloInterval added in v0.3.9

func (m *HelloPkgV2) GetHelloInterval() int32

func (*HelloPkgV2) GetInterfaceID added in v0.3.9

func (m *HelloPkgV2) GetInterfaceID() uint32

func (*HelloPkgV2) GetNeighborID added in v0.3.9

func (m *HelloPkgV2) GetNeighborID() []uint32

func (*HelloPkgV2) GetNetworkMask added in v0.3.9

func (m *HelloPkgV2) GetNetworkMask() uint32

func (*HelloPkgV2) GetOptions added in v0.3.9

func (m *HelloPkgV2) GetOptions() uint32

func (*HelloPkgV2) GetRouterDeadInterval added in v0.3.9

func (m *HelloPkgV2) GetRouterDeadInterval() uint32

func (*HelloPkgV2) GetRtrPriority added in v0.3.9

func (m *HelloPkgV2) GetRtrPriority() int32

func (*HelloPkgV2) Marshal added in v0.3.9

func (m *HelloPkgV2) Marshal() (dAtA []byte, err error)

func (*HelloPkgV2) MarshalTo added in v0.3.9

func (m *HelloPkgV2) MarshalTo(dAtA []byte) (int, error)

func (*HelloPkgV2) MarshalToSizedBuffer added in v0.6.6

func (m *HelloPkgV2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HelloPkgV2) ProtoMessage added in v0.3.9

func (*HelloPkgV2) ProtoMessage()

func (*HelloPkgV2) Reset added in v0.3.9

func (m *HelloPkgV2) Reset()

func (*HelloPkgV2) Size added in v0.3.9

func (m *HelloPkgV2) Size() (n int)

func (*HelloPkgV2) String added in v0.3.9

func (m *HelloPkgV2) String() string

func (*HelloPkgV2) Unmarshal added in v0.3.9

func (m *HelloPkgV2) Unmarshal(dAtA []byte) error

func (*HelloPkgV2) XXX_DiscardUnknown added in v0.3.9

func (m *HelloPkgV2) XXX_DiscardUnknown()

func (*HelloPkgV2) XXX_Marshal added in v0.3.9

func (m *HelloPkgV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HelloPkgV2) XXX_Merge added in v0.3.9

func (m *HelloPkgV2) XXX_Merge(src proto.Message)

func (*HelloPkgV2) XXX_Size added in v0.3.9

func (m *HelloPkgV2) XXX_Size() int

func (*HelloPkgV2) XXX_Unmarshal added in v0.3.9

func (m *HelloPkgV2) XXX_Unmarshal(b []byte) error

type ICMPv4

type ICMPv4 struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	TypeCode  int32  `protobuf:"varint,2,opt,name=TypeCode,proto3" json:"TypeCode,omitempty"`
	Checksum  int32  `protobuf:"varint,3,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	Id        int32  `protobuf:"varint,4,opt,name=Id,proto3" json:"Id,omitempty"`
	Seq       int32  `protobuf:"varint,5,opt,name=Seq,proto3" json:"Seq,omitempty"`
	SrcIP     string `protobuf:"bytes,6,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP     string `protobuf:"bytes,7,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*ICMPv4) Analyze added in v0.6.6

func (i *ICMPv4) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*ICMPv4) CSVHeader

func (i *ICMPv4) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*ICMPv4) CSVRecord

func (i *ICMPv4) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*ICMPv4) Descriptor

func (*ICMPv4) Descriptor() ([]byte, []int)

func (*ICMPv4) Dst added in v0.4.3

func (i *ICMPv4) Dst() string

Dst returns the destination address of the audit record.

func (*ICMPv4) Encode added in v0.6.6

func (i *ICMPv4) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*ICMPv4) GetChecksum

func (m *ICMPv4) GetChecksum() int32

func (*ICMPv4) GetDstIP added in v0.6.6

func (m *ICMPv4) GetDstIP() string

func (*ICMPv4) GetId

func (m *ICMPv4) GetId() int32

func (*ICMPv4) GetSeq

func (m *ICMPv4) GetSeq() int32

func (*ICMPv4) GetSrcIP added in v0.6.6

func (m *ICMPv4) GetSrcIP() string

func (*ICMPv4) GetTimestamp

func (m *ICMPv4) GetTimestamp() int64

func (*ICMPv4) GetTypeCode

func (m *ICMPv4) GetTypeCode() int32

func (*ICMPv4) Inc added in v0.4.0

func (i *ICMPv4) Inc()

Inc increments the metrics for the audit record.

func (*ICMPv4) JSON added in v0.4.0

func (i *ICMPv4) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*ICMPv4) Marshal added in v0.3.9

func (m *ICMPv4) Marshal() (dAtA []byte, err error)

func (*ICMPv4) MarshalTo added in v0.3.9

func (m *ICMPv4) MarshalTo(dAtA []byte) (int, error)

func (*ICMPv4) MarshalToSizedBuffer added in v0.6.6

func (m *ICMPv4) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ICMPv4) NetcapType added in v0.6.6

func (i *ICMPv4) NetcapType() Type

NetcapType returns the type of the current audit record

func (*ICMPv4) ProtoMessage

func (*ICMPv4) ProtoMessage()

func (*ICMPv4) Reset

func (m *ICMPv4) Reset()

func (*ICMPv4) SetPacketContext added in v0.4.2

func (i *ICMPv4) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*ICMPv4) Size added in v0.3.9

func (m *ICMPv4) Size() (n int)

func (*ICMPv4) Src added in v0.4.3

func (i *ICMPv4) Src() string

Src returns the source address of the audit record.

func (*ICMPv4) String

func (m *ICMPv4) String() string

func (*ICMPv4) Time added in v0.4.3

func (i *ICMPv4) Time() int64

Time returns the timestamp associated with the audit record.

func (*ICMPv4) Unmarshal added in v0.3.9

func (m *ICMPv4) Unmarshal(dAtA []byte) error

func (*ICMPv4) XXX_DiscardUnknown

func (m *ICMPv4) XXX_DiscardUnknown()

func (*ICMPv4) XXX_Marshal

func (m *ICMPv4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ICMPv4) XXX_Merge

func (m *ICMPv4) XXX_Merge(src proto.Message)

func (*ICMPv4) XXX_Size

func (m *ICMPv4) XXX_Size() int

func (*ICMPv4) XXX_Unmarshal

func (m *ICMPv4) XXX_Unmarshal(b []byte) error

type ICMPv6

type ICMPv6 struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	TypeCode  int32  `protobuf:"varint,2,opt,name=TypeCode,proto3" json:"TypeCode,omitempty"`
	Checksum  int32  `protobuf:"varint,3,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	SrcIP     string `protobuf:"bytes,4,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP     string `protobuf:"bytes,5,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*ICMPv6) Analyze added in v0.6.6

func (i *ICMPv6) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*ICMPv6) CSVHeader

func (i *ICMPv6) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*ICMPv6) CSVRecord

func (i *ICMPv6) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*ICMPv6) Descriptor

func (*ICMPv6) Descriptor() ([]byte, []int)

func (*ICMPv6) Dst added in v0.4.3

func (i *ICMPv6) Dst() string

Dst returns the destination address of the audit record.

func (*ICMPv6) Encode added in v0.6.6

func (i *ICMPv6) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*ICMPv6) GetChecksum

func (m *ICMPv6) GetChecksum() int32

func (*ICMPv6) GetDstIP added in v0.6.6

func (m *ICMPv6) GetDstIP() string

func (*ICMPv6) GetSrcIP added in v0.6.6

func (m *ICMPv6) GetSrcIP() string

func (*ICMPv6) GetTimestamp

func (m *ICMPv6) GetTimestamp() int64

func (*ICMPv6) GetTypeCode

func (m *ICMPv6) GetTypeCode() int32

func (*ICMPv6) Inc added in v0.4.0

func (i *ICMPv6) Inc()

Inc increments the metrics for the audit record.

func (*ICMPv6) JSON added in v0.4.0

func (i *ICMPv6) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*ICMPv6) Marshal added in v0.3.9

func (m *ICMPv6) Marshal() (dAtA []byte, err error)

func (*ICMPv6) MarshalTo added in v0.3.9

func (m *ICMPv6) MarshalTo(dAtA []byte) (int, error)

func (*ICMPv6) MarshalToSizedBuffer added in v0.6.6

func (m *ICMPv6) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ICMPv6) NetcapType added in v0.6.6

func (i *ICMPv6) NetcapType() Type

NetcapType returns the type of the current audit record

func (*ICMPv6) ProtoMessage

func (*ICMPv6) ProtoMessage()

func (*ICMPv6) Reset

func (m *ICMPv6) Reset()

func (*ICMPv6) SetPacketContext added in v0.4.2

func (i *ICMPv6) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*ICMPv6) Size added in v0.3.9

func (m *ICMPv6) Size() (n int)

func (*ICMPv6) Src added in v0.4.3

func (i *ICMPv6) Src() string

Src returns the source address of the audit record.

func (*ICMPv6) String

func (m *ICMPv6) String() string

func (*ICMPv6) Time added in v0.4.3

func (i *ICMPv6) Time() int64

Time returns the timestamp associated with the audit record.

func (*ICMPv6) Unmarshal added in v0.3.9

func (m *ICMPv6) Unmarshal(dAtA []byte) error

func (*ICMPv6) XXX_DiscardUnknown

func (m *ICMPv6) XXX_DiscardUnknown()

func (*ICMPv6) XXX_Marshal

func (m *ICMPv6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ICMPv6) XXX_Merge

func (m *ICMPv6) XXX_Merge(src proto.Message)

func (*ICMPv6) XXX_Size

func (m *ICMPv6) XXX_Size() int

func (*ICMPv6) XXX_Unmarshal

func (m *ICMPv6) XXX_Unmarshal(b []byte) error

type ICMPv6Echo

type ICMPv6Echo struct {
	Timestamp  int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Identifier int32  `protobuf:"varint,2,opt,name=Identifier,proto3" json:"Identifier,omitempty"`
	SeqNumber  int32  `protobuf:"varint,3,opt,name=SeqNumber,proto3" json:"SeqNumber,omitempty"`
	SrcIP      string `protobuf:"bytes,4,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP      string `protobuf:"bytes,5,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*ICMPv6Echo) Analyze added in v0.6.6

func (i *ICMPv6Echo) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*ICMPv6Echo) CSVHeader

func (i *ICMPv6Echo) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*ICMPv6Echo) CSVRecord

func (i *ICMPv6Echo) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*ICMPv6Echo) Descriptor

func (*ICMPv6Echo) Descriptor() ([]byte, []int)

func (*ICMPv6Echo) Dst added in v0.4.3

func (i *ICMPv6Echo) Dst() string

Dst returns the destination address of the audit record.

func (*ICMPv6Echo) Encode added in v0.6.6

func (i *ICMPv6Echo) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*ICMPv6Echo) GetDstIP added in v0.6.6

func (m *ICMPv6Echo) GetDstIP() string

func (*ICMPv6Echo) GetIdentifier

func (m *ICMPv6Echo) GetIdentifier() int32

func (*ICMPv6Echo) GetSeqNumber

func (m *ICMPv6Echo) GetSeqNumber() int32

func (*ICMPv6Echo) GetSrcIP added in v0.6.6

func (m *ICMPv6Echo) GetSrcIP() string

func (*ICMPv6Echo) GetTimestamp

func (m *ICMPv6Echo) GetTimestamp() int64

func (*ICMPv6Echo) Inc added in v0.4.0

func (i *ICMPv6Echo) Inc()

Inc increments the metrics for the audit record.

func (*ICMPv6Echo) JSON added in v0.4.0

func (i *ICMPv6Echo) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*ICMPv6Echo) Marshal added in v0.3.9

func (m *ICMPv6Echo) Marshal() (dAtA []byte, err error)

func (*ICMPv6Echo) MarshalTo added in v0.3.9

func (m *ICMPv6Echo) MarshalTo(dAtA []byte) (int, error)

func (*ICMPv6Echo) MarshalToSizedBuffer added in v0.6.6

func (m *ICMPv6Echo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ICMPv6Echo) NetcapType added in v0.6.6

func (i *ICMPv6Echo) NetcapType() Type

NetcapType returns the type of the current audit record

func (*ICMPv6Echo) ProtoMessage

func (*ICMPv6Echo) ProtoMessage()

func (*ICMPv6Echo) Reset

func (m *ICMPv6Echo) Reset()

func (*ICMPv6Echo) SetPacketContext added in v0.4.2

func (i *ICMPv6Echo) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*ICMPv6Echo) Size added in v0.3.9

func (m *ICMPv6Echo) Size() (n int)

func (*ICMPv6Echo) Src added in v0.4.3

func (i *ICMPv6Echo) Src() string

Src returns the source address of the audit record.

func (*ICMPv6Echo) String

func (m *ICMPv6Echo) String() string

func (*ICMPv6Echo) Time added in v0.4.3

func (i *ICMPv6Echo) Time() int64

Time returns the timestamp associated with the audit record.

func (*ICMPv6Echo) Unmarshal added in v0.3.9

func (m *ICMPv6Echo) Unmarshal(dAtA []byte) error

func (*ICMPv6Echo) XXX_DiscardUnknown

func (m *ICMPv6Echo) XXX_DiscardUnknown()

func (*ICMPv6Echo) XXX_Marshal

func (m *ICMPv6Echo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ICMPv6Echo) XXX_Merge

func (m *ICMPv6Echo) XXX_Merge(src proto.Message)

func (*ICMPv6Echo) XXX_Size

func (m *ICMPv6Echo) XXX_Size() int

func (*ICMPv6Echo) XXX_Unmarshal

func (m *ICMPv6Echo) XXX_Unmarshal(b []byte) error

type ICMPv6NeighborAdvertisement

type ICMPv6NeighborAdvertisement struct {
	Timestamp     int64           `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Flags         int32           `protobuf:"varint,2,opt,name=Flags,proto3" json:"Flags,omitempty"`
	TargetAddress string          `protobuf:"bytes,3,opt,name=TargetAddress,proto3" json:"TargetAddress,omitempty"`
	Options       []*ICMPv6Option `protobuf:"bytes,4,rep,name=Options,proto3" json:"Options,omitempty"`
	SrcIP         string          `protobuf:"bytes,5,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP         string          `protobuf:"bytes,6,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*ICMPv6NeighborAdvertisement) Analyze added in v0.6.6

func (i *ICMPv6NeighborAdvertisement) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*ICMPv6NeighborAdvertisement) CSVHeader

func (i *ICMPv6NeighborAdvertisement) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*ICMPv6NeighborAdvertisement) CSVRecord

func (i *ICMPv6NeighborAdvertisement) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*ICMPv6NeighborAdvertisement) Descriptor

func (*ICMPv6NeighborAdvertisement) Descriptor() ([]byte, []int)

func (*ICMPv6NeighborAdvertisement) Dst added in v0.4.3

Dst returns the destination address of the audit record.

func (*ICMPv6NeighborAdvertisement) Encode added in v0.6.6

func (i *ICMPv6NeighborAdvertisement) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*ICMPv6NeighborAdvertisement) GetDstIP added in v0.6.6

func (m *ICMPv6NeighborAdvertisement) GetDstIP() string

func (*ICMPv6NeighborAdvertisement) GetFlags

func (m *ICMPv6NeighborAdvertisement) GetFlags() int32

func (*ICMPv6NeighborAdvertisement) GetOptions

func (m *ICMPv6NeighborAdvertisement) GetOptions() []*ICMPv6Option

func (*ICMPv6NeighborAdvertisement) GetSrcIP added in v0.6.6

func (m *ICMPv6NeighborAdvertisement) GetSrcIP() string

func (*ICMPv6NeighborAdvertisement) GetTargetAddress

func (m *ICMPv6NeighborAdvertisement) GetTargetAddress() string

func (*ICMPv6NeighborAdvertisement) GetTimestamp

func (m *ICMPv6NeighborAdvertisement) GetTimestamp() int64

func (*ICMPv6NeighborAdvertisement) Inc added in v0.4.0

func (i *ICMPv6NeighborAdvertisement) Inc()

Inc increments the metrics for the audit record.

func (*ICMPv6NeighborAdvertisement) JSON added in v0.4.0

JSON returns the JSON representation of the audit record.

func (*ICMPv6NeighborAdvertisement) Marshal added in v0.3.9

func (m *ICMPv6NeighborAdvertisement) Marshal() (dAtA []byte, err error)

func (*ICMPv6NeighborAdvertisement) MarshalTo added in v0.3.9

func (m *ICMPv6NeighborAdvertisement) MarshalTo(dAtA []byte) (int, error)

func (*ICMPv6NeighborAdvertisement) MarshalToSizedBuffer added in v0.6.6

func (m *ICMPv6NeighborAdvertisement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ICMPv6NeighborAdvertisement) NetcapType added in v0.6.6

func (i *ICMPv6NeighborAdvertisement) NetcapType() Type

NetcapType returns the type of the current audit record

func (*ICMPv6NeighborAdvertisement) ProtoMessage

func (*ICMPv6NeighborAdvertisement) ProtoMessage()

func (*ICMPv6NeighborAdvertisement) Reset

func (m *ICMPv6NeighborAdvertisement) Reset()

func (*ICMPv6NeighborAdvertisement) SetPacketContext added in v0.4.2

func (i *ICMPv6NeighborAdvertisement) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*ICMPv6NeighborAdvertisement) Size added in v0.3.9

func (m *ICMPv6NeighborAdvertisement) Size() (n int)

func (*ICMPv6NeighborAdvertisement) Src added in v0.4.3

Src returns the source address of the audit record.

func (*ICMPv6NeighborAdvertisement) String

func (m *ICMPv6NeighborAdvertisement) String() string

func (*ICMPv6NeighborAdvertisement) Time added in v0.4.3

Time returns the timestamp associated with the audit record.

func (*ICMPv6NeighborAdvertisement) Unmarshal added in v0.3.9

func (m *ICMPv6NeighborAdvertisement) Unmarshal(dAtA []byte) error

func (*ICMPv6NeighborAdvertisement) XXX_DiscardUnknown

func (m *ICMPv6NeighborAdvertisement) XXX_DiscardUnknown()

func (*ICMPv6NeighborAdvertisement) XXX_Marshal

func (m *ICMPv6NeighborAdvertisement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ICMPv6NeighborAdvertisement) XXX_Merge

func (m *ICMPv6NeighborAdvertisement) XXX_Merge(src proto.Message)

func (*ICMPv6NeighborAdvertisement) XXX_Size

func (m *ICMPv6NeighborAdvertisement) XXX_Size() int

func (*ICMPv6NeighborAdvertisement) XXX_Unmarshal

func (m *ICMPv6NeighborAdvertisement) XXX_Unmarshal(b []byte) error

type ICMPv6NeighborSolicitation

type ICMPv6NeighborSolicitation struct {
	Timestamp     int64           `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	TargetAddress string          `protobuf:"bytes,2,opt,name=TargetAddress,proto3" json:"TargetAddress,omitempty"`
	Options       []*ICMPv6Option `protobuf:"bytes,3,rep,name=Options,proto3" json:"Options,omitempty"`
	SrcIP         string          `protobuf:"bytes,4,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP         string          `protobuf:"bytes,5,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*ICMPv6NeighborSolicitation) Analyze added in v0.6.6

func (i *ICMPv6NeighborSolicitation) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*ICMPv6NeighborSolicitation) CSVHeader

func (i *ICMPv6NeighborSolicitation) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*ICMPv6NeighborSolicitation) CSVRecord

func (i *ICMPv6NeighborSolicitation) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*ICMPv6NeighborSolicitation) Descriptor

func (*ICMPv6NeighborSolicitation) Descriptor() ([]byte, []int)

func (*ICMPv6NeighborSolicitation) Dst added in v0.4.3

Dst returns the destination address of the audit record.

func (*ICMPv6NeighborSolicitation) Encode added in v0.6.6

func (i *ICMPv6NeighborSolicitation) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*ICMPv6NeighborSolicitation) GetDstIP added in v0.6.6

func (m *ICMPv6NeighborSolicitation) GetDstIP() string

func (*ICMPv6NeighborSolicitation) GetOptions

func (m *ICMPv6NeighborSolicitation) GetOptions() []*ICMPv6Option

func (*ICMPv6NeighborSolicitation) GetSrcIP added in v0.6.6

func (m *ICMPv6NeighborSolicitation) GetSrcIP() string

func (*ICMPv6NeighborSolicitation) GetTargetAddress

func (m *ICMPv6NeighborSolicitation) GetTargetAddress() string

func (*ICMPv6NeighborSolicitation) GetTimestamp

func (m *ICMPv6NeighborSolicitation) GetTimestamp() int64

func (*ICMPv6NeighborSolicitation) Inc added in v0.4.0

func (i *ICMPv6NeighborSolicitation) Inc()

Inc increments the metrics for the audit record.

func (*ICMPv6NeighborSolicitation) JSON added in v0.4.0

JSON returns the JSON representation of the audit record.

func (*ICMPv6NeighborSolicitation) Marshal added in v0.3.9

func (m *ICMPv6NeighborSolicitation) Marshal() (dAtA []byte, err error)

func (*ICMPv6NeighborSolicitation) MarshalTo added in v0.3.9

func (m *ICMPv6NeighborSolicitation) MarshalTo(dAtA []byte) (int, error)

func (*ICMPv6NeighborSolicitation) MarshalToSizedBuffer added in v0.6.6

func (m *ICMPv6NeighborSolicitation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ICMPv6NeighborSolicitation) NetcapType added in v0.6.6

func (i *ICMPv6NeighborSolicitation) NetcapType() Type

NetcapType returns the type of the current audit record

func (*ICMPv6NeighborSolicitation) ProtoMessage

func (*ICMPv6NeighborSolicitation) ProtoMessage()

func (*ICMPv6NeighborSolicitation) Reset

func (m *ICMPv6NeighborSolicitation) Reset()

func (*ICMPv6NeighborSolicitation) SetPacketContext added in v0.4.2

func (i *ICMPv6NeighborSolicitation) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*ICMPv6NeighborSolicitation) Size added in v0.3.9

func (m *ICMPv6NeighborSolicitation) Size() (n int)

func (*ICMPv6NeighborSolicitation) Src added in v0.4.3

Src returns the source address of the audit record.

func (*ICMPv6NeighborSolicitation) String

func (m *ICMPv6NeighborSolicitation) String() string

func (*ICMPv6NeighborSolicitation) Time added in v0.4.3

Time returns the timestamp associated with the audit record.

func (*ICMPv6NeighborSolicitation) Unmarshal added in v0.3.9

func (m *ICMPv6NeighborSolicitation) Unmarshal(dAtA []byte) error

func (*ICMPv6NeighborSolicitation) XXX_DiscardUnknown

func (m *ICMPv6NeighborSolicitation) XXX_DiscardUnknown()

func (*ICMPv6NeighborSolicitation) XXX_Marshal

func (m *ICMPv6NeighborSolicitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ICMPv6NeighborSolicitation) XXX_Merge

func (m *ICMPv6NeighborSolicitation) XXX_Merge(src proto.Message)

func (*ICMPv6NeighborSolicitation) XXX_Size

func (m *ICMPv6NeighborSolicitation) XXX_Size() int

func (*ICMPv6NeighborSolicitation) XXX_Unmarshal

func (m *ICMPv6NeighborSolicitation) XXX_Unmarshal(b []byte) error

type ICMPv6Option

type ICMPv6Option struct {
	Type int32  `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
}

func (*ICMPv6Option) Descriptor

func (*ICMPv6Option) Descriptor() ([]byte, []int)

func (*ICMPv6Option) GetData

func (m *ICMPv6Option) GetData() []byte

func (*ICMPv6Option) GetType

func (m *ICMPv6Option) GetType() int32

func (*ICMPv6Option) Marshal added in v0.3.9

func (m *ICMPv6Option) Marshal() (dAtA []byte, err error)

func (*ICMPv6Option) MarshalTo added in v0.3.9

func (m *ICMPv6Option) MarshalTo(dAtA []byte) (int, error)

func (*ICMPv6Option) MarshalToSizedBuffer added in v0.6.6

func (m *ICMPv6Option) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ICMPv6Option) ProtoMessage

func (*ICMPv6Option) ProtoMessage()

func (*ICMPv6Option) Reset

func (m *ICMPv6Option) Reset()

func (*ICMPv6Option) Size added in v0.3.9

func (m *ICMPv6Option) Size() (n int)

func (*ICMPv6Option) String

func (m *ICMPv6Option) String() string

func (*ICMPv6Option) Unmarshal added in v0.3.9

func (m *ICMPv6Option) Unmarshal(dAtA []byte) error

func (*ICMPv6Option) XXX_DiscardUnknown

func (m *ICMPv6Option) XXX_DiscardUnknown()

func (*ICMPv6Option) XXX_Marshal

func (m *ICMPv6Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ICMPv6Option) XXX_Merge

func (m *ICMPv6Option) XXX_Merge(src proto.Message)

func (*ICMPv6Option) XXX_Size

func (m *ICMPv6Option) XXX_Size() int

func (*ICMPv6Option) XXX_Unmarshal

func (m *ICMPv6Option) XXX_Unmarshal(b []byte) error

type ICMPv6RouterAdvertisement

type ICMPv6RouterAdvertisement struct {
	Timestamp      int64           `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	HopLimit       int32           `protobuf:"varint,2,opt,name=HopLimit,proto3" json:"HopLimit,omitempty"`
	Flags          int32           `protobuf:"varint,3,opt,name=Flags,proto3" json:"Flags,omitempty"`
	RouterLifetime int32           `protobuf:"varint,4,opt,name=RouterLifetime,proto3" json:"RouterLifetime,omitempty"`
	ReachableTime  uint32          `protobuf:"varint,5,opt,name=ReachableTime,proto3" json:"ReachableTime,omitempty"`
	RetransTimer   uint32          `protobuf:"varint,6,opt,name=RetransTimer,proto3" json:"RetransTimer,omitempty"`
	Options        []*ICMPv6Option `protobuf:"bytes,7,rep,name=Options,proto3" json:"Options,omitempty"`
	SrcIP          string          `protobuf:"bytes,8,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP          string          `protobuf:"bytes,9,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*ICMPv6RouterAdvertisement) Analyze added in v0.6.6

func (i *ICMPv6RouterAdvertisement) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*ICMPv6RouterAdvertisement) CSVHeader

func (i *ICMPv6RouterAdvertisement) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*ICMPv6RouterAdvertisement) CSVRecord

func (i *ICMPv6RouterAdvertisement) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*ICMPv6RouterAdvertisement) Descriptor

func (*ICMPv6RouterAdvertisement) Descriptor() ([]byte, []int)

func (*ICMPv6RouterAdvertisement) Dst added in v0.4.3

Dst returns the destination address of the audit record.

func (*ICMPv6RouterAdvertisement) Encode added in v0.6.6

func (i *ICMPv6RouterAdvertisement) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*ICMPv6RouterAdvertisement) GetDstIP added in v0.6.6

func (m *ICMPv6RouterAdvertisement) GetDstIP() string

func (*ICMPv6RouterAdvertisement) GetFlags

func (m *ICMPv6RouterAdvertisement) GetFlags() int32

func (*ICMPv6RouterAdvertisement) GetHopLimit

func (m *ICMPv6RouterAdvertisement) GetHopLimit() int32

func (*ICMPv6RouterAdvertisement) GetOptions

func (m *ICMPv6RouterAdvertisement) GetOptions() []*ICMPv6Option

func (*ICMPv6RouterAdvertisement) GetReachableTime

func (m *ICMPv6RouterAdvertisement) GetReachableTime() uint32

func (*ICMPv6RouterAdvertisement) GetRetransTimer

func (m *ICMPv6RouterAdvertisement) GetRetransTimer() uint32

func (*ICMPv6RouterAdvertisement) GetRouterLifetime

func (m *ICMPv6RouterAdvertisement) GetRouterLifetime() int32

func (*ICMPv6RouterAdvertisement) GetSrcIP added in v0.6.6

func (m *ICMPv6RouterAdvertisement) GetSrcIP() string

func (*ICMPv6RouterAdvertisement) GetTimestamp

func (m *ICMPv6RouterAdvertisement) GetTimestamp() int64

func (*ICMPv6RouterAdvertisement) Inc added in v0.4.0

func (i *ICMPv6RouterAdvertisement) Inc()

Inc increments the metrics for the audit record.

func (*ICMPv6RouterAdvertisement) JSON added in v0.4.0

func (i *ICMPv6RouterAdvertisement) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*ICMPv6RouterAdvertisement) Marshal added in v0.3.9

func (m *ICMPv6RouterAdvertisement) Marshal() (dAtA []byte, err error)

func (*ICMPv6RouterAdvertisement) MarshalTo added in v0.3.9

func (m *ICMPv6RouterAdvertisement) MarshalTo(dAtA []byte) (int, error)

func (*ICMPv6RouterAdvertisement) MarshalToSizedBuffer added in v0.6.6

func (m *ICMPv6RouterAdvertisement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ICMPv6RouterAdvertisement) NetcapType added in v0.6.6

func (i *ICMPv6RouterAdvertisement) NetcapType() Type

NetcapType returns the type of the current audit record

func (*ICMPv6RouterAdvertisement) ProtoMessage

func (*ICMPv6RouterAdvertisement) ProtoMessage()

func (*ICMPv6RouterAdvertisement) Reset

func (m *ICMPv6RouterAdvertisement) Reset()

func (*ICMPv6RouterAdvertisement) SetPacketContext added in v0.4.2

func (i *ICMPv6RouterAdvertisement) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*ICMPv6RouterAdvertisement) Size added in v0.3.9

func (m *ICMPv6RouterAdvertisement) Size() (n int)

func (*ICMPv6RouterAdvertisement) Src added in v0.4.3

Src returns the source address of the audit record.

func (*ICMPv6RouterAdvertisement) String

func (m *ICMPv6RouterAdvertisement) String() string

func (*ICMPv6RouterAdvertisement) Time added in v0.4.3

func (i *ICMPv6RouterAdvertisement) Time() int64

Time returns the timestamp associated with the audit record.

func (*ICMPv6RouterAdvertisement) Unmarshal added in v0.3.9

func (m *ICMPv6RouterAdvertisement) Unmarshal(dAtA []byte) error

func (*ICMPv6RouterAdvertisement) XXX_DiscardUnknown

func (m *ICMPv6RouterAdvertisement) XXX_DiscardUnknown()

func (*ICMPv6RouterAdvertisement) XXX_Marshal

func (m *ICMPv6RouterAdvertisement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ICMPv6RouterAdvertisement) XXX_Merge

func (m *ICMPv6RouterAdvertisement) XXX_Merge(src proto.Message)

func (*ICMPv6RouterAdvertisement) XXX_Size

func (m *ICMPv6RouterAdvertisement) XXX_Size() int

func (*ICMPv6RouterAdvertisement) XXX_Unmarshal

func (m *ICMPv6RouterAdvertisement) XXX_Unmarshal(b []byte) error

type ICMPv6RouterSolicitation

type ICMPv6RouterSolicitation struct {
	Timestamp int64           `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Options   []*ICMPv6Option `protobuf:"bytes,2,rep,name=Options,proto3" json:"Options,omitempty"`
	SrcIP     string          `protobuf:"bytes,3,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP     string          `protobuf:"bytes,4,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*ICMPv6RouterSolicitation) Analyze added in v0.6.6

func (i *ICMPv6RouterSolicitation) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*ICMPv6RouterSolicitation) CSVHeader

func (i *ICMPv6RouterSolicitation) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*ICMPv6RouterSolicitation) CSVRecord

func (i *ICMPv6RouterSolicitation) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*ICMPv6RouterSolicitation) Descriptor

func (*ICMPv6RouterSolicitation) Descriptor() ([]byte, []int)

func (*ICMPv6RouterSolicitation) Dst added in v0.4.3

Dst returns the destination address of the audit record.

func (*ICMPv6RouterSolicitation) Encode added in v0.6.6

func (i *ICMPv6RouterSolicitation) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*ICMPv6RouterSolicitation) GetDstIP added in v0.6.6

func (m *ICMPv6RouterSolicitation) GetDstIP() string

func (*ICMPv6RouterSolicitation) GetOptions

func (m *ICMPv6RouterSolicitation) GetOptions() []*ICMPv6Option

func (*ICMPv6RouterSolicitation) GetSrcIP added in v0.6.6

func (m *ICMPv6RouterSolicitation) GetSrcIP() string

func (*ICMPv6RouterSolicitation) GetTimestamp

func (m *ICMPv6RouterSolicitation) GetTimestamp() int64

func (*ICMPv6RouterSolicitation) Inc added in v0.4.0

func (i *ICMPv6RouterSolicitation) Inc()

Inc increments the metrics for the audit record.

func (*ICMPv6RouterSolicitation) JSON added in v0.4.0

func (i *ICMPv6RouterSolicitation) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*ICMPv6RouterSolicitation) Marshal added in v0.3.9

func (m *ICMPv6RouterSolicitation) Marshal() (dAtA []byte, err error)

func (*ICMPv6RouterSolicitation) MarshalTo added in v0.3.9

func (m *ICMPv6RouterSolicitation) MarshalTo(dAtA []byte) (int, error)

func (*ICMPv6RouterSolicitation) MarshalToSizedBuffer added in v0.6.6

func (m *ICMPv6RouterSolicitation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ICMPv6RouterSolicitation) NetcapType added in v0.6.6

func (i *ICMPv6RouterSolicitation) NetcapType() Type

NetcapType returns the type of the current audit record

func (*ICMPv6RouterSolicitation) ProtoMessage

func (*ICMPv6RouterSolicitation) ProtoMessage()

func (*ICMPv6RouterSolicitation) Reset

func (m *ICMPv6RouterSolicitation) Reset()

func (*ICMPv6RouterSolicitation) SetPacketContext added in v0.4.2

func (i *ICMPv6RouterSolicitation) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*ICMPv6RouterSolicitation) Size added in v0.3.9

func (m *ICMPv6RouterSolicitation) Size() (n int)

func (*ICMPv6RouterSolicitation) Src added in v0.4.3

Src returns the source address of the audit record.

func (*ICMPv6RouterSolicitation) String

func (m *ICMPv6RouterSolicitation) String() string

func (*ICMPv6RouterSolicitation) Time added in v0.4.3

func (i *ICMPv6RouterSolicitation) Time() int64

Time returns the timestamp associated with the audit record.

func (*ICMPv6RouterSolicitation) Unmarshal added in v0.3.9

func (m *ICMPv6RouterSolicitation) Unmarshal(dAtA []byte) error

func (*ICMPv6RouterSolicitation) XXX_DiscardUnknown

func (m *ICMPv6RouterSolicitation) XXX_DiscardUnknown()

func (*ICMPv6RouterSolicitation) XXX_Marshal

func (m *ICMPv6RouterSolicitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ICMPv6RouterSolicitation) XXX_Merge

func (m *ICMPv6RouterSolicitation) XXX_Merge(src proto.Message)

func (*ICMPv6RouterSolicitation) XXX_Size

func (m *ICMPv6RouterSolicitation) XXX_Size() int

func (*ICMPv6RouterSolicitation) XXX_Unmarshal

func (m *ICMPv6RouterSolicitation) XXX_Unmarshal(b []byte) error

type IGMP

type IGMP struct {
	Timestamp               int64                `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Type                    int32                `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
	MaxResponseTime         uint64               `protobuf:"varint,3,opt,name=MaxResponseTime,proto3" json:"MaxResponseTime,omitempty"`
	Checksum                int32                `protobuf:"varint,4,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	GroupAddress            string               `protobuf:"bytes,5,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
	SupressRouterProcessing bool                 `protobuf:"varint,6,opt,name=SupressRouterProcessing,proto3" json:"SupressRouterProcessing,omitempty"`
	RobustnessValue         int32                `protobuf:"varint,7,opt,name=RobustnessValue,proto3" json:"RobustnessValue,omitempty"`
	IntervalTime            uint64               `protobuf:"varint,8,opt,name=IntervalTime,proto3" json:"IntervalTime,omitempty"`
	SourceAddresses         []string             `protobuf:"bytes,9,rep,name=SourceAddresses,proto3" json:"SourceAddresses,omitempty"`
	NumberOfGroupRecords    int32                `protobuf:"varint,10,opt,name=NumberOfGroupRecords,proto3" json:"NumberOfGroupRecords,omitempty"`
	NumberOfSources         int32                `protobuf:"varint,11,opt,name=NumberOfSources,proto3" json:"NumberOfSources,omitempty"`
	GroupRecords            []*IGMPv3GroupRecord `protobuf:"bytes,12,rep,name=GroupRecords,proto3" json:"GroupRecords,omitempty"`
	Version                 int32                `protobuf:"varint,13,opt,name=Version,proto3" json:"Version,omitempty"`
	SrcIP                   string               `protobuf:"bytes,14,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP                   string               `protobuf:"bytes,15,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

The Internet Group Management Protocol (IGMP) is a communications protocol used by hosts and adjacent routers on IPv4 networks to establish multicast group memberships. IGMP is an integral part of IP multicast. IGMP can be used for one-to-many networking applications such as online streaming video and gaming, and allows more efficient use of resources when supporting these types of applications. IGMP is used on IPv4 networks. Multicast management on IPv6 networks is handled by Multicast Listener Discovery (MLD) which is a part of ICMPv6 in contrast to IGMP's bare IP encapsulation.

func (*IGMP) Analyze added in v0.6.6

func (i *IGMP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*IGMP) CSVHeader

func (i *IGMP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*IGMP) CSVRecord

func (i *IGMP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*IGMP) Descriptor

func (*IGMP) Descriptor() ([]byte, []int)

func (*IGMP) Dst added in v0.4.3

func (i *IGMP) Dst() string

Dst returns the destination address of the audit record.

func (*IGMP) Encode added in v0.6.6

func (i *IGMP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*IGMP) GetChecksum

func (m *IGMP) GetChecksum() int32

func (*IGMP) GetDstIP added in v0.6.6

func (m *IGMP) GetDstIP() string

func (*IGMP) GetGroupAddress

func (m *IGMP) GetGroupAddress() string

func (*IGMP) GetGroupRecords

func (m *IGMP) GetGroupRecords() []*IGMPv3GroupRecord

func (*IGMP) GetIntervalTime

func (m *IGMP) GetIntervalTime() uint64

func (*IGMP) GetMaxResponseTime

func (m *IGMP) GetMaxResponseTime() uint64

func (*IGMP) GetNumberOfGroupRecords

func (m *IGMP) GetNumberOfGroupRecords() int32

func (*IGMP) GetNumberOfSources

func (m *IGMP) GetNumberOfSources() int32

func (*IGMP) GetRobustnessValue

func (m *IGMP) GetRobustnessValue() int32

func (*IGMP) GetSourceAddresses

func (m *IGMP) GetSourceAddresses() []string

func (*IGMP) GetSrcIP added in v0.6.6

func (m *IGMP) GetSrcIP() string

func (*IGMP) GetSupressRouterProcessing

func (m *IGMP) GetSupressRouterProcessing() bool

func (*IGMP) GetTimestamp

func (m *IGMP) GetTimestamp() int64

func (*IGMP) GetType

func (m *IGMP) GetType() int32

func (*IGMP) GetVersion

func (m *IGMP) GetVersion() int32

func (*IGMP) Inc added in v0.4.0

func (i *IGMP) Inc()

Inc increments the metrics for the audit record.

func (*IGMP) JSON added in v0.4.0

func (i *IGMP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*IGMP) Marshal added in v0.3.9

func (m *IGMP) Marshal() (dAtA []byte, err error)

func (*IGMP) MarshalTo added in v0.3.9

func (m *IGMP) MarshalTo(dAtA []byte) (int, error)

func (*IGMP) MarshalToSizedBuffer added in v0.6.6

func (m *IGMP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IGMP) NetcapType added in v0.6.6

func (i *IGMP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*IGMP) ProtoMessage

func (*IGMP) ProtoMessage()

func (*IGMP) Reset

func (m *IGMP) Reset()

func (*IGMP) SetPacketContext added in v0.4.2

func (i *IGMP) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*IGMP) Size added in v0.3.9

func (m *IGMP) Size() (n int)

func (*IGMP) Src added in v0.4.3

func (i *IGMP) Src() string

Src returns the source address of the audit record.

func (*IGMP) String

func (m *IGMP) String() string

func (*IGMP) Time added in v0.4.3

func (i *IGMP) Time() int64

Time returns the timestamp associated with the audit record.

func (*IGMP) Unmarshal added in v0.3.9

func (m *IGMP) Unmarshal(dAtA []byte) error

func (*IGMP) XXX_DiscardUnknown

func (m *IGMP) XXX_DiscardUnknown()

func (*IGMP) XXX_Marshal

func (m *IGMP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IGMP) XXX_Merge

func (m *IGMP) XXX_Merge(src proto.Message)

func (*IGMP) XXX_Size

func (m *IGMP) XXX_Size() int

func (*IGMP) XXX_Unmarshal

func (m *IGMP) XXX_Unmarshal(b []byte) error

type IGMPv3GroupRecord

type IGMPv3GroupRecord struct {
	Type             int32    `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	AuxDataLen       int32    `protobuf:"varint,2,opt,name=AuxDataLen,proto3" json:"AuxDataLen,omitempty"`
	NumberOfSources  int32    `protobuf:"varint,3,opt,name=NumberOfSources,proto3" json:"NumberOfSources,omitempty"`
	MulticastAddress string   `protobuf:"bytes,4,opt,name=MulticastAddress,proto3" json:"MulticastAddress,omitempty"`
	SourceAddresses  []string `protobuf:"bytes,5,rep,name=SourceAddresses,proto3" json:"SourceAddresses,omitempty"`
}

func (*IGMPv3GroupRecord) Descriptor

func (*IGMPv3GroupRecord) Descriptor() ([]byte, []int)

func (*IGMPv3GroupRecord) GetAuxDataLen

func (m *IGMPv3GroupRecord) GetAuxDataLen() int32

func (*IGMPv3GroupRecord) GetMulticastAddress

func (m *IGMPv3GroupRecord) GetMulticastAddress() string

func (*IGMPv3GroupRecord) GetNumberOfSources

func (m *IGMPv3GroupRecord) GetNumberOfSources() int32

func (*IGMPv3GroupRecord) GetSourceAddresses

func (m *IGMPv3GroupRecord) GetSourceAddresses() []string

func (*IGMPv3GroupRecord) GetType

func (m *IGMPv3GroupRecord) GetType() int32

func (*IGMPv3GroupRecord) Marshal added in v0.3.9

func (m *IGMPv3GroupRecord) Marshal() (dAtA []byte, err error)

func (*IGMPv3GroupRecord) MarshalTo added in v0.3.9

func (m *IGMPv3GroupRecord) MarshalTo(dAtA []byte) (int, error)

func (*IGMPv3GroupRecord) MarshalToSizedBuffer added in v0.6.6

func (m *IGMPv3GroupRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IGMPv3GroupRecord) ProtoMessage

func (*IGMPv3GroupRecord) ProtoMessage()

func (*IGMPv3GroupRecord) Reset

func (m *IGMPv3GroupRecord) Reset()

func (*IGMPv3GroupRecord) Size added in v0.3.9

func (m *IGMPv3GroupRecord) Size() (n int)

func (*IGMPv3GroupRecord) String

func (m *IGMPv3GroupRecord) String() string

func (*IGMPv3GroupRecord) Unmarshal added in v0.3.9

func (m *IGMPv3GroupRecord) Unmarshal(dAtA []byte) error

func (*IGMPv3GroupRecord) XXX_DiscardUnknown

func (m *IGMPv3GroupRecord) XXX_DiscardUnknown()

func (*IGMPv3GroupRecord) XXX_Marshal

func (m *IGMPv3GroupRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IGMPv3GroupRecord) XXX_Merge

func (m *IGMPv3GroupRecord) XXX_Merge(src proto.Message)

func (*IGMPv3GroupRecord) XXX_Size

func (m *IGMPv3GroupRecord) XXX_Size() int

func (*IGMPv3GroupRecord) XXX_Unmarshal

func (m *IGMPv3GroupRecord) XXX_Unmarshal(b []byte) error

type IPNet added in v0.3.9

type IPNet struct {
	IP     string `protobuf:"bytes,1,opt,name=IP,proto3" json:"IP,omitempty"`
	IPMask string `protobuf:"bytes,2,opt,name=IPMask,proto3" json:"IPMask,omitempty"`
}

func (*IPNet) Descriptor added in v0.3.9

func (*IPNet) Descriptor() ([]byte, []int)

func (*IPNet) GetIP added in v0.3.9

func (m *IPNet) GetIP() string

func (*IPNet) GetIPMask added in v0.3.9

func (m *IPNet) GetIPMask() string

func (*IPNet) Marshal added in v0.3.9

func (m *IPNet) Marshal() (dAtA []byte, err error)

func (*IPNet) MarshalTo added in v0.3.9

func (m *IPNet) MarshalTo(dAtA []byte) (int, error)

func (*IPNet) MarshalToSizedBuffer added in v0.6.6

func (m *IPNet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPNet) ProtoMessage added in v0.3.9

func (*IPNet) ProtoMessage()

func (*IPNet) Reset added in v0.3.9

func (m *IPNet) Reset()

func (*IPNet) Size added in v0.3.9

func (m *IPNet) Size() (n int)

func (*IPNet) String added in v0.3.9

func (m *IPNet) String() string

func (*IPNet) Unmarshal added in v0.3.9

func (m *IPNet) Unmarshal(dAtA []byte) error

func (*IPNet) XXX_DiscardUnknown added in v0.3.9

func (m *IPNet) XXX_DiscardUnknown()

func (*IPNet) XXX_Marshal added in v0.3.9

func (m *IPNet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPNet) XXX_Merge added in v0.3.9

func (m *IPNet) XXX_Merge(src proto.Message)

func (*IPNet) XXX_Size added in v0.3.9

func (m *IPNet) XXX_Size() int

func (*IPNet) XXX_Unmarshal added in v0.3.9

func (m *IPNet) XXX_Unmarshal(b []byte) error

type IPProfile added in v0.6.6

type IPProfile struct {
	Addr           string               `protobuf:"bytes,1,opt,name=Addr,proto3" json:"Addr,omitempty"`
	NumPackets     int64                `protobuf:"varint,2,opt,name=NumPackets,proto3" json:"NumPackets,omitempty"`
	Geolocation    string               `protobuf:"bytes,3,opt,name=Geolocation,proto3" json:"Geolocation,omitempty"`
	DNSNames       []string             `protobuf:"bytes,4,rep,name=DNSNames,proto3" json:"DNSNames,omitempty"`
	TimestampFirst int64                `protobuf:"varint,5,opt,name=TimestampFirst,proto3" json:"TimestampFirst,omitempty"`
	TimestampLast  int64                `protobuf:"varint,6,opt,name=TimestampLast,proto3" json:"TimestampLast,omitempty"`
	Applications   []string             `protobuf:"bytes,7,rep,name=Applications,proto3" json:"Applications,omitempty"`
	Ja3Hashes      map[string]string    `` /* 159-byte string literal not displayed */
	Protocols      map[string]*Protocol `` /* 159-byte string literal not displayed */
	Bytes          uint64               `protobuf:"varint,10,opt,name=Bytes,proto3" json:"Bytes,omitempty"`
	SNIs           map[string]int64     `` /* 151-byte string literal not displayed */
	SrcPorts       []*Port              `protobuf:"bytes,12,rep,name=SrcPorts,proto3" json:"SrcPorts,omitempty"`
	DstPorts       []*Port              `protobuf:"bytes,13,rep,name=DstPorts,proto3" json:"DstPorts,omitempty"`
	ContactedPorts []*Port              `protobuf:"bytes,14,rep,name=ContactedPorts,proto3" json:"ContactedPorts,omitempty"`
}

func (*IPProfile) Analyze added in v0.6.6

func (d *IPProfile) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*IPProfile) CSVHeader added in v0.6.6

func (d *IPProfile) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*IPProfile) CSVRecord added in v0.6.6

func (d *IPProfile) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*IPProfile) Descriptor added in v0.6.6

func (*IPProfile) Descriptor() ([]byte, []int)

func (*IPProfile) Dst added in v0.6.6

func (d *IPProfile) Dst() string

Dst returns the destination address of the audit record.

func (*IPProfile) Encode added in v0.6.6

func (d *IPProfile) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*IPProfile) GetAddr added in v0.6.6

func (m *IPProfile) GetAddr() string

func (*IPProfile) GetApplications added in v0.6.6

func (m *IPProfile) GetApplications() []string

func (*IPProfile) GetBytes added in v0.6.6

func (m *IPProfile) GetBytes() uint64

func (*IPProfile) GetContactedPorts added in v0.6.6

func (m *IPProfile) GetContactedPorts() []*Port

func (*IPProfile) GetDNSNames added in v0.6.6

func (m *IPProfile) GetDNSNames() []string

func (*IPProfile) GetDstPorts added in v0.6.6

func (m *IPProfile) GetDstPorts() []*Port

func (*IPProfile) GetGeolocation added in v0.6.6

func (m *IPProfile) GetGeolocation() string

func (*IPProfile) GetJa3Hashes added in v0.6.6

func (m *IPProfile) GetJa3Hashes() map[string]string

func (*IPProfile) GetNumPackets added in v0.6.6

func (m *IPProfile) GetNumPackets() int64

func (*IPProfile) GetProtocols added in v0.6.6

func (m *IPProfile) GetProtocols() map[string]*Protocol

func (*IPProfile) GetSNIs added in v0.6.6

func (m *IPProfile) GetSNIs() map[string]int64

func (*IPProfile) GetSrcPorts added in v0.6.6

func (m *IPProfile) GetSrcPorts() []*Port

func (*IPProfile) GetTimestampFirst added in v0.6.6

func (m *IPProfile) GetTimestampFirst() int64

func (*IPProfile) GetTimestampLast added in v0.6.6

func (m *IPProfile) GetTimestampLast() int64

func (*IPProfile) Inc added in v0.6.6

func (d *IPProfile) Inc()

Inc increments the metrics for the audit record.

func (*IPProfile) JSON added in v0.6.6

func (d *IPProfile) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*IPProfile) Marshal added in v0.6.6

func (m *IPProfile) Marshal() (dAtA []byte, err error)

func (*IPProfile) MarshalTo added in v0.6.6

func (m *IPProfile) MarshalTo(dAtA []byte) (int, error)

func (*IPProfile) MarshalToSizedBuffer added in v0.6.6

func (m *IPProfile) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPProfile) NetcapType added in v0.6.6

func (d *IPProfile) NetcapType() Type

NetcapType returns the type of the current audit record

func (*IPProfile) ProtoMessage added in v0.6.6

func (*IPProfile) ProtoMessage()

func (*IPProfile) Reset added in v0.6.6

func (m *IPProfile) Reset()

func (*IPProfile) SetPacketContext added in v0.6.6

func (d *IPProfile) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*IPProfile) Size added in v0.6.6

func (m *IPProfile) Size() (n int)

func (*IPProfile) Src added in v0.6.6

func (d *IPProfile) Src() string

Src returns the source address of the audit record.

func (*IPProfile) String added in v0.6.6

func (m *IPProfile) String() string

func (*IPProfile) Time added in v0.6.6

func (d *IPProfile) Time() int64

Time returns the timestamp associated with the audit record.

func (*IPProfile) Unmarshal added in v0.6.6

func (m *IPProfile) Unmarshal(dAtA []byte) error

func (*IPProfile) XXX_DiscardUnknown added in v0.6.6

func (m *IPProfile) XXX_DiscardUnknown()

func (*IPProfile) XXX_Marshal added in v0.6.6

func (m *IPProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPProfile) XXX_Merge added in v0.6.6

func (m *IPProfile) XXX_Merge(src proto.Message)

func (*IPProfile) XXX_Size added in v0.6.6

func (m *IPProfile) XXX_Size() int

func (*IPProfile) XXX_Unmarshal added in v0.6.6

func (m *IPProfile) XXX_Unmarshal(b []byte) error

type IPSecAH added in v0.3.7

type IPSecAH struct {
	Timestamp          int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Reserved           int32  `protobuf:"varint,2,opt,name=Reserved,proto3" json:"Reserved,omitempty"`
	SPI                int32  `protobuf:"varint,3,opt,name=SPI,proto3" json:"SPI,omitempty"`
	Seq                int32  `protobuf:"varint,4,opt,name=Seq,proto3" json:"Seq,omitempty"`
	AuthenticationData []byte `protobuf:"bytes,5,opt,name=AuthenticationData,proto3" json:"AuthenticationData,omitempty"`
	SrcIP              string `protobuf:"bytes,6,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP              string `protobuf:"bytes,7,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*IPSecAH) Analyze added in v0.6.6

func (a *IPSecAH) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*IPSecAH) CSVHeader added in v0.3.7

func (a *IPSecAH) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*IPSecAH) CSVRecord added in v0.3.7

func (a *IPSecAH) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*IPSecAH) Descriptor added in v0.3.7

func (*IPSecAH) Descriptor() ([]byte, []int)

func (*IPSecAH) Dst added in v0.4.3

func (a *IPSecAH) Dst() string

Dst returns the destination address of the audit record.

func (*IPSecAH) Encode added in v0.6.6

func (a *IPSecAH) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*IPSecAH) GetAuthenticationData added in v0.3.7

func (m *IPSecAH) GetAuthenticationData() []byte

func (*IPSecAH) GetDstIP added in v0.6.6

func (m *IPSecAH) GetDstIP() string

func (*IPSecAH) GetReserved added in v0.3.7

func (m *IPSecAH) GetReserved() int32

func (*IPSecAH) GetSPI added in v0.3.7

func (m *IPSecAH) GetSPI() int32

func (*IPSecAH) GetSeq added in v0.3.7

func (m *IPSecAH) GetSeq() int32

func (*IPSecAH) GetSrcIP added in v0.6.6

func (m *IPSecAH) GetSrcIP() string

func (*IPSecAH) GetTimestamp added in v0.3.7

func (m *IPSecAH) GetTimestamp() int64

func (*IPSecAH) Inc added in v0.4.0

func (a *IPSecAH) Inc()

Inc increments the metrics for the audit record.

func (*IPSecAH) JSON added in v0.4.0

func (a *IPSecAH) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*IPSecAH) Marshal added in v0.3.9

func (m *IPSecAH) Marshal() (dAtA []byte, err error)

func (*IPSecAH) MarshalTo added in v0.3.9

func (m *IPSecAH) MarshalTo(dAtA []byte) (int, error)

func (*IPSecAH) MarshalToSizedBuffer added in v0.6.6

func (m *IPSecAH) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPSecAH) NetcapType added in v0.6.6

func (a *IPSecAH) NetcapType() Type

NetcapType returns the type of the current audit record

func (*IPSecAH) ProtoMessage added in v0.3.7

func (*IPSecAH) ProtoMessage()

func (*IPSecAH) Reset added in v0.3.7

func (m *IPSecAH) Reset()

func (*IPSecAH) SetPacketContext added in v0.4.2

func (a *IPSecAH) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*IPSecAH) Size added in v0.3.9

func (m *IPSecAH) Size() (n int)

func (*IPSecAH) Src added in v0.4.3

func (a *IPSecAH) Src() string

Src returns the source address of the audit record.

func (*IPSecAH) String added in v0.3.7

func (m *IPSecAH) String() string

func (*IPSecAH) Time added in v0.4.3

func (a *IPSecAH) Time() int64

Time returns the timestamp associated with the audit record.

func (*IPSecAH) Unmarshal added in v0.3.9

func (m *IPSecAH) Unmarshal(dAtA []byte) error

func (*IPSecAH) XXX_DiscardUnknown added in v0.3.7

func (m *IPSecAH) XXX_DiscardUnknown()

func (*IPSecAH) XXX_Marshal added in v0.3.7

func (m *IPSecAH) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPSecAH) XXX_Merge added in v0.3.7

func (m *IPSecAH) XXX_Merge(src proto.Message)

func (*IPSecAH) XXX_Size added in v0.3.7

func (m *IPSecAH) XXX_Size() int

func (*IPSecAH) XXX_Unmarshal added in v0.3.7

func (m *IPSecAH) XXX_Unmarshal(b []byte) error

type IPSecESP added in v0.3.7

type IPSecESP struct {
	Timestamp    int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	SPI          int32  `protobuf:"varint,2,opt,name=SPI,proto3" json:"SPI,omitempty"`
	Seq          int32  `protobuf:"varint,3,opt,name=Seq,proto3" json:"Seq,omitempty"`
	LenEncrypted int32  `protobuf:"varint,4,opt,name=LenEncrypted,proto3" json:"LenEncrypted,omitempty"`
	SrcIP        string `protobuf:"bytes,5,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP        string `protobuf:"bytes,6,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*IPSecESP) Analyze added in v0.6.6

func (a *IPSecESP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*IPSecESP) CSVHeader added in v0.3.7

func (a *IPSecESP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*IPSecESP) CSVRecord added in v0.3.7

func (a *IPSecESP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*IPSecESP) Descriptor added in v0.3.7

func (*IPSecESP) Descriptor() ([]byte, []int)

func (*IPSecESP) Dst added in v0.4.3

func (a *IPSecESP) Dst() string

Dst returns the destination address of the audit record.

func (*IPSecESP) Encode added in v0.6.6

func (a *IPSecESP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*IPSecESP) GetDstIP added in v0.6.6

func (m *IPSecESP) GetDstIP() string

func (*IPSecESP) GetLenEncrypted added in v0.3.7

func (m *IPSecESP) GetLenEncrypted() int32

func (*IPSecESP) GetSPI added in v0.3.7

func (m *IPSecESP) GetSPI() int32

func (*IPSecESP) GetSeq added in v0.3.7

func (m *IPSecESP) GetSeq() int32

func (*IPSecESP) GetSrcIP added in v0.6.6

func (m *IPSecESP) GetSrcIP() string

func (*IPSecESP) GetTimestamp added in v0.3.7

func (m *IPSecESP) GetTimestamp() int64

func (*IPSecESP) Inc added in v0.4.0

func (a *IPSecESP) Inc()

Inc increments the metrics for the audit record.

func (*IPSecESP) JSON added in v0.4.0

func (a *IPSecESP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*IPSecESP) Marshal added in v0.3.9

func (m *IPSecESP) Marshal() (dAtA []byte, err error)

func (*IPSecESP) MarshalTo added in v0.3.9

func (m *IPSecESP) MarshalTo(dAtA []byte) (int, error)

func (*IPSecESP) MarshalToSizedBuffer added in v0.6.6

func (m *IPSecESP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPSecESP) NetcapType added in v0.6.6

func (a *IPSecESP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*IPSecESP) ProtoMessage added in v0.3.7

func (*IPSecESP) ProtoMessage()

func (*IPSecESP) Reset added in v0.3.7

func (m *IPSecESP) Reset()

func (*IPSecESP) SetPacketContext added in v0.4.2

func (a *IPSecESP) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*IPSecESP) Size added in v0.3.9

func (m *IPSecESP) Size() (n int)

func (*IPSecESP) Src added in v0.4.3

func (a *IPSecESP) Src() string

Src returns the source address of the audit record.

func (*IPSecESP) String added in v0.3.7

func (m *IPSecESP) String() string

func (*IPSecESP) Time added in v0.4.3

func (a *IPSecESP) Time() int64

Time returns the timestamp associated with the audit record.

func (*IPSecESP) Unmarshal added in v0.3.9

func (m *IPSecESP) Unmarshal(dAtA []byte) error

func (*IPSecESP) XXX_DiscardUnknown added in v0.3.7

func (m *IPSecESP) XXX_DiscardUnknown()

func (*IPSecESP) XXX_Marshal added in v0.3.7

func (m *IPSecESP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPSecESP) XXX_Merge added in v0.3.7

func (m *IPSecESP) XXX_Merge(src proto.Message)

func (*IPSecESP) XXX_Size added in v0.3.7

func (m *IPSecESP) XXX_Size() int

func (*IPSecESP) XXX_Unmarshal added in v0.3.7

func (m *IPSecESP) XXX_Unmarshal(b []byte) error

type IPv4

type IPv4 struct {
	Timestamp      int64         `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Version        int32         `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	IHL            int32         `protobuf:"varint,3,opt,name=IHL,proto3" json:"IHL,omitempty"`
	TOS            int32         `protobuf:"varint,4,opt,name=TOS,proto3" json:"TOS,omitempty"`
	Length         int32         `protobuf:"varint,5,opt,name=Length,proto3" json:"Length,omitempty"`
	Id             int32         `protobuf:"varint,6,opt,name=Id,proto3" json:"Id,omitempty"`
	Flags          int32         `protobuf:"varint,7,opt,name=Flags,proto3" json:"Flags,omitempty"`
	FragOffset     int32         `protobuf:"varint,8,opt,name=FragOffset,proto3" json:"FragOffset,omitempty"`
	TTL            int32         `protobuf:"varint,9,opt,name=TTL,proto3" json:"TTL,omitempty"`
	Protocol       int32         `protobuf:"varint,10,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	Checksum       int32         `protobuf:"varint,11,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	SrcIP          string        `protobuf:"bytes,12,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP          string        `protobuf:"bytes,13,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	Padding        []byte        `protobuf:"bytes,14,opt,name=Padding,proto3" json:"Padding,omitempty"`
	Options        []*IPv4Option `protobuf:"bytes,15,rep,name=Options,proto3" json:"Options,omitempty"`
	PayloadEntropy float64       `protobuf:"fixed64,16,opt,name=PayloadEntropy,proto3" json:"PayloadEntropy,omitempty"`
	PayloadSize    int32         `protobuf:"varint,17,opt,name=PayloadSize,proto3" json:"PayloadSize,omitempty"`
	SrcPort        int32         `protobuf:"varint,18,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort        int32         `protobuf:"varint,19,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

Internet Protocol version 4 (IPv4) is the fourth version of the Internet Protocol (IP). It is one of the core protocols of standards-based internetworking methods in the Internet and other packet-switched networks. IPv4 was the first version deployed for production in the ARPANET in 1983. It still routes most Internet traffic today, despite the ongoing deployment of a successor protocol, IPv6. IPv4 is described in IETF publication RFC 791 (September 1981), replacing an earlier definition (RFC 760, January 1980). IPv4 uses a 32-bit address space, which limits the number of unique hosts to 4,294,967,296 (232), but large blocks are reserved for special networking methods.

func (*IPv4) Analyze added in v0.6.6

func (i *IPv4) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*IPv4) CSVHeader

func (i *IPv4) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*IPv4) CSVRecord

func (i *IPv4) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*IPv4) Descriptor

func (*IPv4) Descriptor() ([]byte, []int)

func (*IPv4) Dst added in v0.4.3

func (i *IPv4) Dst() string

Dst returns the destination address of the audit record.

func (*IPv4) Encode added in v0.6.6

func (i *IPv4) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*IPv4) GetChecksum

func (m *IPv4) GetChecksum() int32

func (*IPv4) GetDstIP

func (m *IPv4) GetDstIP() string

func (*IPv4) GetDstPort added in v0.6.6

func (m *IPv4) GetDstPort() int32

func (*IPv4) GetFlags

func (m *IPv4) GetFlags() int32

func (*IPv4) GetFragOffset

func (m *IPv4) GetFragOffset() int32

func (*IPv4) GetIHL

func (m *IPv4) GetIHL() int32

func (*IPv4) GetId

func (m *IPv4) GetId() int32

func (*IPv4) GetLength

func (m *IPv4) GetLength() int32

func (*IPv4) GetOptions

func (m *IPv4) GetOptions() []*IPv4Option

func (*IPv4) GetPadding

func (m *IPv4) GetPadding() []byte

func (*IPv4) GetPayloadEntropy

func (m *IPv4) GetPayloadEntropy() float64

func (*IPv4) GetPayloadSize

func (m *IPv4) GetPayloadSize() int32

func (*IPv4) GetProtocol

func (m *IPv4) GetProtocol() int32

func (*IPv4) GetSrcIP

func (m *IPv4) GetSrcIP() string

func (*IPv4) GetSrcPort added in v0.6.6

func (m *IPv4) GetSrcPort() int32

func (*IPv4) GetTOS

func (m *IPv4) GetTOS() int32

func (*IPv4) GetTTL

func (m *IPv4) GetTTL() int32

func (*IPv4) GetTimestamp

func (m *IPv4) GetTimestamp() int64

func (*IPv4) GetVersion

func (m *IPv4) GetVersion() int32

func (*IPv4) Inc added in v0.4.0

func (i *IPv4) Inc()

Inc increments the metrics for the audit record.

func (*IPv4) JSON added in v0.4.0

func (i *IPv4) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*IPv4) Marshal added in v0.3.9

func (m *IPv4) Marshal() (dAtA []byte, err error)

func (*IPv4) MarshalTo added in v0.3.9

func (m *IPv4) MarshalTo(dAtA []byte) (int, error)

func (*IPv4) MarshalToSizedBuffer added in v0.6.6

func (m *IPv4) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPv4) NetcapType added in v0.6.6

func (i *IPv4) NetcapType() Type

NetcapType returns the type of the current audit record

func (*IPv4) ProtoMessage

func (*IPv4) ProtoMessage()

func (*IPv4) Reset

func (m *IPv4) Reset()

func (*IPv4) SetPacketContext added in v0.4.2

func (i *IPv4) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*IPv4) Size added in v0.3.9

func (m *IPv4) Size() (n int)

func (*IPv4) Src added in v0.4.3

func (i *IPv4) Src() string

Src returns the source address of the audit record.

func (*IPv4) String

func (m *IPv4) String() string

func (*IPv4) Time added in v0.4.3

func (i *IPv4) Time() int64

Time returns the timestamp associated with the audit record.

func (*IPv4) Unmarshal added in v0.3.9

func (m *IPv4) Unmarshal(dAtA []byte) error

func (*IPv4) XXX_DiscardUnknown

func (m *IPv4) XXX_DiscardUnknown()

func (*IPv4) XXX_Marshal

func (m *IPv4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPv4) XXX_Merge

func (m *IPv4) XXX_Merge(src proto.Message)

func (*IPv4) XXX_Size

func (m *IPv4) XXX_Size() int

func (*IPv4) XXX_Unmarshal

func (m *IPv4) XXX_Unmarshal(b []byte) error

type IPv4Option

type IPv4Option struct {
	OptionType   int32  `protobuf:"varint,1,opt,name=OptionType,proto3" json:"OptionType,omitempty"`
	OptionLength int32  `protobuf:"varint,2,opt,name=OptionLength,proto3" json:"OptionLength,omitempty"`
	OptionData   []byte `protobuf:"bytes,3,opt,name=OptionData,proto3" json:"OptionData,omitempty"`
}

func (*IPv4Option) Descriptor

func (*IPv4Option) Descriptor() ([]byte, []int)

func (*IPv4Option) GetOptionData

func (m *IPv4Option) GetOptionData() []byte

func (*IPv4Option) GetOptionLength

func (m *IPv4Option) GetOptionLength() int32

func (*IPv4Option) GetOptionType

func (m *IPv4Option) GetOptionType() int32

func (*IPv4Option) Marshal added in v0.3.9

func (m *IPv4Option) Marshal() (dAtA []byte, err error)

func (*IPv4Option) MarshalTo added in v0.3.9

func (m *IPv4Option) MarshalTo(dAtA []byte) (int, error)

func (*IPv4Option) MarshalToSizedBuffer added in v0.6.6

func (m *IPv4Option) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPv4Option) ProtoMessage

func (*IPv4Option) ProtoMessage()

func (*IPv4Option) Reset

func (m *IPv4Option) Reset()

func (*IPv4Option) Size added in v0.3.9

func (m *IPv4Option) Size() (n int)

func (*IPv4Option) String

func (m *IPv4Option) String() string

func (*IPv4Option) Unmarshal added in v0.3.9

func (m *IPv4Option) Unmarshal(dAtA []byte) error

func (*IPv4Option) XXX_DiscardUnknown

func (m *IPv4Option) XXX_DiscardUnknown()

func (*IPv4Option) XXX_Marshal

func (m *IPv4Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPv4Option) XXX_Merge

func (m *IPv4Option) XXX_Merge(src proto.Message)

func (*IPv4Option) XXX_Size

func (m *IPv4Option) XXX_Size() int

func (*IPv4Option) XXX_Unmarshal

func (m *IPv4Option) XXX_Unmarshal(b []byte) error

type IPv6

type IPv6 struct {
	Timestamp      int64         `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Version        int32         `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	TrafficClass   int32         `protobuf:"varint,3,opt,name=TrafficClass,proto3" json:"TrafficClass,omitempty"`
	FlowLabel      uint32        `protobuf:"varint,4,opt,name=FlowLabel,proto3" json:"FlowLabel,omitempty"`
	Length         int32         `protobuf:"varint,5,opt,name=Length,proto3" json:"Length,omitempty"`
	NextHeader     int32         `protobuf:"varint,6,opt,name=NextHeader,proto3" json:"NextHeader,omitempty"`
	HopLimit       int32         `protobuf:"varint,7,opt,name=HopLimit,proto3" json:"HopLimit,omitempty"`
	SrcIP          string        `protobuf:"bytes,8,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP          string        `protobuf:"bytes,9,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	PayloadEntropy float64       `protobuf:"fixed64,10,opt,name=PayloadEntropy,proto3" json:"PayloadEntropy,omitempty"`
	PayloadSize    int32         `protobuf:"varint,11,opt,name=PayloadSize,proto3" json:"PayloadSize,omitempty"`
	HopByHop       *IPv6HopByHop `protobuf:"bytes,12,opt,name=HopByHop,proto3" json:"HopByHop,omitempty"`
	SrcPort        int32         `protobuf:"varint,13,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort        int32         `protobuf:"varint,14,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

Internet Protocol version 6 (IPv6) is the most recent version of the Internet Protocol (IP), the communications protocol that provides an identification and location system for computers on networks and routes traffic across the Internet. IPv6 was developed by the Internet Engineering Task Force (IETF) to deal with the long-anticipated problem of IPv4 address exhaustion. IPv6 is intended to replace IPv4.

func (*IPv6) Analyze added in v0.6.6

func (i *IPv6) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*IPv6) CSVHeader

func (i *IPv6) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*IPv6) CSVRecord

func (i *IPv6) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*IPv6) Descriptor

func (*IPv6) Descriptor() ([]byte, []int)

func (*IPv6) Dst added in v0.4.3

func (i *IPv6) Dst() string

Dst returns the destination address of the audit record.

func (*IPv6) Encode added in v0.6.6

func (i *IPv6) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*IPv6) GetDstIP

func (m *IPv6) GetDstIP() string

func (*IPv6) GetDstPort added in v0.6.6

func (m *IPv6) GetDstPort() int32

func (*IPv6) GetFlowLabel

func (m *IPv6) GetFlowLabel() uint32

func (*IPv6) GetHopByHop

func (m *IPv6) GetHopByHop() *IPv6HopByHop

func (*IPv6) GetHopLimit

func (m *IPv6) GetHopLimit() int32

func (*IPv6) GetLength

func (m *IPv6) GetLength() int32

func (*IPv6) GetNextHeader

func (m *IPv6) GetNextHeader() int32

func (*IPv6) GetPayloadEntropy

func (m *IPv6) GetPayloadEntropy() float64

func (*IPv6) GetPayloadSize

func (m *IPv6) GetPayloadSize() int32

func (*IPv6) GetSrcIP

func (m *IPv6) GetSrcIP() string

func (*IPv6) GetSrcPort added in v0.6.6

func (m *IPv6) GetSrcPort() int32

func (*IPv6) GetTimestamp

func (m *IPv6) GetTimestamp() int64

func (*IPv6) GetTrafficClass

func (m *IPv6) GetTrafficClass() int32

func (*IPv6) GetVersion

func (m *IPv6) GetVersion() int32

func (*IPv6) Inc added in v0.4.0

func (i *IPv6) Inc()

Inc increments the metrics for the audit record.

func (*IPv6) JSON added in v0.4.0

func (i *IPv6) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*IPv6) Marshal added in v0.3.9

func (m *IPv6) Marshal() (dAtA []byte, err error)

func (*IPv6) MarshalTo added in v0.3.9

func (m *IPv6) MarshalTo(dAtA []byte) (int, error)

func (*IPv6) MarshalToSizedBuffer added in v0.6.6

func (m *IPv6) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPv6) NetcapType added in v0.6.6

func (i *IPv6) NetcapType() Type

NetcapType returns the type of the current audit record

func (*IPv6) ProtoMessage

func (*IPv6) ProtoMessage()

func (*IPv6) Reset

func (m *IPv6) Reset()

func (*IPv6) SetPacketContext added in v0.4.2

func (i *IPv6) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*IPv6) Size added in v0.3.9

func (m *IPv6) Size() (n int)

func (*IPv6) Src added in v0.4.3

func (i *IPv6) Src() string

Src returns the source address of the audit record.

func (*IPv6) String

func (m *IPv6) String() string

func (*IPv6) Time added in v0.4.3

func (i *IPv6) Time() int64

Time returns the timestamp associated with the audit record.

func (*IPv6) Unmarshal added in v0.3.9

func (m *IPv6) Unmarshal(dAtA []byte) error

func (*IPv6) XXX_DiscardUnknown

func (m *IPv6) XXX_DiscardUnknown()

func (*IPv6) XXX_Marshal

func (m *IPv6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPv6) XXX_Merge

func (m *IPv6) XXX_Merge(src proto.Message)

func (*IPv6) XXX_Size

func (m *IPv6) XXX_Size() int

func (*IPv6) XXX_Unmarshal

func (m *IPv6) XXX_Unmarshal(b []byte) error

type IPv6Fragment added in v0.3.7

type IPv6Fragment struct {
	Timestamp      int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	NextHeader     int32  `protobuf:"varint,2,opt,name=NextHeader,proto3" json:"NextHeader,omitempty"`
	Reserved1      int32  `protobuf:"varint,3,opt,name=Reserved1,proto3" json:"Reserved1,omitempty"`
	FragmentOffset int32  `protobuf:"varint,4,opt,name=FragmentOffset,proto3" json:"FragmentOffset,omitempty"`
	Reserved2      int32  `protobuf:"varint,5,opt,name=Reserved2,proto3" json:"Reserved2,omitempty"`
	MoreFragments  bool   `protobuf:"varint,6,opt,name=MoreFragments,proto3" json:"MoreFragments,omitempty"`
	Identification uint32 `protobuf:"varint,7,opt,name=Identification,proto3" json:"Identification,omitempty"`
	SrcPort        int32  `protobuf:"varint,8,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort        int32  `protobuf:"varint,9,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
	SrcIP          string `protobuf:"bytes,10,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP          string `protobuf:"bytes,11,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*IPv6Fragment) Analyze added in v0.6.6

func (a *IPv6Fragment) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*IPv6Fragment) CSVHeader added in v0.3.7

func (a *IPv6Fragment) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*IPv6Fragment) CSVRecord added in v0.3.7

func (a *IPv6Fragment) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*IPv6Fragment) Descriptor added in v0.3.7

func (*IPv6Fragment) Descriptor() ([]byte, []int)

func (*IPv6Fragment) Dst added in v0.4.3

func (a *IPv6Fragment) Dst() string

Dst returns the destination address of the audit record.

func (*IPv6Fragment) Encode added in v0.6.6

func (a *IPv6Fragment) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*IPv6Fragment) GetDstIP added in v0.6.6

func (m *IPv6Fragment) GetDstIP() string

func (*IPv6Fragment) GetDstPort added in v0.6.6

func (m *IPv6Fragment) GetDstPort() int32

func (*IPv6Fragment) GetFragmentOffset added in v0.3.7

func (m *IPv6Fragment) GetFragmentOffset() int32

func (*IPv6Fragment) GetIdentification added in v0.3.7

func (m *IPv6Fragment) GetIdentification() uint32

func (*IPv6Fragment) GetMoreFragments added in v0.3.7

func (m *IPv6Fragment) GetMoreFragments() bool

func (*IPv6Fragment) GetNextHeader added in v0.3.7

func (m *IPv6Fragment) GetNextHeader() int32

func (*IPv6Fragment) GetReserved1 added in v0.3.7

func (m *IPv6Fragment) GetReserved1() int32

func (*IPv6Fragment) GetReserved2 added in v0.3.7

func (m *IPv6Fragment) GetReserved2() int32

func (*IPv6Fragment) GetSrcIP added in v0.6.6

func (m *IPv6Fragment) GetSrcIP() string

func (*IPv6Fragment) GetSrcPort added in v0.6.6

func (m *IPv6Fragment) GetSrcPort() int32

func (*IPv6Fragment) GetTimestamp added in v0.3.7

func (m *IPv6Fragment) GetTimestamp() int64

func (*IPv6Fragment) Inc added in v0.4.0

func (a *IPv6Fragment) Inc()

Inc increments the metrics for the audit record.

func (*IPv6Fragment) JSON added in v0.4.0

func (a *IPv6Fragment) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*IPv6Fragment) Marshal added in v0.3.9

func (m *IPv6Fragment) Marshal() (dAtA []byte, err error)

func (*IPv6Fragment) MarshalTo added in v0.3.9

func (m *IPv6Fragment) MarshalTo(dAtA []byte) (int, error)

func (*IPv6Fragment) MarshalToSizedBuffer added in v0.6.6

func (m *IPv6Fragment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPv6Fragment) NetcapType added in v0.6.6

func (a *IPv6Fragment) NetcapType() Type

NetcapType returns the type of the current audit record

func (*IPv6Fragment) ProtoMessage added in v0.3.7

func (*IPv6Fragment) ProtoMessage()

func (*IPv6Fragment) Reset added in v0.3.7

func (m *IPv6Fragment) Reset()

func (*IPv6Fragment) SetPacketContext added in v0.4.2

func (a *IPv6Fragment) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*IPv6Fragment) Size added in v0.3.9

func (m *IPv6Fragment) Size() (n int)

func (*IPv6Fragment) Src added in v0.4.3

func (a *IPv6Fragment) Src() string

Src returns the source address of the audit record.

func (*IPv6Fragment) String added in v0.3.7

func (m *IPv6Fragment) String() string

func (*IPv6Fragment) Time added in v0.4.3

func (a *IPv6Fragment) Time() int64

Time returns the timestamp associated with the audit record.

func (*IPv6Fragment) Unmarshal added in v0.3.9

func (m *IPv6Fragment) Unmarshal(dAtA []byte) error

func (*IPv6Fragment) XXX_DiscardUnknown added in v0.3.7

func (m *IPv6Fragment) XXX_DiscardUnknown()

func (*IPv6Fragment) XXX_Marshal added in v0.3.7

func (m *IPv6Fragment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPv6Fragment) XXX_Merge added in v0.3.7

func (m *IPv6Fragment) XXX_Merge(src proto.Message)

func (*IPv6Fragment) XXX_Size added in v0.3.7

func (m *IPv6Fragment) XXX_Size() int

func (*IPv6Fragment) XXX_Unmarshal added in v0.3.7

func (m *IPv6Fragment) XXX_Unmarshal(b []byte) error

type IPv6HopByHop

type IPv6HopByHop struct {
	Timestamp int64                 `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Options   []*IPv6HopByHopOption `protobuf:"bytes,2,rep,name=Options,proto3" json:"Options,omitempty"`
	SrcIP     string                `protobuf:"bytes,3,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP     string                `protobuf:"bytes,4,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*IPv6HopByHop) Analyze added in v0.6.6

func (l *IPv6HopByHop) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*IPv6HopByHop) CSVHeader

func (l *IPv6HopByHop) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*IPv6HopByHop) CSVRecord

func (l *IPv6HopByHop) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*IPv6HopByHop) Descriptor

func (*IPv6HopByHop) Descriptor() ([]byte, []int)

func (*IPv6HopByHop) Dst added in v0.4.3

func (l *IPv6HopByHop) Dst() string

Dst returns the destination address of the audit record.

func (*IPv6HopByHop) Encode added in v0.6.6

func (l *IPv6HopByHop) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*IPv6HopByHop) GetDstIP added in v0.6.6

func (m *IPv6HopByHop) GetDstIP() string

func (*IPv6HopByHop) GetOptions

func (m *IPv6HopByHop) GetOptions() []*IPv6HopByHopOption

func (*IPv6HopByHop) GetSrcIP added in v0.6.6

func (m *IPv6HopByHop) GetSrcIP() string

func (*IPv6HopByHop) GetTimestamp

func (m *IPv6HopByHop) GetTimestamp() int64

func (*IPv6HopByHop) Inc added in v0.4.0

func (l *IPv6HopByHop) Inc()

Inc increments the metrics for the audit record.

func (*IPv6HopByHop) JSON added in v0.4.0

func (l *IPv6HopByHop) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*IPv6HopByHop) Marshal added in v0.3.9

func (m *IPv6HopByHop) Marshal() (dAtA []byte, err error)

func (*IPv6HopByHop) MarshalTo added in v0.3.9

func (m *IPv6HopByHop) MarshalTo(dAtA []byte) (int, error)

func (*IPv6HopByHop) MarshalToSizedBuffer added in v0.6.6

func (m *IPv6HopByHop) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPv6HopByHop) NetcapType added in v0.6.6

func (l *IPv6HopByHop) NetcapType() Type

NetcapType returns the type of the current audit record

func (*IPv6HopByHop) ProtoMessage

func (*IPv6HopByHop) ProtoMessage()

func (*IPv6HopByHop) Reset

func (m *IPv6HopByHop) Reset()

func (*IPv6HopByHop) SetPacketContext added in v0.4.2

func (l *IPv6HopByHop) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*IPv6HopByHop) Size added in v0.3.9

func (m *IPv6HopByHop) Size() (n int)

func (*IPv6HopByHop) Src added in v0.4.3

func (l *IPv6HopByHop) Src() string

Src returns the source address of the audit record.

func (*IPv6HopByHop) String

func (m *IPv6HopByHop) String() string

func (*IPv6HopByHop) Time added in v0.4.3

func (l *IPv6HopByHop) Time() int64

Time returns the timestamp associated with the audit record.

func (*IPv6HopByHop) Unmarshal added in v0.3.9

func (m *IPv6HopByHop) Unmarshal(dAtA []byte) error

func (*IPv6HopByHop) XXX_DiscardUnknown

func (m *IPv6HopByHop) XXX_DiscardUnknown()

func (*IPv6HopByHop) XXX_Marshal

func (m *IPv6HopByHop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPv6HopByHop) XXX_Merge

func (m *IPv6HopByHop) XXX_Merge(src proto.Message)

func (*IPv6HopByHop) XXX_Size

func (m *IPv6HopByHop) XXX_Size() int

func (*IPv6HopByHop) XXX_Unmarshal

func (m *IPv6HopByHop) XXX_Unmarshal(b []byte) error

type IPv6HopByHopOption

type IPv6HopByHopOption struct {
	OptionType      int32                        `protobuf:"varint,1,opt,name=OptionType,proto3" json:"OptionType,omitempty"`
	OptionLength    int32                        `protobuf:"varint,2,opt,name=OptionLength,proto3" json:"OptionLength,omitempty"`
	ActualLength    int32                        `protobuf:"varint,3,opt,name=ActualLength,proto3" json:"ActualLength,omitempty"`
	OptionData      []byte                       `protobuf:"bytes,4,opt,name=OptionData,proto3" json:"OptionData,omitempty"`
	OptionAlignment *IPv6HopByHopOptionAlignment `protobuf:"bytes,5,opt,name=OptionAlignment,proto3" json:"OptionAlignment,omitempty"`
}

func (*IPv6HopByHopOption) Descriptor

func (*IPv6HopByHopOption) Descriptor() ([]byte, []int)

func (*IPv6HopByHopOption) GetActualLength

func (m *IPv6HopByHopOption) GetActualLength() int32

func (*IPv6HopByHopOption) GetOptionAlignment

func (m *IPv6HopByHopOption) GetOptionAlignment() *IPv6HopByHopOptionAlignment

func (*IPv6HopByHopOption) GetOptionData

func (m *IPv6HopByHopOption) GetOptionData() []byte

func (*IPv6HopByHopOption) GetOptionLength

func (m *IPv6HopByHopOption) GetOptionLength() int32

func (*IPv6HopByHopOption) GetOptionType

func (m *IPv6HopByHopOption) GetOptionType() int32

func (*IPv6HopByHopOption) Marshal added in v0.3.9

func (m *IPv6HopByHopOption) Marshal() (dAtA []byte, err error)

func (*IPv6HopByHopOption) MarshalTo added in v0.3.9

func (m *IPv6HopByHopOption) MarshalTo(dAtA []byte) (int, error)

func (*IPv6HopByHopOption) MarshalToSizedBuffer added in v0.6.6

func (m *IPv6HopByHopOption) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPv6HopByHopOption) ProtoMessage

func (*IPv6HopByHopOption) ProtoMessage()

func (*IPv6HopByHopOption) Reset

func (m *IPv6HopByHopOption) Reset()

func (*IPv6HopByHopOption) Size added in v0.3.9

func (m *IPv6HopByHopOption) Size() (n int)

func (*IPv6HopByHopOption) String

func (m *IPv6HopByHopOption) String() string

func (*IPv6HopByHopOption) Unmarshal added in v0.3.9

func (m *IPv6HopByHopOption) Unmarshal(dAtA []byte) error

func (*IPv6HopByHopOption) XXX_DiscardUnknown

func (m *IPv6HopByHopOption) XXX_DiscardUnknown()

func (*IPv6HopByHopOption) XXX_Marshal

func (m *IPv6HopByHopOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPv6HopByHopOption) XXX_Merge

func (m *IPv6HopByHopOption) XXX_Merge(src proto.Message)

func (*IPv6HopByHopOption) XXX_Size

func (m *IPv6HopByHopOption) XXX_Size() int

func (*IPv6HopByHopOption) XXX_Unmarshal

func (m *IPv6HopByHopOption) XXX_Unmarshal(b []byte) error

type IPv6HopByHopOptionAlignment

type IPv6HopByHopOptionAlignment struct {
	One int32 `protobuf:"varint,1,opt,name=One,proto3" json:"One,omitempty"`
	Two int32 `protobuf:"varint,2,opt,name=Two,proto3" json:"Two,omitempty"`
}

func (*IPv6HopByHopOptionAlignment) Descriptor

func (*IPv6HopByHopOptionAlignment) Descriptor() ([]byte, []int)

func (*IPv6HopByHopOptionAlignment) GetOne

func (m *IPv6HopByHopOptionAlignment) GetOne() int32

func (*IPv6HopByHopOptionAlignment) GetTwo

func (m *IPv6HopByHopOptionAlignment) GetTwo() int32

func (*IPv6HopByHopOptionAlignment) Marshal added in v0.3.9

func (m *IPv6HopByHopOptionAlignment) Marshal() (dAtA []byte, err error)

func (*IPv6HopByHopOptionAlignment) MarshalTo added in v0.3.9

func (m *IPv6HopByHopOptionAlignment) MarshalTo(dAtA []byte) (int, error)

func (*IPv6HopByHopOptionAlignment) MarshalToSizedBuffer added in v0.6.6

func (m *IPv6HopByHopOptionAlignment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPv6HopByHopOptionAlignment) ProtoMessage

func (*IPv6HopByHopOptionAlignment) ProtoMessage()

func (*IPv6HopByHopOptionAlignment) Reset

func (m *IPv6HopByHopOptionAlignment) Reset()

func (*IPv6HopByHopOptionAlignment) Size added in v0.3.9

func (m *IPv6HopByHopOptionAlignment) Size() (n int)

func (*IPv6HopByHopOptionAlignment) String

func (m *IPv6HopByHopOptionAlignment) String() string

func (*IPv6HopByHopOptionAlignment) Unmarshal added in v0.3.9

func (m *IPv6HopByHopOptionAlignment) Unmarshal(dAtA []byte) error

func (*IPv6HopByHopOptionAlignment) XXX_DiscardUnknown

func (m *IPv6HopByHopOptionAlignment) XXX_DiscardUnknown()

func (*IPv6HopByHopOptionAlignment) XXX_Marshal

func (m *IPv6HopByHopOptionAlignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPv6HopByHopOptionAlignment) XXX_Merge

func (m *IPv6HopByHopOptionAlignment) XXX_Merge(src proto.Message)

func (*IPv6HopByHopOptionAlignment) XXX_Size

func (m *IPv6HopByHopOptionAlignment) XXX_Size() int

func (*IPv6HopByHopOptionAlignment) XXX_Unmarshal

func (m *IPv6HopByHopOptionAlignment) XXX_Unmarshal(b []byte) error

type InterAreaPrefixLSA added in v0.3.9

type InterAreaPrefixLSA struct {
	Metric        uint32 `protobuf:"varint,1,opt,name=Metric,proto3" json:"Metric,omitempty"`
	PrefixLength  int32  `protobuf:"varint,2,opt,name=PrefixLength,proto3" json:"PrefixLength,omitempty"`
	PrefixOptions int32  `protobuf:"varint,3,opt,name=PrefixOptions,proto3" json:"PrefixOptions,omitempty"`
	AddressPrefix []byte `protobuf:"bytes,4,opt,name=AddressPrefix,proto3" json:"AddressPrefix,omitempty"`
}

func (*InterAreaPrefixLSA) Descriptor added in v0.3.9

func (*InterAreaPrefixLSA) Descriptor() ([]byte, []int)

func (*InterAreaPrefixLSA) GetAddressPrefix added in v0.3.9

func (m *InterAreaPrefixLSA) GetAddressPrefix() []byte

func (*InterAreaPrefixLSA) GetMetric added in v0.3.9

func (m *InterAreaPrefixLSA) GetMetric() uint32

func (*InterAreaPrefixLSA) GetPrefixLength added in v0.3.9

func (m *InterAreaPrefixLSA) GetPrefixLength() int32

func (*InterAreaPrefixLSA) GetPrefixOptions added in v0.3.9

func (m *InterAreaPrefixLSA) GetPrefixOptions() int32

func (*InterAreaPrefixLSA) Marshal added in v0.3.9

func (m *InterAreaPrefixLSA) Marshal() (dAtA []byte, err error)

func (*InterAreaPrefixLSA) MarshalTo added in v0.3.9

func (m *InterAreaPrefixLSA) MarshalTo(dAtA []byte) (int, error)

func (*InterAreaPrefixLSA) MarshalToSizedBuffer added in v0.6.6

func (m *InterAreaPrefixLSA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InterAreaPrefixLSA) ProtoMessage added in v0.3.9

func (*InterAreaPrefixLSA) ProtoMessage()

func (*InterAreaPrefixLSA) Reset added in v0.3.9

func (m *InterAreaPrefixLSA) Reset()

func (*InterAreaPrefixLSA) Size added in v0.3.9

func (m *InterAreaPrefixLSA) Size() (n int)

func (*InterAreaPrefixLSA) String added in v0.3.9

func (m *InterAreaPrefixLSA) String() string

func (*InterAreaPrefixLSA) Unmarshal added in v0.3.9

func (m *InterAreaPrefixLSA) Unmarshal(dAtA []byte) error

func (*InterAreaPrefixLSA) XXX_DiscardUnknown added in v0.3.9

func (m *InterAreaPrefixLSA) XXX_DiscardUnknown()

func (*InterAreaPrefixLSA) XXX_Marshal added in v0.3.9

func (m *InterAreaPrefixLSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterAreaPrefixLSA) XXX_Merge added in v0.3.9

func (m *InterAreaPrefixLSA) XXX_Merge(src proto.Message)

func (*InterAreaPrefixLSA) XXX_Size added in v0.3.9

func (m *InterAreaPrefixLSA) XXX_Size() int

func (*InterAreaPrefixLSA) XXX_Unmarshal added in v0.3.9

func (m *InterAreaPrefixLSA) XXX_Unmarshal(b []byte) error

type InterAreaRouterLSA added in v0.3.9

type InterAreaRouterLSA struct {
	Options             uint32 `protobuf:"varint,1,opt,name=Options,proto3" json:"Options,omitempty"`
	Metric              uint32 `protobuf:"varint,2,opt,name=Metric,proto3" json:"Metric,omitempty"`
	DestinationRouterID uint32 `protobuf:"varint,3,opt,name=DestinationRouterID,proto3" json:"DestinationRouterID,omitempty"`
}

func (*InterAreaRouterLSA) Descriptor added in v0.3.9

func (*InterAreaRouterLSA) Descriptor() ([]byte, []int)

func (*InterAreaRouterLSA) GetDestinationRouterID added in v0.3.9

func (m *InterAreaRouterLSA) GetDestinationRouterID() uint32

func (*InterAreaRouterLSA) GetMetric added in v0.3.9

func (m *InterAreaRouterLSA) GetMetric() uint32

func (*InterAreaRouterLSA) GetOptions added in v0.3.9

func (m *InterAreaRouterLSA) GetOptions() uint32

func (*InterAreaRouterLSA) Marshal added in v0.3.9

func (m *InterAreaRouterLSA) Marshal() (dAtA []byte, err error)

func (*InterAreaRouterLSA) MarshalTo added in v0.3.9

func (m *InterAreaRouterLSA) MarshalTo(dAtA []byte) (int, error)

func (*InterAreaRouterLSA) MarshalToSizedBuffer added in v0.6.6

func (m *InterAreaRouterLSA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InterAreaRouterLSA) ProtoMessage added in v0.3.9

func (*InterAreaRouterLSA) ProtoMessage()

func (*InterAreaRouterLSA) Reset added in v0.3.9

func (m *InterAreaRouterLSA) Reset()

func (*InterAreaRouterLSA) Size added in v0.3.9

func (m *InterAreaRouterLSA) Size() (n int)

func (*InterAreaRouterLSA) String added in v0.3.9

func (m *InterAreaRouterLSA) String() string

func (*InterAreaRouterLSA) Unmarshal added in v0.3.9

func (m *InterAreaRouterLSA) Unmarshal(dAtA []byte) error

func (*InterAreaRouterLSA) XXX_DiscardUnknown added in v0.3.9

func (m *InterAreaRouterLSA) XXX_DiscardUnknown()

func (*InterAreaRouterLSA) XXX_Marshal added in v0.3.9

func (m *InterAreaRouterLSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterAreaRouterLSA) XXX_Merge added in v0.3.9

func (m *InterAreaRouterLSA) XXX_Merge(src proto.Message)

func (*InterAreaRouterLSA) XXX_Size added in v0.3.9

func (m *InterAreaRouterLSA) XXX_Size() int

func (*InterAreaRouterLSA) XXX_Unmarshal added in v0.3.9

func (m *InterAreaRouterLSA) XXX_Unmarshal(b []byte) error

type IntraAreaPrefixLSA added in v0.3.9

type IntraAreaPrefixLSA struct {
	NumOfPrefixes  int32        `protobuf:"varint,1,opt,name=NumOfPrefixes,proto3" json:"NumOfPrefixes,omitempty"`
	RefLSType      int32        `protobuf:"varint,2,opt,name=RefLSType,proto3" json:"RefLSType,omitempty"`
	RefLinkStateID uint32       `protobuf:"varint,3,opt,name=RefLinkStateID,proto3" json:"RefLinkStateID,omitempty"`
	RefAdvRouter   uint32       `protobuf:"varint,4,opt,name=RefAdvRouter,proto3" json:"RefAdvRouter,omitempty"`
	Prefixes       []*LSAPrefix `protobuf:"bytes,5,rep,name=Prefixes,proto3" json:"Prefixes,omitempty"`
}

func (*IntraAreaPrefixLSA) Descriptor added in v0.3.9

func (*IntraAreaPrefixLSA) Descriptor() ([]byte, []int)

func (*IntraAreaPrefixLSA) GetNumOfPrefixes added in v0.3.9

func (m *IntraAreaPrefixLSA) GetNumOfPrefixes() int32

func (*IntraAreaPrefixLSA) GetPrefixes added in v0.3.9

func (m *IntraAreaPrefixLSA) GetPrefixes() []*LSAPrefix

func (*IntraAreaPrefixLSA) GetRefAdvRouter added in v0.3.9

func (m *IntraAreaPrefixLSA) GetRefAdvRouter() uint32

func (*IntraAreaPrefixLSA) GetRefLSType added in v0.3.9

func (m *IntraAreaPrefixLSA) GetRefLSType() int32

func (*IntraAreaPrefixLSA) GetRefLinkStateID added in v0.3.9

func (m *IntraAreaPrefixLSA) GetRefLinkStateID() uint32

func (*IntraAreaPrefixLSA) Marshal added in v0.3.9

func (m *IntraAreaPrefixLSA) Marshal() (dAtA []byte, err error)

func (*IntraAreaPrefixLSA) MarshalTo added in v0.3.9

func (m *IntraAreaPrefixLSA) MarshalTo(dAtA []byte) (int, error)

func (*IntraAreaPrefixLSA) MarshalToSizedBuffer added in v0.6.6

func (m *IntraAreaPrefixLSA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IntraAreaPrefixLSA) ProtoMessage added in v0.3.9

func (*IntraAreaPrefixLSA) ProtoMessage()

func (*IntraAreaPrefixLSA) Reset added in v0.3.9

func (m *IntraAreaPrefixLSA) Reset()

func (*IntraAreaPrefixLSA) Size added in v0.3.9

func (m *IntraAreaPrefixLSA) Size() (n int)

func (*IntraAreaPrefixLSA) String added in v0.3.9

func (m *IntraAreaPrefixLSA) String() string

func (*IntraAreaPrefixLSA) Unmarshal added in v0.3.9

func (m *IntraAreaPrefixLSA) Unmarshal(dAtA []byte) error

func (*IntraAreaPrefixLSA) XXX_DiscardUnknown added in v0.3.9

func (m *IntraAreaPrefixLSA) XXX_DiscardUnknown()

func (*IntraAreaPrefixLSA) XXX_Marshal added in v0.3.9

func (m *IntraAreaPrefixLSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IntraAreaPrefixLSA) XXX_Merge added in v0.3.9

func (m *IntraAreaPrefixLSA) XXX_Merge(src proto.Message)

func (*IntraAreaPrefixLSA) XXX_Size added in v0.3.9

func (m *IntraAreaPrefixLSA) XXX_Size() int

func (*IntraAreaPrefixLSA) XXX_Unmarshal added in v0.3.9

func (m *IntraAreaPrefixLSA) XXX_Unmarshal(b []byte) error

type LCM added in v0.3.7

type LCM struct {
	Timestamp      int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Magic          int32  `protobuf:"varint,2,opt,name=Magic,proto3" json:"Magic,omitempty"`
	SequenceNumber int32  `protobuf:"varint,3,opt,name=SequenceNumber,proto3" json:"SequenceNumber,omitempty"`
	PayloadSize    int32  `protobuf:"varint,4,opt,name=PayloadSize,proto3" json:"PayloadSize,omitempty"`
	FragmentOffset int32  `protobuf:"varint,5,opt,name=FragmentOffset,proto3" json:"FragmentOffset,omitempty"`
	FragmentNumber int32  `protobuf:"varint,6,opt,name=FragmentNumber,proto3" json:"FragmentNumber,omitempty"`
	TotalFragments int32  `protobuf:"varint,7,opt,name=TotalFragments,proto3" json:"TotalFragments,omitempty"`
	ChannelName    string `protobuf:"bytes,8,opt,name=ChannelName,proto3" json:"ChannelName,omitempty"`
	Fragmented     bool   `protobuf:"varint,9,opt,name=Fragmented,proto3" json:"Fragmented,omitempty"`
	SrcIP          string `protobuf:"bytes,10,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP          string `protobuf:"bytes,11,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort        int32  `protobuf:"varint,12,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort        int32  `protobuf:"varint,13,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

LCM (Lightweight Communications and Marshalling) is a set of libraries and tools for message passing and data marshalling, targeted at real-time systems where high-bandwidth and low latency are critical. It provides a publish/subscribe message passing model and automatic marshalling/unmarshalling code generation with bindings for applications in a variety of programming languages. References https://lcm-proj.github.io/ https://github.com/lcm-proj/lcm

func (*LCM) Analyze added in v0.6.6

func (a *LCM) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*LCM) CSVHeader added in v0.3.7

func (a *LCM) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*LCM) CSVRecord added in v0.3.7

func (a *LCM) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*LCM) Descriptor added in v0.3.7

func (*LCM) Descriptor() ([]byte, []int)

func (*LCM) Dst added in v0.4.3

func (a *LCM) Dst() string

Dst returns the destination address of the audit record.

func (*LCM) Encode added in v0.6.6

func (a *LCM) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*LCM) GetChannelName added in v0.3.7

func (m *LCM) GetChannelName() string

func (*LCM) GetDstIP added in v0.6.6

func (m *LCM) GetDstIP() string

func (*LCM) GetDstPort added in v0.6.6

func (m *LCM) GetDstPort() int32

func (*LCM) GetFragmentNumber added in v0.3.7

func (m *LCM) GetFragmentNumber() int32

func (*LCM) GetFragmentOffset added in v0.3.7

func (m *LCM) GetFragmentOffset() int32

func (*LCM) GetFragmented added in v0.3.7

func (m *LCM) GetFragmented() bool

func (*LCM) GetMagic added in v0.3.7

func (m *LCM) GetMagic() int32

func (*LCM) GetPayloadSize added in v0.3.7

func (m *LCM) GetPayloadSize() int32

func (*LCM) GetSequenceNumber added in v0.3.7

func (m *LCM) GetSequenceNumber() int32

func (*LCM) GetSrcIP added in v0.6.6

func (m *LCM) GetSrcIP() string

func (*LCM) GetSrcPort added in v0.6.6

func (m *LCM) GetSrcPort() int32

func (*LCM) GetTimestamp added in v0.3.7

func (m *LCM) GetTimestamp() int64

func (*LCM) GetTotalFragments added in v0.3.7

func (m *LCM) GetTotalFragments() int32

func (*LCM) Inc added in v0.4.0

func (a *LCM) Inc()

Inc increments the metrics for the audit record.

func (*LCM) JSON added in v0.4.0

func (a *LCM) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*LCM) Marshal added in v0.3.9

func (m *LCM) Marshal() (dAtA []byte, err error)

func (*LCM) MarshalTo added in v0.3.9

func (m *LCM) MarshalTo(dAtA []byte) (int, error)

func (*LCM) MarshalToSizedBuffer added in v0.6.6

func (m *LCM) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LCM) NetcapType added in v0.6.6

func (a *LCM) NetcapType() Type

NetcapType returns the type of the current audit record

func (*LCM) ProtoMessage added in v0.3.7

func (*LCM) ProtoMessage()

func (*LCM) Reset added in v0.3.7

func (m *LCM) Reset()

func (*LCM) SetPacketContext added in v0.4.2

func (a *LCM) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*LCM) Size added in v0.3.9

func (m *LCM) Size() (n int)

func (*LCM) Src added in v0.4.3

func (a *LCM) Src() string

Src returns the source address of the audit record.

func (*LCM) String added in v0.3.7

func (m *LCM) String() string

func (*LCM) Time added in v0.4.3

func (a *LCM) Time() int64

Time returns the timestamp associated with the audit record.

func (*LCM) Unmarshal added in v0.3.9

func (m *LCM) Unmarshal(dAtA []byte) error

func (*LCM) XXX_DiscardUnknown added in v0.3.7

func (m *LCM) XXX_DiscardUnknown()

func (*LCM) XXX_Marshal added in v0.3.7

func (m *LCM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LCM) XXX_Merge added in v0.3.7

func (m *LCM) XXX_Merge(src proto.Message)

func (*LCM) XXX_Size added in v0.3.7

func (m *LCM) XXX_Size() int

func (*LCM) XXX_Unmarshal added in v0.3.7

func (m *LCM) XXX_Unmarshal(b []byte) error

type LLC

type LLC struct {
	Timestamp int64 `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	DSAP      int32 `protobuf:"varint,2,opt,name=DSAP,proto3" json:"DSAP,omitempty"`
	IG        bool  `protobuf:"varint,3,opt,name=IG,proto3" json:"IG,omitempty"`
	SSAP      int32 `protobuf:"varint,4,opt,name=SSAP,proto3" json:"SSAP,omitempty"`
	CR        bool  `protobuf:"varint,5,opt,name=CR,proto3" json:"CR,omitempty"`
	Control   int32 `protobuf:"varint,6,opt,name=Control,proto3" json:"Control,omitempty"`
}

LLC is the layer used for 802.2 Logical Link Control headers. See http://standards.ieee.org/getieee802/download/802.2-1998.pdf

func (*LLC) Analyze added in v0.6.6

func (l *LLC) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*LLC) CSVHeader

func (l *LLC) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*LLC) CSVRecord

func (l *LLC) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*LLC) Descriptor

func (*LLC) Descriptor() ([]byte, []int)

func (*LLC) Dst added in v0.4.3

func (l *LLC) Dst() string

Dst returns the destination address of the audit record.

func (*LLC) Encode added in v0.6.6

func (l *LLC) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*LLC) GetCR

func (m *LLC) GetCR() bool

func (*LLC) GetControl

func (m *LLC) GetControl() int32

func (*LLC) GetDSAP

func (m *LLC) GetDSAP() int32

func (*LLC) GetIG

func (m *LLC) GetIG() bool

func (*LLC) GetSSAP

func (m *LLC) GetSSAP() int32

func (*LLC) GetTimestamp

func (m *LLC) GetTimestamp() int64

func (*LLC) Inc added in v0.4.0

func (l *LLC) Inc()

Inc increments the metrics for the audit record.

func (*LLC) JSON added in v0.4.0

func (l *LLC) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*LLC) Marshal added in v0.3.9

func (m *LLC) Marshal() (dAtA []byte, err error)

func (*LLC) MarshalTo added in v0.3.9

func (m *LLC) MarshalTo(dAtA []byte) (int, error)

func (*LLC) MarshalToSizedBuffer added in v0.6.6

func (m *LLC) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LLC) NetcapType added in v0.6.6

func (l *LLC) NetcapType() Type

NetcapType returns the type of the current audit record

func (*LLC) ProtoMessage

func (*LLC) ProtoMessage()

func (*LLC) Reset

func (m *LLC) Reset()

func (*LLC) SetPacketContext added in v0.4.2

func (l *LLC) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*LLC) Size added in v0.3.9

func (m *LLC) Size() (n int)

func (*LLC) Src added in v0.4.3

func (l *LLC) Src() string

Src TODO. Src returns the source address of the audit record.

func (*LLC) String

func (m *LLC) String() string

func (*LLC) Time added in v0.4.3

func (l *LLC) Time() int64

Time returns the timestamp associated with the audit record.

func (*LLC) Unmarshal added in v0.3.9

func (m *LLC) Unmarshal(dAtA []byte) error

func (*LLC) XXX_DiscardUnknown

func (m *LLC) XXX_DiscardUnknown()

func (*LLC) XXX_Marshal

func (m *LLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LLC) XXX_Merge

func (m *LLC) XXX_Merge(src proto.Message)

func (*LLC) XXX_Size

func (m *LLC) XXX_Size() int

func (*LLC) XXX_Unmarshal

func (m *LLC) XXX_Unmarshal(b []byte) error

type LLDPCapabilities

type LLDPCapabilities struct {
	Other       bool `protobuf:"varint,1,opt,name=Other,proto3" json:"Other,omitempty"`
	Repeater    bool `protobuf:"varint,2,opt,name=Repeater,proto3" json:"Repeater,omitempty"`
	Bridge      bool `protobuf:"varint,3,opt,name=Bridge,proto3" json:"Bridge,omitempty"`
	WLANAP      bool `protobuf:"varint,4,opt,name=WLANAP,proto3" json:"WLANAP,omitempty"`
	Router      bool `protobuf:"varint,5,opt,name=Router,proto3" json:"Router,omitempty"`
	Phone       bool `protobuf:"varint,6,opt,name=Phone,proto3" json:"Phone,omitempty"`
	DocSis      bool `protobuf:"varint,7,opt,name=DocSis,proto3" json:"DocSis,omitempty"`
	StationOnly bool `protobuf:"varint,8,opt,name=StationOnly,proto3" json:"StationOnly,omitempty"`
	CVLAN       bool `protobuf:"varint,9,opt,name=CVLAN,proto3" json:"CVLAN,omitempty"`
	SVLAN       bool `protobuf:"varint,10,opt,name=SVLAN,proto3" json:"SVLAN,omitempty"`
	TMPR        bool `protobuf:"varint,11,opt,name=TMPR,proto3" json:"TMPR,omitempty"`
}

func (*LLDPCapabilities) Descriptor

func (*LLDPCapabilities) Descriptor() ([]byte, []int)

func (*LLDPCapabilities) GetBridge

func (m *LLDPCapabilities) GetBridge() bool

func (*LLDPCapabilities) GetCVLAN

func (m *LLDPCapabilities) GetCVLAN() bool

func (*LLDPCapabilities) GetDocSis

func (m *LLDPCapabilities) GetDocSis() bool

func (*LLDPCapabilities) GetOther

func (m *LLDPCapabilities) GetOther() bool

func (*LLDPCapabilities) GetPhone

func (m *LLDPCapabilities) GetPhone() bool

func (*LLDPCapabilities) GetRepeater

func (m *LLDPCapabilities) GetRepeater() bool

func (*LLDPCapabilities) GetRouter

func (m *LLDPCapabilities) GetRouter() bool

func (*LLDPCapabilities) GetSVLAN

func (m *LLDPCapabilities) GetSVLAN() bool

func (*LLDPCapabilities) GetStationOnly

func (m *LLDPCapabilities) GetStationOnly() bool

func (*LLDPCapabilities) GetTMPR

func (m *LLDPCapabilities) GetTMPR() bool

func (*LLDPCapabilities) GetWLANAP

func (m *LLDPCapabilities) GetWLANAP() bool

func (*LLDPCapabilities) Marshal added in v0.3.9

func (m *LLDPCapabilities) Marshal() (dAtA []byte, err error)

func (*LLDPCapabilities) MarshalTo added in v0.3.9

func (m *LLDPCapabilities) MarshalTo(dAtA []byte) (int, error)

func (*LLDPCapabilities) MarshalToSizedBuffer added in v0.6.6

func (m *LLDPCapabilities) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LLDPCapabilities) ProtoMessage

func (*LLDPCapabilities) ProtoMessage()

func (*LLDPCapabilities) Reset

func (m *LLDPCapabilities) Reset()

func (*LLDPCapabilities) Size added in v0.3.9

func (m *LLDPCapabilities) Size() (n int)

func (*LLDPCapabilities) String

func (m *LLDPCapabilities) String() string

func (*LLDPCapabilities) Unmarshal added in v0.3.9

func (m *LLDPCapabilities) Unmarshal(dAtA []byte) error

func (*LLDPCapabilities) XXX_DiscardUnknown

func (m *LLDPCapabilities) XXX_DiscardUnknown()

func (*LLDPCapabilities) XXX_Marshal

func (m *LLDPCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LLDPCapabilities) XXX_Merge

func (m *LLDPCapabilities) XXX_Merge(src proto.Message)

func (*LLDPCapabilities) XXX_Size

func (m *LLDPCapabilities) XXX_Size() int

func (*LLDPCapabilities) XXX_Unmarshal

func (m *LLDPCapabilities) XXX_Unmarshal(b []byte) error

type LLDPChassisID

type LLDPChassisID struct {
	Subtype int32  `protobuf:"varint,1,opt,name=Subtype,proto3" json:"Subtype,omitempty"`
	ID      []byte `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*LLDPChassisID) Descriptor

func (*LLDPChassisID) Descriptor() ([]byte, []int)

func (*LLDPChassisID) GetID

func (m *LLDPChassisID) GetID() []byte

func (*LLDPChassisID) GetSubtype

func (m *LLDPChassisID) GetSubtype() int32

func (*LLDPChassisID) Marshal added in v0.3.9

func (m *LLDPChassisID) Marshal() (dAtA []byte, err error)

func (*LLDPChassisID) MarshalTo added in v0.3.9

func (m *LLDPChassisID) MarshalTo(dAtA []byte) (int, error)

func (*LLDPChassisID) MarshalToSizedBuffer added in v0.6.6

func (m *LLDPChassisID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LLDPChassisID) ProtoMessage

func (*LLDPChassisID) ProtoMessage()

func (*LLDPChassisID) Reset

func (m *LLDPChassisID) Reset()

func (*LLDPChassisID) Size added in v0.3.9

func (m *LLDPChassisID) Size() (n int)

func (*LLDPChassisID) String

func (m *LLDPChassisID) String() string

func (*LLDPChassisID) Unmarshal added in v0.3.9

func (m *LLDPChassisID) Unmarshal(dAtA []byte) error

func (*LLDPChassisID) XXX_DiscardUnknown

func (m *LLDPChassisID) XXX_DiscardUnknown()

func (*LLDPChassisID) XXX_Marshal

func (m *LLDPChassisID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LLDPChassisID) XXX_Merge

func (m *LLDPChassisID) XXX_Merge(src proto.Message)

func (*LLDPChassisID) XXX_Size

func (m *LLDPChassisID) XXX_Size() int

func (*LLDPChassisID) XXX_Unmarshal

func (m *LLDPChassisID) XXX_Unmarshal(b []byte) error

type LLDPMgmtAddress

type LLDPMgmtAddress struct {
	Subtype          int32  `protobuf:"varint,1,opt,name=Subtype,proto3" json:"Subtype,omitempty"`
	Address          []byte `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"`
	InterfaceSubtype int32  `protobuf:"varint,3,opt,name=InterfaceSubtype,proto3" json:"InterfaceSubtype,omitempty"`
	InterfaceNumber  uint32 `protobuf:"varint,4,opt,name=InterfaceNumber,proto3" json:"InterfaceNumber,omitempty"`
	OID              string `protobuf:"bytes,5,opt,name=OID,proto3" json:"OID,omitempty"`
}

func (*LLDPMgmtAddress) Descriptor

func (*LLDPMgmtAddress) Descriptor() ([]byte, []int)

func (*LLDPMgmtAddress) GetAddress

func (m *LLDPMgmtAddress) GetAddress() []byte

func (*LLDPMgmtAddress) GetInterfaceNumber

func (m *LLDPMgmtAddress) GetInterfaceNumber() uint32

func (*LLDPMgmtAddress) GetInterfaceSubtype

func (m *LLDPMgmtAddress) GetInterfaceSubtype() int32

func (*LLDPMgmtAddress) GetOID

func (m *LLDPMgmtAddress) GetOID() string

func (*LLDPMgmtAddress) GetSubtype

func (m *LLDPMgmtAddress) GetSubtype() int32

func (*LLDPMgmtAddress) Marshal added in v0.3.9

func (m *LLDPMgmtAddress) Marshal() (dAtA []byte, err error)

func (*LLDPMgmtAddress) MarshalTo added in v0.3.9

func (m *LLDPMgmtAddress) MarshalTo(dAtA []byte) (int, error)

func (*LLDPMgmtAddress) MarshalToSizedBuffer added in v0.6.6

func (m *LLDPMgmtAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LLDPMgmtAddress) ProtoMessage

func (*LLDPMgmtAddress) ProtoMessage()

func (*LLDPMgmtAddress) Reset

func (m *LLDPMgmtAddress) Reset()

func (*LLDPMgmtAddress) Size added in v0.3.9

func (m *LLDPMgmtAddress) Size() (n int)

func (*LLDPMgmtAddress) String

func (m *LLDPMgmtAddress) String() string

func (*LLDPMgmtAddress) Unmarshal added in v0.3.9

func (m *LLDPMgmtAddress) Unmarshal(dAtA []byte) error

func (*LLDPMgmtAddress) XXX_DiscardUnknown

func (m *LLDPMgmtAddress) XXX_DiscardUnknown()

func (*LLDPMgmtAddress) XXX_Marshal

func (m *LLDPMgmtAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LLDPMgmtAddress) XXX_Merge

func (m *LLDPMgmtAddress) XXX_Merge(src proto.Message)

func (*LLDPMgmtAddress) XXX_Size

func (m *LLDPMgmtAddress) XXX_Size() int

func (*LLDPMgmtAddress) XXX_Unmarshal

func (m *LLDPMgmtAddress) XXX_Unmarshal(b []byte) error

type LLDPOrgSpecificTLV

type LLDPOrgSpecificTLV struct {
	OUI     uint32 `protobuf:"varint,1,opt,name=OUI,proto3" json:"OUI,omitempty"`
	SubType int32  `protobuf:"varint,2,opt,name=SubType,proto3" json:"SubType,omitempty"`
	Info    []byte `protobuf:"bytes,3,opt,name=Info,proto3" json:"Info,omitempty"`
}

func (*LLDPOrgSpecificTLV) Descriptor

func (*LLDPOrgSpecificTLV) Descriptor() ([]byte, []int)

func (*LLDPOrgSpecificTLV) GetInfo

func (m *LLDPOrgSpecificTLV) GetInfo() []byte

func (*LLDPOrgSpecificTLV) GetOUI

func (m *LLDPOrgSpecificTLV) GetOUI() uint32

func (*LLDPOrgSpecificTLV) GetSubType

func (m *LLDPOrgSpecificTLV) GetSubType() int32

func (*LLDPOrgSpecificTLV) Marshal added in v0.3.9

func (m *LLDPOrgSpecificTLV) Marshal() (dAtA []byte, err error)

func (*LLDPOrgSpecificTLV) MarshalTo added in v0.3.9

func (m *LLDPOrgSpecificTLV) MarshalTo(dAtA []byte) (int, error)

func (*LLDPOrgSpecificTLV) MarshalToSizedBuffer added in v0.6.6

func (m *LLDPOrgSpecificTLV) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LLDPOrgSpecificTLV) ProtoMessage

func (*LLDPOrgSpecificTLV) ProtoMessage()

func (*LLDPOrgSpecificTLV) Reset

func (m *LLDPOrgSpecificTLV) Reset()

func (*LLDPOrgSpecificTLV) Size added in v0.3.9

func (m *LLDPOrgSpecificTLV) Size() (n int)

func (*LLDPOrgSpecificTLV) String

func (m *LLDPOrgSpecificTLV) String() string

func (*LLDPOrgSpecificTLV) Unmarshal added in v0.3.9

func (m *LLDPOrgSpecificTLV) Unmarshal(dAtA []byte) error

func (*LLDPOrgSpecificTLV) XXX_DiscardUnknown

func (m *LLDPOrgSpecificTLV) XXX_DiscardUnknown()

func (*LLDPOrgSpecificTLV) XXX_Marshal

func (m *LLDPOrgSpecificTLV) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LLDPOrgSpecificTLV) XXX_Merge

func (m *LLDPOrgSpecificTLV) XXX_Merge(src proto.Message)

func (*LLDPOrgSpecificTLV) XXX_Size

func (m *LLDPOrgSpecificTLV) XXX_Size() int

func (*LLDPOrgSpecificTLV) XXX_Unmarshal

func (m *LLDPOrgSpecificTLV) XXX_Unmarshal(b []byte) error

type LLDPPortID

type LLDPPortID struct {
	Subtype int32  `protobuf:"varint,1,opt,name=Subtype,proto3" json:"Subtype,omitempty"`
	ID      []byte `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*LLDPPortID) Descriptor

func (*LLDPPortID) Descriptor() ([]byte, []int)

func (*LLDPPortID) GetID

func (m *LLDPPortID) GetID() []byte

func (*LLDPPortID) GetSubtype

func (m *LLDPPortID) GetSubtype() int32

func (*LLDPPortID) Marshal added in v0.3.9

func (m *LLDPPortID) Marshal() (dAtA []byte, err error)

func (*LLDPPortID) MarshalTo added in v0.3.9

func (m *LLDPPortID) MarshalTo(dAtA []byte) (int, error)

func (*LLDPPortID) MarshalToSizedBuffer added in v0.6.6

func (m *LLDPPortID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LLDPPortID) ProtoMessage

func (*LLDPPortID) ProtoMessage()

func (*LLDPPortID) Reset

func (m *LLDPPortID) Reset()

func (*LLDPPortID) Size added in v0.3.9

func (m *LLDPPortID) Size() (n int)

func (*LLDPPortID) String

func (m *LLDPPortID) String() string

func (*LLDPPortID) Unmarshal added in v0.3.9

func (m *LLDPPortID) Unmarshal(dAtA []byte) error

func (*LLDPPortID) XXX_DiscardUnknown

func (m *LLDPPortID) XXX_DiscardUnknown()

func (*LLDPPortID) XXX_Marshal

func (m *LLDPPortID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LLDPPortID) XXX_Merge

func (m *LLDPPortID) XXX_Merge(src proto.Message)

func (*LLDPPortID) XXX_Size

func (m *LLDPPortID) XXX_Size() int

func (*LLDPPortID) XXX_Unmarshal

func (m *LLDPPortID) XXX_Unmarshal(b []byte) error

type LLDPSysCapabilities

type LLDPSysCapabilities struct {
	SystemCap  *LLDPCapabilities `protobuf:"bytes,1,opt,name=SystemCap,proto3" json:"SystemCap,omitempty"`
	EnabledCap *LLDPCapabilities `protobuf:"bytes,2,opt,name=EnabledCap,proto3" json:"EnabledCap,omitempty"`
}

func (*LLDPSysCapabilities) Descriptor

func (*LLDPSysCapabilities) Descriptor() ([]byte, []int)

func (*LLDPSysCapabilities) GetEnabledCap

func (m *LLDPSysCapabilities) GetEnabledCap() *LLDPCapabilities

func (*LLDPSysCapabilities) GetSystemCap

func (m *LLDPSysCapabilities) GetSystemCap() *LLDPCapabilities

func (*LLDPSysCapabilities) Marshal added in v0.3.9

func (m *LLDPSysCapabilities) Marshal() (dAtA []byte, err error)

func (*LLDPSysCapabilities) MarshalTo added in v0.3.9

func (m *LLDPSysCapabilities) MarshalTo(dAtA []byte) (int, error)

func (*LLDPSysCapabilities) MarshalToSizedBuffer added in v0.6.6

func (m *LLDPSysCapabilities) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LLDPSysCapabilities) ProtoMessage

func (*LLDPSysCapabilities) ProtoMessage()

func (*LLDPSysCapabilities) Reset

func (m *LLDPSysCapabilities) Reset()

func (*LLDPSysCapabilities) Size added in v0.3.9

func (m *LLDPSysCapabilities) Size() (n int)

func (*LLDPSysCapabilities) String

func (m *LLDPSysCapabilities) String() string

func (*LLDPSysCapabilities) Unmarshal added in v0.3.9

func (m *LLDPSysCapabilities) Unmarshal(dAtA []byte) error

func (*LLDPSysCapabilities) XXX_DiscardUnknown

func (m *LLDPSysCapabilities) XXX_DiscardUnknown()

func (*LLDPSysCapabilities) XXX_Marshal

func (m *LLDPSysCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LLDPSysCapabilities) XXX_Merge

func (m *LLDPSysCapabilities) XXX_Merge(src proto.Message)

func (*LLDPSysCapabilities) XXX_Size

func (m *LLDPSysCapabilities) XXX_Size() int

func (*LLDPSysCapabilities) XXX_Unmarshal

func (m *LLDPSysCapabilities) XXX_Unmarshal(b []byte) error

type LSA added in v0.3.9

type LSA struct {
	Header *LSAheader `protobuf:"bytes,1,opt,name=Header,proto3" json:"Header,omitempty"`
	// interface Content
	RLSAV2          *RouterLSAV2        `protobuf:"bytes,2,opt,name=RLSAV2,proto3" json:"RLSAV2,omitempty"`
	ASELSAV2        *ASExternalLSAV2    `protobuf:"bytes,3,opt,name=ASELSAV2,proto3" json:"ASELSAV2,omitempty"`
	RLSA            *RouterLSA          `protobuf:"bytes,4,opt,name=RLSA,proto3" json:"RLSA,omitempty"`
	NLSA            *NetworkLSA         `protobuf:"bytes,5,opt,name=NLSA,proto3" json:"NLSA,omitempty"`
	InterAPrefixLSA *InterAreaPrefixLSA `protobuf:"bytes,6,opt,name=InterAPrefixLSA,proto3" json:"InterAPrefixLSA,omitempty"`
	IARouterLSA     *InterAreaRouterLSA `protobuf:"bytes,7,opt,name=IARouterLSA,proto3" json:"IARouterLSA,omitempty"`
	ASELSA          *ASExternalLSA      `protobuf:"bytes,8,opt,name=ASELSA,proto3" json:"ASELSA,omitempty"`
	LLSA            *LinkLSA            `protobuf:"bytes,9,opt,name=LLSA,proto3" json:"LLSA,omitempty"`
	IntraAPrefixLSA *IntraAreaPrefixLSA `protobuf:"bytes,10,opt,name=IntraAPrefixLSA,proto3" json:"IntraAPrefixLSA,omitempty"`
	SrcIP           string              `protobuf:"bytes,11,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP           string              `protobuf:"bytes,12,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

The link-state advertisement (LSA) is a basic communication means of the OSPF routing protocol for the Internet Protocol (IP). It communicates the router's local routing topology to all other local routers in the same OSPF area. OSPF is designed for scalability, so some LSAs are not flooded out on all interfaces, but only on those that belong to the appropriate area. In this way detailed information can be kept localized, while summary information is flooded to the rest of the network. The original IPv4-only OSPFv2 and the newer IPv6-compatible OSPFv3 have broadly similar LSA types.

func (*LSA) Descriptor added in v0.3.9

func (*LSA) Descriptor() ([]byte, []int)

func (*LSA) GetASELSA added in v0.3.9

func (m *LSA) GetASELSA() *ASExternalLSA

func (*LSA) GetASELSAV2 added in v0.3.9

func (m *LSA) GetASELSAV2() *ASExternalLSAV2

func (*LSA) GetDstIP added in v0.6.6

func (m *LSA) GetDstIP() string

func (*LSA) GetHeader added in v0.3.9

func (m *LSA) GetHeader() *LSAheader

func (*LSA) GetIARouterLSA added in v0.3.9

func (m *LSA) GetIARouterLSA() *InterAreaRouterLSA

func (*LSA) GetInterAPrefixLSA added in v0.3.9

func (m *LSA) GetInterAPrefixLSA() *InterAreaPrefixLSA

func (*LSA) GetIntraAPrefixLSA added in v0.3.9

func (m *LSA) GetIntraAPrefixLSA() *IntraAreaPrefixLSA

func (*LSA) GetLLSA added in v0.3.9

func (m *LSA) GetLLSA() *LinkLSA

func (*LSA) GetNLSA added in v0.3.9

func (m *LSA) GetNLSA() *NetworkLSA

func (*LSA) GetRLSA added in v0.3.9

func (m *LSA) GetRLSA() *RouterLSA

func (*LSA) GetRLSAV2 added in v0.3.9

func (m *LSA) GetRLSAV2() *RouterLSAV2

func (*LSA) GetSrcIP added in v0.6.6

func (m *LSA) GetSrcIP() string

func (*LSA) Marshal added in v0.3.9

func (m *LSA) Marshal() (dAtA []byte, err error)

func (*LSA) MarshalTo added in v0.3.9

func (m *LSA) MarshalTo(dAtA []byte) (int, error)

func (*LSA) MarshalToSizedBuffer added in v0.6.6

func (m *LSA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LSA) ProtoMessage added in v0.3.9

func (*LSA) ProtoMessage()

func (*LSA) Reset added in v0.3.9

func (m *LSA) Reset()

func (*LSA) Size added in v0.3.9

func (m *LSA) Size() (n int)

func (*LSA) String added in v0.3.9

func (m *LSA) String() string

func (*LSA) Unmarshal added in v0.3.9

func (m *LSA) Unmarshal(dAtA []byte) error

func (*LSA) XXX_DiscardUnknown added in v0.3.9

func (m *LSA) XXX_DiscardUnknown()

func (*LSA) XXX_Marshal added in v0.3.9

func (m *LSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LSA) XXX_Merge added in v0.3.9

func (m *LSA) XXX_Merge(src proto.Message)

func (*LSA) XXX_Size added in v0.3.9

func (m *LSA) XXX_Size() int

func (*LSA) XXX_Unmarshal added in v0.3.9

func (m *LSA) XXX_Unmarshal(b []byte) error

type LSAPrefix added in v0.3.9

type LSAPrefix struct {
	PrefixLength  int32  `protobuf:"varint,1,opt,name=PrefixLength,proto3" json:"PrefixLength,omitempty"`
	PrefixOptions int32  `protobuf:"varint,2,opt,name=PrefixOptions,proto3" json:"PrefixOptions,omitempty"`
	Metric        int32  `protobuf:"varint,3,opt,name=Metric,proto3" json:"Metric,omitempty"`
	AddressPrefix []byte `protobuf:"bytes,4,opt,name=AddressPrefix,proto3" json:"AddressPrefix,omitempty"`
}

func (*LSAPrefix) Descriptor added in v0.3.9

func (*LSAPrefix) Descriptor() ([]byte, []int)

func (*LSAPrefix) GetAddressPrefix added in v0.3.9

func (m *LSAPrefix) GetAddressPrefix() []byte

func (*LSAPrefix) GetMetric added in v0.3.9

func (m *LSAPrefix) GetMetric() int32

func (*LSAPrefix) GetPrefixLength added in v0.3.9

func (m *LSAPrefix) GetPrefixLength() int32

func (*LSAPrefix) GetPrefixOptions added in v0.3.9

func (m *LSAPrefix) GetPrefixOptions() int32

func (*LSAPrefix) Marshal added in v0.3.9

func (m *LSAPrefix) Marshal() (dAtA []byte, err error)

func (*LSAPrefix) MarshalTo added in v0.3.9

func (m *LSAPrefix) MarshalTo(dAtA []byte) (int, error)

func (*LSAPrefix) MarshalToSizedBuffer added in v0.6.6

func (m *LSAPrefix) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LSAPrefix) ProtoMessage added in v0.3.9

func (*LSAPrefix) ProtoMessage()

func (*LSAPrefix) Reset added in v0.3.9

func (m *LSAPrefix) Reset()

func (*LSAPrefix) Size added in v0.3.9

func (m *LSAPrefix) Size() (n int)

func (*LSAPrefix) String added in v0.3.9

func (m *LSAPrefix) String() string

func (*LSAPrefix) Unmarshal added in v0.3.9

func (m *LSAPrefix) Unmarshal(dAtA []byte) error

func (*LSAPrefix) XXX_DiscardUnknown added in v0.3.9

func (m *LSAPrefix) XXX_DiscardUnknown()

func (*LSAPrefix) XXX_Marshal added in v0.3.9

func (m *LSAPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LSAPrefix) XXX_Merge added in v0.3.9

func (m *LSAPrefix) XXX_Merge(src proto.Message)

func (*LSAPrefix) XXX_Size added in v0.3.9

func (m *LSAPrefix) XXX_Size() int

func (*LSAPrefix) XXX_Unmarshal added in v0.3.9

func (m *LSAPrefix) XXX_Unmarshal(b []byte) error

type LSAheader added in v0.3.9

type LSAheader struct {
	LSAge       int32  `protobuf:"varint,1,opt,name=LSAge,proto3" json:"LSAge,omitempty"`
	LSType      int32  `protobuf:"varint,2,opt,name=LSType,proto3" json:"LSType,omitempty"`
	LinkStateID uint32 `protobuf:"varint,3,opt,name=LinkStateID,proto3" json:"LinkStateID,omitempty"`
	AdvRouter   uint32 `protobuf:"varint,4,opt,name=AdvRouter,proto3" json:"AdvRouter,omitempty"`
	LSSeqNumber uint32 `protobuf:"varint,5,opt,name=LSSeqNumber,proto3" json:"LSSeqNumber,omitempty"`
	LSChecksum  int32  `protobuf:"varint,6,opt,name=LSChecksum,proto3" json:"LSChecksum,omitempty"`
	Length      int32  `protobuf:"varint,7,opt,name=Length,proto3" json:"Length,omitempty"`
	LSOptions   int32  `protobuf:"varint,8,opt,name=LSOptions,proto3" json:"LSOptions,omitempty"`
}

func (*LSAheader) Descriptor added in v0.3.9

func (*LSAheader) Descriptor() ([]byte, []int)

func (*LSAheader) GetAdvRouter added in v0.3.9

func (m *LSAheader) GetAdvRouter() uint32

func (*LSAheader) GetLSAge added in v0.3.9

func (m *LSAheader) GetLSAge() int32

func (*LSAheader) GetLSChecksum added in v0.3.9

func (m *LSAheader) GetLSChecksum() int32

func (*LSAheader) GetLSOptions added in v0.3.9

func (m *LSAheader) GetLSOptions() int32

func (*LSAheader) GetLSSeqNumber added in v0.3.9

func (m *LSAheader) GetLSSeqNumber() uint32

func (*LSAheader) GetLSType added in v0.3.9

func (m *LSAheader) GetLSType() int32

func (*LSAheader) GetLength added in v0.3.9

func (m *LSAheader) GetLength() int32

func (*LSAheader) GetLinkStateID added in v0.3.9

func (m *LSAheader) GetLinkStateID() uint32

func (*LSAheader) Marshal added in v0.3.9

func (m *LSAheader) Marshal() (dAtA []byte, err error)

func (*LSAheader) MarshalTo added in v0.3.9

func (m *LSAheader) MarshalTo(dAtA []byte) (int, error)

func (*LSAheader) MarshalToSizedBuffer added in v0.6.6

func (m *LSAheader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LSAheader) ProtoMessage added in v0.3.9

func (*LSAheader) ProtoMessage()

func (*LSAheader) Reset added in v0.3.9

func (m *LSAheader) Reset()

func (*LSAheader) Size added in v0.3.9

func (m *LSAheader) Size() (n int)

func (*LSAheader) String added in v0.3.9

func (m *LSAheader) String() string

func (*LSAheader) Unmarshal added in v0.3.9

func (m *LSAheader) Unmarshal(dAtA []byte) error

func (*LSAheader) XXX_DiscardUnknown added in v0.3.9

func (m *LSAheader) XXX_DiscardUnknown()

func (*LSAheader) XXX_Marshal added in v0.3.9

func (m *LSAheader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LSAheader) XXX_Merge added in v0.3.9

func (m *LSAheader) XXX_Merge(src proto.Message)

func (*LSAheader) XXX_Size added in v0.3.9

func (m *LSAheader) XXX_Size() int

func (*LSAheader) XXX_Unmarshal added in v0.3.9

func (m *LSAheader) XXX_Unmarshal(b []byte) error

type LSReq added in v0.3.9

type LSReq struct {
	LSType    int32  `protobuf:"varint,1,opt,name=LSType,proto3" json:"LSType,omitempty"`
	LSID      uint32 `protobuf:"varint,2,opt,name=LSID,proto3" json:"LSID,omitempty"`
	AdvRouter uint32 `protobuf:"varint,3,opt,name=AdvRouter,proto3" json:"AdvRouter,omitempty"`
}

func (*LSReq) Descriptor added in v0.3.9

func (*LSReq) Descriptor() ([]byte, []int)

func (*LSReq) GetAdvRouter added in v0.3.9

func (m *LSReq) GetAdvRouter() uint32

func (*LSReq) GetLSID added in v0.3.9

func (m *LSReq) GetLSID() uint32

func (*LSReq) GetLSType added in v0.3.9

func (m *LSReq) GetLSType() int32

func (*LSReq) Marshal added in v0.3.9

func (m *LSReq) Marshal() (dAtA []byte, err error)

func (*LSReq) MarshalTo added in v0.3.9

func (m *LSReq) MarshalTo(dAtA []byte) (int, error)

func (*LSReq) MarshalToSizedBuffer added in v0.6.6

func (m *LSReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LSReq) ProtoMessage added in v0.3.9

func (*LSReq) ProtoMessage()

func (*LSReq) Reset added in v0.3.9

func (m *LSReq) Reset()

func (*LSReq) Size added in v0.3.9

func (m *LSReq) Size() (n int)

func (*LSReq) String added in v0.3.9

func (m *LSReq) String() string

func (*LSReq) Unmarshal added in v0.3.9

func (m *LSReq) Unmarshal(dAtA []byte) error

func (*LSReq) XXX_DiscardUnknown added in v0.3.9

func (m *LSReq) XXX_DiscardUnknown()

func (*LSReq) XXX_Marshal added in v0.3.9

func (m *LSReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LSReq) XXX_Merge added in v0.3.9

func (m *LSReq) XXX_Merge(src proto.Message)

func (*LSReq) XXX_Size added in v0.3.9

func (m *LSReq) XXX_Size() int

func (*LSReq) XXX_Unmarshal added in v0.3.9

func (m *LSReq) XXX_Unmarshal(b []byte) error

type LSUpdate added in v0.3.9

type LSUpdate struct {
	NumOfLSAs uint32 `protobuf:"varint,1,opt,name=NumOfLSAs,proto3" json:"NumOfLSAs,omitempty"`
	LSAs      []*LSA `protobuf:"bytes,2,rep,name=LSAs,proto3" json:"LSAs,omitempty"`
}

func (*LSUpdate) Descriptor added in v0.3.9

func (*LSUpdate) Descriptor() ([]byte, []int)

func (*LSUpdate) GetLSAs added in v0.3.9

func (m *LSUpdate) GetLSAs() []*LSA

func (*LSUpdate) GetNumOfLSAs added in v0.3.9

func (m *LSUpdate) GetNumOfLSAs() uint32

func (*LSUpdate) Marshal added in v0.3.9

func (m *LSUpdate) Marshal() (dAtA []byte, err error)

func (*LSUpdate) MarshalTo added in v0.3.9

func (m *LSUpdate) MarshalTo(dAtA []byte) (int, error)

func (*LSUpdate) MarshalToSizedBuffer added in v0.6.6

func (m *LSUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LSUpdate) ProtoMessage added in v0.3.9

func (*LSUpdate) ProtoMessage()

func (*LSUpdate) Reset added in v0.3.9

func (m *LSUpdate) Reset()

func (*LSUpdate) Size added in v0.3.9

func (m *LSUpdate) Size() (n int)

func (*LSUpdate) String added in v0.3.9

func (m *LSUpdate) String() string

func (*LSUpdate) Unmarshal added in v0.3.9

func (m *LSUpdate) Unmarshal(dAtA []byte) error

func (*LSUpdate) XXX_DiscardUnknown added in v0.3.9

func (m *LSUpdate) XXX_DiscardUnknown()

func (*LSUpdate) XXX_Marshal added in v0.3.9

func (m *LSUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LSUpdate) XXX_Merge added in v0.3.9

func (m *LSUpdate) XXX_Merge(src proto.Message)

func (*LSUpdate) XXX_Size added in v0.3.9

func (m *LSUpdate) XXX_Size() int

func (*LSUpdate) XXX_Unmarshal added in v0.3.9

func (m *LSUpdate) XXX_Unmarshal(b []byte) error

type LinkLSA added in v0.3.9

type LinkLSA struct {
	RtrPriority      int32        `protobuf:"varint,1,opt,name=RtrPriority,proto3" json:"RtrPriority,omitempty"`
	Options          uint32       `protobuf:"varint,2,opt,name=Options,proto3" json:"Options,omitempty"`
	LinkLocalAddress []byte       `protobuf:"bytes,3,opt,name=LinkLocalAddress,proto3" json:"LinkLocalAddress,omitempty"`
	NumOfPrefixes    uint32       `protobuf:"varint,4,opt,name=NumOfPrefixes,proto3" json:"NumOfPrefixes,omitempty"`
	Prefixes         []*LSAPrefix `protobuf:"bytes,5,rep,name=Prefixes,proto3" json:"Prefixes,omitempty"`
}

func (*LinkLSA) Descriptor added in v0.3.9

func (*LinkLSA) Descriptor() ([]byte, []int)

func (*LinkLSA) GetLinkLocalAddress added in v0.3.9

func (m *LinkLSA) GetLinkLocalAddress() []byte

func (*LinkLSA) GetNumOfPrefixes added in v0.3.9

func (m *LinkLSA) GetNumOfPrefixes() uint32

func (*LinkLSA) GetOptions added in v0.3.9

func (m *LinkLSA) GetOptions() uint32

func (*LinkLSA) GetPrefixes added in v0.3.9

func (m *LinkLSA) GetPrefixes() []*LSAPrefix

func (*LinkLSA) GetRtrPriority added in v0.3.9

func (m *LinkLSA) GetRtrPriority() int32

func (*LinkLSA) Marshal added in v0.3.9

func (m *LinkLSA) Marshal() (dAtA []byte, err error)

func (*LinkLSA) MarshalTo added in v0.3.9

func (m *LinkLSA) MarshalTo(dAtA []byte) (int, error)

func (*LinkLSA) MarshalToSizedBuffer added in v0.6.6

func (m *LinkLSA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinkLSA) ProtoMessage added in v0.3.9

func (*LinkLSA) ProtoMessage()

func (*LinkLSA) Reset added in v0.3.9

func (m *LinkLSA) Reset()

func (*LinkLSA) Size added in v0.3.9

func (m *LinkLSA) Size() (n int)

func (*LinkLSA) String added in v0.3.9

func (m *LinkLSA) String() string

func (*LinkLSA) Unmarshal added in v0.3.9

func (m *LinkLSA) Unmarshal(dAtA []byte) error

func (*LinkLSA) XXX_DiscardUnknown added in v0.3.9

func (m *LinkLSA) XXX_DiscardUnknown()

func (*LinkLSA) XXX_Marshal added in v0.3.9

func (m *LinkLSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinkLSA) XXX_Merge added in v0.3.9

func (m *LinkLSA) XXX_Merge(src proto.Message)

func (*LinkLSA) XXX_Size added in v0.3.9

func (m *LinkLSA) XXX_Size() int

func (*LinkLSA) XXX_Unmarshal added in v0.3.9

func (m *LinkLSA) XXX_Unmarshal(b []byte) error

type LinkLayerDiscovery

type LinkLayerDiscovery struct {
	Timestamp int64                      `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ChassisID *LLDPChassisID             `protobuf:"bytes,2,opt,name=ChassisID,proto3" json:"ChassisID,omitempty"`
	PortID    *LLDPPortID                `protobuf:"bytes,3,opt,name=PortID,proto3" json:"PortID,omitempty"`
	TTL       int32                      `protobuf:"varint,4,opt,name=TTL,proto3" json:"TTL,omitempty"`
	Values    []*LinkLayerDiscoveryValue `protobuf:"bytes,5,rep,name=Values,proto3" json:"Values,omitempty"`
}

The Link Layer Discovery Protocol (LLDP) is a vendor-neutral link layer protocol used by network devices for advertising their identity, capabilities, and neighbors on a local area network based on IEEE 802 technology, principally wired Ethernet. The protocol is formally referred to by the IEEE as Station and Media Access Control Connectivity Discovery specified in IEEE 802.1AB and IEEE 802.3 section 6 clause 79. LLDP performs functions similar to several proprietary protocols, such as Cisco Discovery Protocol, Foundry Discovery Protocol, Nortel Discovery Protocol and Link Layer Topology Discovery.

func (*LinkLayerDiscovery) Analyze added in v0.6.6

func (l *LinkLayerDiscovery) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*LinkLayerDiscovery) CSVHeader

func (l *LinkLayerDiscovery) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*LinkLayerDiscovery) CSVRecord

func (l *LinkLayerDiscovery) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*LinkLayerDiscovery) Descriptor

func (*LinkLayerDiscovery) Descriptor() ([]byte, []int)

func (*LinkLayerDiscovery) Dst added in v0.4.3

func (l *LinkLayerDiscovery) Dst() string

Dst returns the destination address of the audit record.

func (*LinkLayerDiscovery) Encode added in v0.6.6

func (l *LinkLayerDiscovery) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*LinkLayerDiscovery) GetChassisID

func (m *LinkLayerDiscovery) GetChassisID() *LLDPChassisID

func (*LinkLayerDiscovery) GetPortID

func (m *LinkLayerDiscovery) GetPortID() *LLDPPortID

func (*LinkLayerDiscovery) GetTTL

func (m *LinkLayerDiscovery) GetTTL() int32

func (*LinkLayerDiscovery) GetTimestamp

func (m *LinkLayerDiscovery) GetTimestamp() int64

func (*LinkLayerDiscovery) GetValues

func (m *LinkLayerDiscovery) GetValues() []*LinkLayerDiscoveryValue

func (*LinkLayerDiscovery) Inc added in v0.4.0

func (l *LinkLayerDiscovery) Inc()

Inc increments the metrics for the audit record.

func (*LinkLayerDiscovery) JSON added in v0.4.0

func (l *LinkLayerDiscovery) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*LinkLayerDiscovery) Marshal added in v0.3.9

func (m *LinkLayerDiscovery) Marshal() (dAtA []byte, err error)

func (*LinkLayerDiscovery) MarshalTo added in v0.3.9

func (m *LinkLayerDiscovery) MarshalTo(dAtA []byte) (int, error)

func (*LinkLayerDiscovery) MarshalToSizedBuffer added in v0.6.6

func (m *LinkLayerDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinkLayerDiscovery) NetcapType added in v0.6.6

func (l *LinkLayerDiscovery) NetcapType() Type

NetcapType returns the type of the current audit record

func (*LinkLayerDiscovery) ProtoMessage

func (*LinkLayerDiscovery) ProtoMessage()

func (*LinkLayerDiscovery) Reset

func (m *LinkLayerDiscovery) Reset()

func (*LinkLayerDiscovery) SetPacketContext added in v0.4.2

func (l *LinkLayerDiscovery) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*LinkLayerDiscovery) Size added in v0.3.9

func (m *LinkLayerDiscovery) Size() (n int)

func (*LinkLayerDiscovery) Src added in v0.4.3

func (l *LinkLayerDiscovery) Src() string

Src TODO. Src returns the source address of the audit record.

func (*LinkLayerDiscovery) String

func (m *LinkLayerDiscovery) String() string

func (*LinkLayerDiscovery) Time added in v0.4.3

func (l *LinkLayerDiscovery) Time() int64

Time returns the timestamp associated with the audit record.

func (*LinkLayerDiscovery) Unmarshal added in v0.3.9

func (m *LinkLayerDiscovery) Unmarshal(dAtA []byte) error

func (*LinkLayerDiscovery) XXX_DiscardUnknown

func (m *LinkLayerDiscovery) XXX_DiscardUnknown()

func (*LinkLayerDiscovery) XXX_Marshal

func (m *LinkLayerDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinkLayerDiscovery) XXX_Merge

func (m *LinkLayerDiscovery) XXX_Merge(src proto.Message)

func (*LinkLayerDiscovery) XXX_Size

func (m *LinkLayerDiscovery) XXX_Size() int

func (*LinkLayerDiscovery) XXX_Unmarshal

func (m *LinkLayerDiscovery) XXX_Unmarshal(b []byte) error

type LinkLayerDiscoveryInfo

type LinkLayerDiscoveryInfo struct {
	Timestamp       int64                      `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	PortDescription string                     `protobuf:"bytes,2,opt,name=PortDescription,proto3" json:"PortDescription,omitempty"`
	SysName         string                     `protobuf:"bytes,3,opt,name=SysName,proto3" json:"SysName,omitempty"`
	SysDescription  string                     `protobuf:"bytes,4,opt,name=SysDescription,proto3" json:"SysDescription,omitempty"`
	SysCapabilities *LLDPSysCapabilities       `protobuf:"bytes,5,opt,name=SysCapabilities,proto3" json:"SysCapabilities,omitempty"`
	MgmtAddress     *LLDPMgmtAddress           `protobuf:"bytes,6,opt,name=MgmtAddress,proto3" json:"MgmtAddress,omitempty"`
	OrgTLVs         []*LLDPOrgSpecificTLV      `protobuf:"bytes,7,rep,name=OrgTLVs,proto3" json:"OrgTLVs,omitempty"`
	Unknown         []*LinkLayerDiscoveryValue `protobuf:"bytes,8,rep,name=Unknown,proto3" json:"Unknown,omitempty"`
}

func (*LinkLayerDiscoveryInfo) Analyze added in v0.6.6

func (l *LinkLayerDiscoveryInfo) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*LinkLayerDiscoveryInfo) CSVHeader

func (l *LinkLayerDiscoveryInfo) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*LinkLayerDiscoveryInfo) CSVRecord

func (l *LinkLayerDiscoveryInfo) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*LinkLayerDiscoveryInfo) Descriptor

func (*LinkLayerDiscoveryInfo) Descriptor() ([]byte, []int)

func (*LinkLayerDiscoveryInfo) Dst added in v0.4.3

func (l *LinkLayerDiscoveryInfo) Dst() string

Dst returns the destination address of the audit record.

func (*LinkLayerDiscoveryInfo) Encode added in v0.6.6

func (l *LinkLayerDiscoveryInfo) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*LinkLayerDiscoveryInfo) GetMgmtAddress

func (m *LinkLayerDiscoveryInfo) GetMgmtAddress() *LLDPMgmtAddress

func (*LinkLayerDiscoveryInfo) GetOrgTLVs

func (m *LinkLayerDiscoveryInfo) GetOrgTLVs() []*LLDPOrgSpecificTLV

func (*LinkLayerDiscoveryInfo) GetPortDescription

func (m *LinkLayerDiscoveryInfo) GetPortDescription() string

func (*LinkLayerDiscoveryInfo) GetSysCapabilities

func (m *LinkLayerDiscoveryInfo) GetSysCapabilities() *LLDPSysCapabilities

func (*LinkLayerDiscoveryInfo) GetSysDescription

func (m *LinkLayerDiscoveryInfo) GetSysDescription() string

func (*LinkLayerDiscoveryInfo) GetSysName

func (m *LinkLayerDiscoveryInfo) GetSysName() string

func (*LinkLayerDiscoveryInfo) GetTimestamp

func (m *LinkLayerDiscoveryInfo) GetTimestamp() int64

func (*LinkLayerDiscoveryInfo) GetUnknown

func (*LinkLayerDiscoveryInfo) Inc added in v0.4.0

func (l *LinkLayerDiscoveryInfo) Inc()

Inc increments the metrics for the audit record.

func (*LinkLayerDiscoveryInfo) JSON added in v0.4.0

func (l *LinkLayerDiscoveryInfo) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*LinkLayerDiscoveryInfo) Marshal added in v0.3.9

func (m *LinkLayerDiscoveryInfo) Marshal() (dAtA []byte, err error)

func (*LinkLayerDiscoveryInfo) MarshalTo added in v0.3.9

func (m *LinkLayerDiscoveryInfo) MarshalTo(dAtA []byte) (int, error)

func (*LinkLayerDiscoveryInfo) MarshalToSizedBuffer added in v0.6.6

func (m *LinkLayerDiscoveryInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinkLayerDiscoveryInfo) NetcapType added in v0.6.6

func (l *LinkLayerDiscoveryInfo) NetcapType() Type

NetcapType returns the type of the current audit record

func (*LinkLayerDiscoveryInfo) ProtoMessage

func (*LinkLayerDiscoveryInfo) ProtoMessage()

func (*LinkLayerDiscoveryInfo) Reset

func (m *LinkLayerDiscoveryInfo) Reset()

func (*LinkLayerDiscoveryInfo) SetPacketContext added in v0.4.2

func (l *LinkLayerDiscoveryInfo) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*LinkLayerDiscoveryInfo) Size added in v0.3.9

func (m *LinkLayerDiscoveryInfo) Size() (n int)

func (*LinkLayerDiscoveryInfo) Src added in v0.4.3

func (l *LinkLayerDiscoveryInfo) Src() string

Src TODO. Src returns the source address of the audit record.

func (*LinkLayerDiscoveryInfo) String

func (m *LinkLayerDiscoveryInfo) String() string

func (*LinkLayerDiscoveryInfo) Time added in v0.4.3

func (l *LinkLayerDiscoveryInfo) Time() int64

Time returns the timestamp associated with the audit record.

func (*LinkLayerDiscoveryInfo) Unmarshal added in v0.3.9

func (m *LinkLayerDiscoveryInfo) Unmarshal(dAtA []byte) error

func (*LinkLayerDiscoveryInfo) XXX_DiscardUnknown

func (m *LinkLayerDiscoveryInfo) XXX_DiscardUnknown()

func (*LinkLayerDiscoveryInfo) XXX_Marshal

func (m *LinkLayerDiscoveryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinkLayerDiscoveryInfo) XXX_Merge

func (m *LinkLayerDiscoveryInfo) XXX_Merge(src proto.Message)

func (*LinkLayerDiscoveryInfo) XXX_Size

func (m *LinkLayerDiscoveryInfo) XXX_Size() int

func (*LinkLayerDiscoveryInfo) XXX_Unmarshal

func (m *LinkLayerDiscoveryInfo) XXX_Unmarshal(b []byte) error

type LinkLayerDiscoveryValue

type LinkLayerDiscoveryValue struct {
	Type   int32  `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Length int32  `protobuf:"varint,2,opt,name=Length,proto3" json:"Length,omitempty"`
	Value  []byte `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"`
}

func (*LinkLayerDiscoveryValue) Descriptor

func (*LinkLayerDiscoveryValue) Descriptor() ([]byte, []int)

func (*LinkLayerDiscoveryValue) GetLength

func (m *LinkLayerDiscoveryValue) GetLength() int32

func (*LinkLayerDiscoveryValue) GetType

func (m *LinkLayerDiscoveryValue) GetType() int32

func (*LinkLayerDiscoveryValue) GetValue

func (m *LinkLayerDiscoveryValue) GetValue() []byte

func (*LinkLayerDiscoveryValue) Marshal added in v0.3.9

func (m *LinkLayerDiscoveryValue) Marshal() (dAtA []byte, err error)

func (*LinkLayerDiscoveryValue) MarshalTo added in v0.3.9

func (m *LinkLayerDiscoveryValue) MarshalTo(dAtA []byte) (int, error)

func (*LinkLayerDiscoveryValue) MarshalToSizedBuffer added in v0.6.6

func (m *LinkLayerDiscoveryValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LinkLayerDiscoveryValue) ProtoMessage

func (*LinkLayerDiscoveryValue) ProtoMessage()

func (*LinkLayerDiscoveryValue) Reset

func (m *LinkLayerDiscoveryValue) Reset()

func (*LinkLayerDiscoveryValue) Size added in v0.3.9

func (m *LinkLayerDiscoveryValue) Size() (n int)

func (*LinkLayerDiscoveryValue) String

func (m *LinkLayerDiscoveryValue) String() string

func (*LinkLayerDiscoveryValue) Unmarshal added in v0.3.9

func (m *LinkLayerDiscoveryValue) Unmarshal(dAtA []byte) error

func (*LinkLayerDiscoveryValue) XXX_DiscardUnknown

func (m *LinkLayerDiscoveryValue) XXX_DiscardUnknown()

func (*LinkLayerDiscoveryValue) XXX_Marshal

func (m *LinkLayerDiscoveryValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinkLayerDiscoveryValue) XXX_Merge

func (m *LinkLayerDiscoveryValue) XXX_Merge(src proto.Message)

func (*LinkLayerDiscoveryValue) XXX_Size

func (m *LinkLayerDiscoveryValue) XXX_Size() int

func (*LinkLayerDiscoveryValue) XXX_Unmarshal

func (m *LinkLayerDiscoveryValue) XXX_Unmarshal(b []byte) error

type MPLS added in v0.3.7

type MPLS struct {
	Timestamp    int64 `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Label        int32 `protobuf:"varint,2,opt,name=Label,proto3" json:"Label,omitempty"`
	TrafficClass int32 `protobuf:"varint,3,opt,name=TrafficClass,proto3" json:"TrafficClass,omitempty"`
	StackBottom  bool  `protobuf:"varint,4,opt,name=StackBottom,proto3" json:"StackBottom,omitempty"`
	TTL          int32 `protobuf:"varint,5,opt,name=TTL,proto3" json:"TTL,omitempty"`
}

func (*MPLS) Analyze added in v0.6.6

func (a *MPLS) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*MPLS) CSVHeader added in v0.3.7

func (a *MPLS) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*MPLS) CSVRecord added in v0.3.7

func (a *MPLS) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*MPLS) Descriptor added in v0.3.7

func (*MPLS) Descriptor() ([]byte, []int)

func (*MPLS) Dst added in v0.4.3

func (a *MPLS) Dst() string

Dst returns the destination address of the audit record.

func (*MPLS) Encode added in v0.6.6

func (a *MPLS) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*MPLS) GetLabel added in v0.3.7

func (m *MPLS) GetLabel() int32

func (*MPLS) GetStackBottom added in v0.3.7

func (m *MPLS) GetStackBottom() bool

func (*MPLS) GetTTL added in v0.3.7

func (m *MPLS) GetTTL() int32

func (*MPLS) GetTimestamp added in v0.3.7

func (m *MPLS) GetTimestamp() int64

func (*MPLS) GetTrafficClass added in v0.3.7

func (m *MPLS) GetTrafficClass() int32

func (*MPLS) Inc added in v0.4.0

func (a *MPLS) Inc()

Inc increments the metrics for the audit record.

func (*MPLS) JSON added in v0.4.0

func (a *MPLS) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*MPLS) Marshal added in v0.3.9

func (m *MPLS) Marshal() (dAtA []byte, err error)

func (*MPLS) MarshalTo added in v0.3.9

func (m *MPLS) MarshalTo(dAtA []byte) (int, error)

func (*MPLS) MarshalToSizedBuffer added in v0.6.6

func (m *MPLS) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MPLS) NetcapType added in v0.6.6

func (a *MPLS) NetcapType() Type

NetcapType returns the type of the current audit record

func (*MPLS) ProtoMessage added in v0.3.7

func (*MPLS) ProtoMessage()

func (*MPLS) Reset added in v0.3.7

func (m *MPLS) Reset()

func (*MPLS) SetPacketContext added in v0.4.2

func (a *MPLS) SetPacketContext(_ *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*MPLS) Size added in v0.3.9

func (m *MPLS) Size() (n int)

func (*MPLS) Src added in v0.4.3

func (a *MPLS) Src() string

Src returns the source address of the audit record.

func (*MPLS) String added in v0.3.7

func (m *MPLS) String() string

func (*MPLS) Time added in v0.4.3

func (a *MPLS) Time() int64

Time returns the timestamp associated with the audit record.

func (*MPLS) Unmarshal added in v0.3.9

func (m *MPLS) Unmarshal(dAtA []byte) error

func (*MPLS) XXX_DiscardUnknown added in v0.3.7

func (m *MPLS) XXX_DiscardUnknown()

func (*MPLS) XXX_Marshal added in v0.3.7

func (m *MPLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MPLS) XXX_Merge added in v0.3.7

func (m *MPLS) XXX_Merge(src proto.Message)

func (*MPLS) XXX_Size added in v0.3.7

func (m *MPLS) XXX_Size() int

func (*MPLS) XXX_Unmarshal added in v0.3.7

func (m *MPLS) XXX_Unmarshal(b []byte) error

type Mail added in v0.6.6

type Mail struct {
	Timestamp       int64       `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ReturnPath      string      `protobuf:"bytes,2,opt,name=ReturnPath,proto3" json:"ReturnPath,omitempty"`
	From            string      `protobuf:"bytes,3,opt,name=From,proto3" json:"From,omitempty"`
	To              string      `protobuf:"bytes,4,opt,name=To,proto3" json:"To,omitempty"`
	CC              string      `protobuf:"bytes,5,opt,name=CC,proto3" json:"CC,omitempty"`
	Subject         string      `protobuf:"bytes,6,opt,name=Subject,proto3" json:"Subject,omitempty"`
	Date            string      `protobuf:"bytes,7,opt,name=Date,proto3" json:"Date,omitempty"`
	MessageID       string      `protobuf:"bytes,8,opt,name=MessageID,proto3" json:"MessageID,omitempty"`
	References      string      `protobuf:"bytes,9,opt,name=References,proto3" json:"References,omitempty"`
	InReplyTo       string      `protobuf:"bytes,10,opt,name=InReplyTo,proto3" json:"InReplyTo,omitempty"`
	ContentLanguage string      `protobuf:"bytes,11,opt,name=ContentLanguage,proto3" json:"ContentLanguage,omitempty"`
	HasAttachments  bool        `protobuf:"varint,12,opt,name=HasAttachments,proto3" json:"HasAttachments,omitempty"`
	XOriginatingIP  string      `protobuf:"bytes,13,opt,name=XOriginatingIP,proto3" json:"XOriginatingIP,omitempty"`
	ContentType     string      `protobuf:"bytes,14,opt,name=ContentType,proto3" json:"ContentType,omitempty"`
	EnvelopeTo      string      `protobuf:"bytes,15,opt,name=EnvelopeTo,proto3" json:"EnvelopeTo,omitempty"`
	Body            []*MailPart `protobuf:"bytes,16,rep,name=Body,proto3" json:"Body,omitempty"`
	ClientIP        string      `protobuf:"bytes,17,opt,name=ClientIP,proto3" json:"ClientIP,omitempty"`
	ServerIP        string      `protobuf:"bytes,18,opt,name=ServerIP,proto3" json:"ServerIP,omitempty"`
	ID              string      `protobuf:"bytes,19,opt,name=ID,proto3" json:"ID,omitempty"`
	DeliveryDate    string      `protobuf:"bytes,20,opt,name=DeliveryDate,proto3" json:"DeliveryDate,omitempty"`
	Origin          string      `protobuf:"bytes,21,opt,name=Origin,proto3" json:"Origin,omitempty"`
}

func (*Mail) Analyze added in v0.6.6

func (d *Mail) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Mail) CSVHeader added in v0.6.6

func (d *Mail) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Mail) CSVRecord added in v0.6.6

func (d *Mail) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Mail) Descriptor added in v0.6.6

func (*Mail) Descriptor() ([]byte, []int)

func (*Mail) Dst added in v0.6.6

func (d *Mail) Dst() string

Dst returns the destination address of the audit record.

func (*Mail) Encode added in v0.6.6

func (d *Mail) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Mail) GetBody added in v0.6.6

func (m *Mail) GetBody() []*MailPart

func (*Mail) GetCC added in v0.6.6

func (m *Mail) GetCC() string

func (*Mail) GetClientIP added in v0.6.6

func (m *Mail) GetClientIP() string

func (*Mail) GetContentLanguage added in v0.6.6

func (m *Mail) GetContentLanguage() string

func (*Mail) GetContentType added in v0.6.6

func (m *Mail) GetContentType() string

func (*Mail) GetDate added in v0.6.6

func (m *Mail) GetDate() string

func (*Mail) GetDeliveryDate added in v0.6.6

func (m *Mail) GetDeliveryDate() string

func (*Mail) GetEnvelopeTo added in v0.6.6

func (m *Mail) GetEnvelopeTo() string

func (*Mail) GetFrom added in v0.6.6

func (m *Mail) GetFrom() string

func (*Mail) GetHasAttachments added in v0.6.6

func (m *Mail) GetHasAttachments() bool

func (*Mail) GetID added in v0.6.6

func (m *Mail) GetID() string

func (*Mail) GetInReplyTo added in v0.6.6

func (m *Mail) GetInReplyTo() string

func (*Mail) GetMessageID added in v0.6.6

func (m *Mail) GetMessageID() string

func (*Mail) GetOrigin added in v0.6.6

func (m *Mail) GetOrigin() string

func (*Mail) GetReferences added in v0.6.6

func (m *Mail) GetReferences() string

func (*Mail) GetReturnPath added in v0.6.6

func (m *Mail) GetReturnPath() string

func (*Mail) GetServerIP added in v0.6.6

func (m *Mail) GetServerIP() string

func (*Mail) GetSubject added in v0.6.6

func (m *Mail) GetSubject() string

func (*Mail) GetTimestamp added in v0.6.6

func (m *Mail) GetTimestamp() int64

func (*Mail) GetTo added in v0.6.6

func (m *Mail) GetTo() string

func (*Mail) GetXOriginatingIP added in v0.6.6

func (m *Mail) GetXOriginatingIP() string

func (*Mail) Inc added in v0.6.6

func (d *Mail) Inc()

Inc increments the metrics for the audit record.

func (*Mail) JSON added in v0.6.6

func (d *Mail) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Mail) Marshal added in v0.6.6

func (m *Mail) Marshal() (dAtA []byte, err error)

func (*Mail) MarshalTo added in v0.6.6

func (m *Mail) MarshalTo(dAtA []byte) (int, error)

func (*Mail) MarshalToSizedBuffer added in v0.6.6

func (m *Mail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Mail) NetcapType added in v0.6.6

func (d *Mail) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Mail) ProtoMessage added in v0.6.6

func (*Mail) ProtoMessage()

func (*Mail) Reset added in v0.6.6

func (m *Mail) Reset()

func (*Mail) SetPacketContext added in v0.6.6

func (d *Mail) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Mail) Size added in v0.6.6

func (m *Mail) Size() (n int)

func (*Mail) Src added in v0.6.6

func (d *Mail) Src() string

Src returns the source address of the audit record.

func (*Mail) String added in v0.6.6

func (m *Mail) String() string

func (*Mail) Time added in v0.6.6

func (d *Mail) Time() int64

Time returns the timestamp associated with the audit record.

func (*Mail) Unmarshal added in v0.6.6

func (m *Mail) Unmarshal(dAtA []byte) error

func (*Mail) XXX_DiscardUnknown added in v0.6.6

func (m *Mail) XXX_DiscardUnknown()

func (*Mail) XXX_Marshal added in v0.6.6

func (m *Mail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mail) XXX_Merge added in v0.6.6

func (m *Mail) XXX_Merge(src proto.Message)

func (*Mail) XXX_Size added in v0.6.6

func (m *Mail) XXX_Size() int

func (*Mail) XXX_Unmarshal added in v0.6.6

func (m *Mail) XXX_Unmarshal(b []byte) error

type MailPart added in v0.6.6

type MailPart struct {
	ID       string            `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Header   map[string]string `` /* 153-byte string literal not displayed */
	Content  string            `protobuf:"bytes,3,opt,name=Content,proto3" json:"Content,omitempty"`
	Filename string            `protobuf:"bytes,4,opt,name=Filename,proto3" json:"Filename,omitempty"`
}

func (*MailPart) Descriptor added in v0.6.6

func (*MailPart) Descriptor() ([]byte, []int)

func (*MailPart) GetContent added in v0.6.6

func (m *MailPart) GetContent() string

func (*MailPart) GetFilename added in v0.6.6

func (m *MailPart) GetFilename() string

func (*MailPart) GetHeader added in v0.6.6

func (m *MailPart) GetHeader() map[string]string

func (*MailPart) GetID added in v0.6.6

func (m *MailPart) GetID() string

func (*MailPart) Marshal added in v0.6.6

func (m *MailPart) Marshal() (dAtA []byte, err error)

func (*MailPart) MarshalTo added in v0.6.6

func (m *MailPart) MarshalTo(dAtA []byte) (int, error)

func (*MailPart) MarshalToSizedBuffer added in v0.6.6

func (m *MailPart) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MailPart) ProtoMessage added in v0.6.6

func (*MailPart) ProtoMessage()

func (*MailPart) Reset added in v0.6.6

func (m *MailPart) Reset()

func (*MailPart) Size added in v0.6.6

func (m *MailPart) Size() (n int)

func (*MailPart) String added in v0.6.6

func (m *MailPart) String() string

func (*MailPart) Unmarshal added in v0.6.6

func (m *MailPart) Unmarshal(dAtA []byte) error

func (*MailPart) XXX_DiscardUnknown added in v0.6.6

func (m *MailPart) XXX_DiscardUnknown()

func (*MailPart) XXX_Marshal added in v0.6.6

func (m *MailPart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MailPart) XXX_Merge added in v0.6.6

func (m *MailPart) XXX_Merge(src proto.Message)

func (*MailPart) XXX_Size added in v0.6.6

func (m *MailPart) XXX_Size() int

func (*MailPart) XXX_Unmarshal added in v0.6.6

func (m *MailPart) XXX_Unmarshal(b []byte) error

type Modbus added in v0.4.3

type Modbus struct {
	Timestamp     int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	TransactionID int32  `protobuf:"varint,2,opt,name=TransactionID,proto3" json:"TransactionID,omitempty"`
	ProtocolID    int32  `protobuf:"varint,3,opt,name=ProtocolID,proto3" json:"ProtocolID,omitempty"`
	Length        int32  `protobuf:"varint,4,opt,name=Length,proto3" json:"Length,omitempty"`
	UnitID        int32  `protobuf:"varint,5,opt,name=UnitID,proto3" json:"UnitID,omitempty"`
	Payload       []byte `protobuf:"bytes,6,opt,name=Payload,proto3" json:"Payload,omitempty"`
	Exception     bool   `protobuf:"varint,7,opt,name=Exception,proto3" json:"Exception,omitempty"`
	FunctionCode  int32  `protobuf:"varint,8,opt,name=FunctionCode,proto3" json:"FunctionCode,omitempty"`
	// in case of ModbusTCP:
	SrcIP   string `protobuf:"bytes,9,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP   string `protobuf:"bytes,10,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort int32  `protobuf:"varint,11,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort int32  `protobuf:"varint,12,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

Modbus is a serial communications protocol originally published by Modicon (now Schneider Electric) in 1979 for use with its programmable logic controllers (PLCs). Modbus has become a de facto standard communication protocol and is now a commonly available means of connecting industrial electronic devices. Modbus is popular in industrial environments because it is openly published and royalty-free. It was developed for industrial applications, is relatively easy to deploy and maintain compared to other standards, and places few restrictions other than the size on the format of the data to be transmitted. The Modbus uses the RS485 as its physical layer. It is possible to use the DC-BUS as power line communication physical layer to save wires.

func (*Modbus) Analyze added in v0.6.6

func (a *Modbus) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Modbus) CSVHeader added in v0.4.3

func (a *Modbus) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Modbus) CSVRecord added in v0.4.3

func (a *Modbus) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Modbus) Descriptor added in v0.4.3

func (*Modbus) Descriptor() ([]byte, []int)

func (*Modbus) Dst added in v0.4.3

func (a *Modbus) Dst() string

Dst returns the destination address of the audit record.

func (*Modbus) Encode added in v0.6.6

func (a *Modbus) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Modbus) GetDstIP added in v0.6.6

func (m *Modbus) GetDstIP() string

func (*Modbus) GetDstPort added in v0.6.6

func (m *Modbus) GetDstPort() int32

func (*Modbus) GetException added in v0.4.3

func (m *Modbus) GetException() bool

func (*Modbus) GetFunctionCode added in v0.4.3

func (m *Modbus) GetFunctionCode() int32

func (*Modbus) GetLength added in v0.4.3

func (m *Modbus) GetLength() int32

func (*Modbus) GetPayload added in v0.4.3

func (m *Modbus) GetPayload() []byte

func (*Modbus) GetProtocolID added in v0.4.3

func (m *Modbus) GetProtocolID() int32

func (*Modbus) GetSrcIP added in v0.6.6

func (m *Modbus) GetSrcIP() string

func (*Modbus) GetSrcPort added in v0.6.6

func (m *Modbus) GetSrcPort() int32

func (*Modbus) GetTimestamp added in v0.4.3

func (m *Modbus) GetTimestamp() int64

func (*Modbus) GetTransactionID added in v0.4.3

func (m *Modbus) GetTransactionID() int32

func (*Modbus) GetUnitID added in v0.4.3

func (m *Modbus) GetUnitID() int32

func (*Modbus) Inc added in v0.4.3

func (a *Modbus) Inc()

Inc increments the metrics for the audit record.

func (*Modbus) JSON added in v0.4.3

func (a *Modbus) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Modbus) Marshal added in v0.4.3

func (m *Modbus) Marshal() (dAtA []byte, err error)

func (*Modbus) MarshalTo added in v0.4.3

func (m *Modbus) MarshalTo(dAtA []byte) (int, error)

func (*Modbus) MarshalToSizedBuffer added in v0.6.6

func (m *Modbus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Modbus) NetcapType added in v0.6.6

func (a *Modbus) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Modbus) ProtoMessage added in v0.4.3

func (*Modbus) ProtoMessage()

func (*Modbus) Reset added in v0.4.3

func (m *Modbus) Reset()

func (*Modbus) SetPacketContext added in v0.4.3

func (a *Modbus) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Modbus) Size added in v0.4.3

func (m *Modbus) Size() (n int)

func (*Modbus) Src added in v0.4.3

func (a *Modbus) Src() string

Src returns the source address of the audit record.

func (*Modbus) String added in v0.4.3

func (m *Modbus) String() string

func (*Modbus) Time added in v0.4.3

func (a *Modbus) Time() int64

Time returns the timestamp associated with the audit record.

func (*Modbus) Unmarshal added in v0.4.3

func (m *Modbus) Unmarshal(dAtA []byte) error

func (*Modbus) XXX_DiscardUnknown added in v0.4.3

func (m *Modbus) XXX_DiscardUnknown()

func (*Modbus) XXX_Marshal added in v0.4.3

func (m *Modbus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Modbus) XXX_Merge added in v0.4.3

func (m *Modbus) XXX_Merge(src proto.Message)

func (*Modbus) XXX_Size added in v0.4.3

func (m *Modbus) XXX_Size() int

func (*Modbus) XXX_Unmarshal added in v0.4.3

func (m *Modbus) XXX_Unmarshal(b []byte) error

type NTP

type NTP struct {
	Timestamp          int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	LeapIndicator      int32  `protobuf:"varint,2,opt,name=LeapIndicator,proto3" json:"LeapIndicator,omitempty"`
	Version            int32  `protobuf:"varint,3,opt,name=Version,proto3" json:"Version,omitempty"`
	Mode               int32  `protobuf:"varint,4,opt,name=Mode,proto3" json:"Mode,omitempty"`
	Stratum            int32  `protobuf:"varint,5,opt,name=Stratum,proto3" json:"Stratum,omitempty"`
	Poll               int32  `protobuf:"varint,6,opt,name=Poll,proto3" json:"Poll,omitempty"`
	Precision          int32  `protobuf:"varint,7,opt,name=Precision,proto3" json:"Precision,omitempty"`
	RootDelay          uint32 `protobuf:"varint,8,opt,name=RootDelay,proto3" json:"RootDelay,omitempty"`
	RootDispersion     uint32 `protobuf:"varint,9,opt,name=RootDispersion,proto3" json:"RootDispersion,omitempty"`
	ReferenceID        uint32 `protobuf:"varint,10,opt,name=ReferenceID,proto3" json:"ReferenceID,omitempty"`
	ReferenceTimestamp uint64 `protobuf:"varint,11,opt,name=ReferenceTimestamp,proto3" json:"ReferenceTimestamp,omitempty"`
	OriginTimestamp    uint64 `protobuf:"varint,12,opt,name=OriginTimestamp,proto3" json:"OriginTimestamp,omitempty"`
	ReceiveTimestamp   uint64 `protobuf:"varint,13,opt,name=ReceiveTimestamp,proto3" json:"ReceiveTimestamp,omitempty"`
	TransmitTimestamp  uint64 `protobuf:"varint,14,opt,name=TransmitTimestamp,proto3" json:"TransmitTimestamp,omitempty"`
	ExtensionBytes     []byte `protobuf:"bytes,15,opt,name=ExtensionBytes,proto3" json:"ExtensionBytes,omitempty"`
	SrcIP              string `protobuf:"bytes,16,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP              string `protobuf:"bytes,17,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort            int32  `protobuf:"varint,18,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort            int32  `protobuf:"varint,19,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks. In operation since before 1985, NTP is one of the oldest Internet protocols in current use. NTP was designed by David L. Mills of the University of Delaware.

func (*NTP) Analyze added in v0.6.6

func (n *NTP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*NTP) CSVHeader

func (n *NTP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*NTP) CSVRecord

func (n *NTP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*NTP) Descriptor

func (*NTP) Descriptor() ([]byte, []int)

func (*NTP) Dst added in v0.4.3

func (n *NTP) Dst() string

Dst returns the destination address of the audit record.

func (*NTP) Encode added in v0.6.6

func (n *NTP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*NTP) GetDstIP added in v0.6.6

func (m *NTP) GetDstIP() string

func (*NTP) GetDstPort added in v0.6.6

func (m *NTP) GetDstPort() int32

func (*NTP) GetExtensionBytes

func (m *NTP) GetExtensionBytes() []byte

func (*NTP) GetLeapIndicator

func (m *NTP) GetLeapIndicator() int32

func (*NTP) GetMode

func (m *NTP) GetMode() int32

func (*NTP) GetOriginTimestamp

func (m *NTP) GetOriginTimestamp() uint64

func (*NTP) GetPoll

func (m *NTP) GetPoll() int32

func (*NTP) GetPrecision

func (m *NTP) GetPrecision() int32

func (*NTP) GetReceiveTimestamp

func (m *NTP) GetReceiveTimestamp() uint64

func (*NTP) GetReferenceID

func (m *NTP) GetReferenceID() uint32

func (*NTP) GetReferenceTimestamp

func (m *NTP) GetReferenceTimestamp() uint64

func (*NTP) GetRootDelay

func (m *NTP) GetRootDelay() uint32

func (*NTP) GetRootDispersion

func (m *NTP) GetRootDispersion() uint32

func (*NTP) GetSrcIP added in v0.6.6

func (m *NTP) GetSrcIP() string

func (*NTP) GetSrcPort added in v0.6.6

func (m *NTP) GetSrcPort() int32

func (*NTP) GetStratum

func (m *NTP) GetStratum() int32

func (*NTP) GetTimestamp

func (m *NTP) GetTimestamp() int64

func (*NTP) GetTransmitTimestamp

func (m *NTP) GetTransmitTimestamp() uint64

func (*NTP) GetVersion

func (m *NTP) GetVersion() int32

func (*NTP) Inc added in v0.4.0

func (n *NTP) Inc()

Inc increments the metrics for the audit record.

func (*NTP) JSON added in v0.4.0

func (n *NTP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*NTP) Marshal added in v0.3.9

func (m *NTP) Marshal() (dAtA []byte, err error)

func (*NTP) MarshalTo added in v0.3.9

func (m *NTP) MarshalTo(dAtA []byte) (int, error)

func (*NTP) MarshalToSizedBuffer added in v0.6.6

func (m *NTP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NTP) NetcapType added in v0.6.6

func (n *NTP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*NTP) ProtoMessage

func (*NTP) ProtoMessage()

func (*NTP) Reset

func (m *NTP) Reset()

func (*NTP) SetPacketContext added in v0.4.2

func (n *NTP) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*NTP) Size added in v0.3.9

func (m *NTP) Size() (n int)

func (*NTP) Src added in v0.4.3

func (n *NTP) Src() string

Src returns the source address of the audit record.

func (*NTP) String

func (m *NTP) String() string

func (*NTP) Time added in v0.4.3

func (n *NTP) Time() int64

Time returns the timestamp associated with the audit record.

func (*NTP) Unmarshal added in v0.3.9

func (m *NTP) Unmarshal(dAtA []byte) error

func (*NTP) XXX_DiscardUnknown

func (m *NTP) XXX_DiscardUnknown()

func (*NTP) XXX_Marshal

func (m *NTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NTP) XXX_Merge

func (m *NTP) XXX_Merge(src proto.Message)

func (*NTP) XXX_Size

func (m *NTP) XXX_Size() int

func (*NTP) XXX_Unmarshal

func (m *NTP) XXX_Unmarshal(b []byte) error

type NetworkLSA added in v0.3.9

type NetworkLSA struct {
	Options        uint32   `protobuf:"varint,1,opt,name=Options,proto3" json:"Options,omitempty"`
	AttachedRouter []uint32 `protobuf:"varint,2,rep,packed,name=AttachedRouter,proto3" json:"AttachedRouter,omitempty"`
}

func (*NetworkLSA) Descriptor added in v0.3.9

func (*NetworkLSA) Descriptor() ([]byte, []int)

func (*NetworkLSA) GetAttachedRouter added in v0.3.9

func (m *NetworkLSA) GetAttachedRouter() []uint32

func (*NetworkLSA) GetOptions added in v0.3.9

func (m *NetworkLSA) GetOptions() uint32

func (*NetworkLSA) Marshal added in v0.3.9

func (m *NetworkLSA) Marshal() (dAtA []byte, err error)

func (*NetworkLSA) MarshalTo added in v0.3.9

func (m *NetworkLSA) MarshalTo(dAtA []byte) (int, error)

func (*NetworkLSA) MarshalToSizedBuffer added in v0.6.6

func (m *NetworkLSA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkLSA) ProtoMessage added in v0.3.9

func (*NetworkLSA) ProtoMessage()

func (*NetworkLSA) Reset added in v0.3.9

func (m *NetworkLSA) Reset()

func (*NetworkLSA) Size added in v0.3.9

func (m *NetworkLSA) Size() (n int)

func (*NetworkLSA) String added in v0.3.9

func (m *NetworkLSA) String() string

func (*NetworkLSA) Unmarshal added in v0.3.9

func (m *NetworkLSA) Unmarshal(dAtA []byte) error

func (*NetworkLSA) XXX_DiscardUnknown added in v0.3.9

func (m *NetworkLSA) XXX_DiscardUnknown()

func (*NetworkLSA) XXX_Marshal added in v0.3.9

func (m *NetworkLSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkLSA) XXX_Merge added in v0.3.9

func (m *NetworkLSA) XXX_Merge(src proto.Message)

func (*NetworkLSA) XXX_Size added in v0.3.9

func (m *NetworkLSA) XXX_Size() int

func (*NetworkLSA) XXX_Unmarshal added in v0.3.9

func (m *NetworkLSA) XXX_Unmarshal(b []byte) error

type NortelDiscovery added in v0.3.9

type NortelDiscovery struct {
	Timestamp int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	IPAddress string `protobuf:"bytes,2,opt,name=IPAddress,proto3" json:"IPAddress,omitempty"`
	SegmentID []byte `protobuf:"bytes,3,opt,name=SegmentID,proto3" json:"SegmentID,omitempty"`
	Chassis   int32  `protobuf:"varint,4,opt,name=Chassis,proto3" json:"Chassis,omitempty"`
	Backplane int32  `protobuf:"varint,5,opt,name=Backplane,proto3" json:"Backplane,omitempty"`
	State     int32  `protobuf:"varint,6,opt,name=State,proto3" json:"State,omitempty"`
	NumLinks  int32  `protobuf:"varint,7,opt,name=NumLinks,proto3" json:"NumLinks,omitempty"`
	SrcMac    string `protobuf:"bytes,8,opt,name=SrcMac,proto3" json:"SrcMac,omitempty"`
	DstMac    string `protobuf:"bytes,9,opt,name=DstMac,proto3" json:"DstMac,omitempty"`
}

The Nortel Discovery Protocol (NDP) is a Data Link Layer (OSI Layer 2) network protocol for discovery of Nortel networking devices and certain products from Avaya and Ciena. The device and topology information may be graphically displayed network management software.

func (*NortelDiscovery) Analyze added in v0.6.6

func (a *NortelDiscovery) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*NortelDiscovery) CSVHeader added in v0.3.9

func (a *NortelDiscovery) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*NortelDiscovery) CSVRecord added in v0.3.9

func (a *NortelDiscovery) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*NortelDiscovery) Descriptor added in v0.3.9

func (*NortelDiscovery) Descriptor() ([]byte, []int)

func (*NortelDiscovery) Dst added in v0.4.3

func (a *NortelDiscovery) Dst() string

Dst returns the destination address of the audit record.

func (*NortelDiscovery) Encode added in v0.6.6

func (a *NortelDiscovery) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*NortelDiscovery) GetBackplane added in v0.3.9

func (m *NortelDiscovery) GetBackplane() int32

func (*NortelDiscovery) GetChassis added in v0.3.9

func (m *NortelDiscovery) GetChassis() int32

func (*NortelDiscovery) GetDstMac added in v0.6.6

func (m *NortelDiscovery) GetDstMac() string

func (*NortelDiscovery) GetIPAddress added in v0.3.9

func (m *NortelDiscovery) GetIPAddress() string
func (m *NortelDiscovery) GetNumLinks() int32

func (*NortelDiscovery) GetSegmentID added in v0.3.9

func (m *NortelDiscovery) GetSegmentID() []byte

func (*NortelDiscovery) GetSrcMac added in v0.6.6

func (m *NortelDiscovery) GetSrcMac() string

func (*NortelDiscovery) GetState added in v0.3.9

func (m *NortelDiscovery) GetState() int32

func (*NortelDiscovery) GetTimestamp added in v0.3.9

func (m *NortelDiscovery) GetTimestamp() int64

func (*NortelDiscovery) Inc added in v0.4.0

func (a *NortelDiscovery) Inc()

Inc increments the metrics for the audit record.

func (*NortelDiscovery) JSON added in v0.4.0

func (a *NortelDiscovery) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*NortelDiscovery) Marshal added in v0.3.9

func (m *NortelDiscovery) Marshal() (dAtA []byte, err error)

func (*NortelDiscovery) MarshalTo added in v0.3.9

func (m *NortelDiscovery) MarshalTo(dAtA []byte) (int, error)

func (*NortelDiscovery) MarshalToSizedBuffer added in v0.6.6

func (m *NortelDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NortelDiscovery) NetcapType added in v0.6.6

func (a *NortelDiscovery) NetcapType() Type

NetcapType returns the type of the current audit record

func (*NortelDiscovery) ProtoMessage added in v0.3.9

func (*NortelDiscovery) ProtoMessage()

func (*NortelDiscovery) Reset added in v0.3.9

func (m *NortelDiscovery) Reset()

func (*NortelDiscovery) SetPacketContext added in v0.4.2

func (a *NortelDiscovery) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*NortelDiscovery) Size added in v0.3.9

func (m *NortelDiscovery) Size() (n int)

func (*NortelDiscovery) Src added in v0.4.3

func (a *NortelDiscovery) Src() string

Src TODO. Src returns the source address of the audit record.

func (*NortelDiscovery) String added in v0.3.9

func (m *NortelDiscovery) String() string

func (*NortelDiscovery) Time added in v0.4.3

func (a *NortelDiscovery) Time() int64

Time returns the timestamp associated with the audit record.

func (*NortelDiscovery) Unmarshal added in v0.3.9

func (m *NortelDiscovery) Unmarshal(dAtA []byte) error

func (*NortelDiscovery) XXX_DiscardUnknown added in v0.3.9

func (m *NortelDiscovery) XXX_DiscardUnknown()

func (*NortelDiscovery) XXX_Marshal added in v0.3.9

func (m *NortelDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NortelDiscovery) XXX_Merge added in v0.3.9

func (m *NortelDiscovery) XXX_Merge(src proto.Message)

func (*NortelDiscovery) XXX_Size added in v0.3.9

func (m *NortelDiscovery) XXX_Size() int

func (*NortelDiscovery) XXX_Unmarshal added in v0.3.9

func (m *NortelDiscovery) XXX_Unmarshal(b []byte) error

type OSPFv2 added in v0.3.7

type OSPFv2 struct {
	Timestamp      int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Version        int32  `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	Type           int32  `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
	PacketLength   int32  `protobuf:"varint,4,opt,name=PacketLength,proto3" json:"PacketLength,omitempty"`
	RouterID       uint32 `protobuf:"varint,5,opt,name=RouterID,proto3" json:"RouterID,omitempty"`
	AreaID         uint32 `protobuf:"varint,6,opt,name=AreaID,proto3" json:"AreaID,omitempty"`
	Checksum       int32  `protobuf:"varint,7,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	AuType         int32  `protobuf:"varint,8,opt,name=AuType,proto3" json:"AuType,omitempty"`
	Authentication int64  `protobuf:"varint,9,opt,name=Authentication,proto3" json:"Authentication,omitempty"`
	// interface Content
	LSAs    []*LSAheader `protobuf:"bytes,10,rep,name=LSAs,proto3" json:"LSAs,omitempty"`
	LSU     *LSUpdate    `protobuf:"bytes,11,opt,name=LSU,proto3" json:"LSU,omitempty"`
	LSR     []*LSReq     `protobuf:"bytes,12,rep,name=LSR,proto3" json:"LSR,omitempty"`
	DbDesc  *DbDescPkg   `protobuf:"bytes,13,opt,name=DbDesc,proto3" json:"DbDesc,omitempty"`
	HelloV2 *HelloPkgV2  `protobuf:"bytes,14,opt,name=HelloV2,proto3" json:"HelloV2,omitempty"`
	SrcIP   string       `protobuf:"bytes,15,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP   string       `protobuf:"bytes,16,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

Open Shortest Path First (OSPF) is a routing protocol for Internet Protocol (IP) networks. It uses a link state routing (LSR) algorithm and falls into the group of interior gateway protocols (IGPs), operating within a single autonomous system (AS). OSPFv2 is defined as OSPF Version 2 in RFC 2328 (1998) for IPv4.

func (*OSPFv2) Analyze added in v0.6.6

func (a *OSPFv2) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*OSPFv2) CSVHeader added in v0.3.7

func (a *OSPFv2) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*OSPFv2) CSVRecord added in v0.3.7

func (a *OSPFv2) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*OSPFv2) Descriptor added in v0.3.7

func (*OSPFv2) Descriptor() ([]byte, []int)

func (*OSPFv2) Dst added in v0.4.3

func (a *OSPFv2) Dst() string

Dst returns the destination address of the audit record.

func (*OSPFv2) Encode added in v0.6.6

func (a *OSPFv2) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*OSPFv2) GetAreaID added in v0.3.7

func (m *OSPFv2) GetAreaID() uint32

func (*OSPFv2) GetAuType added in v0.3.7

func (m *OSPFv2) GetAuType() int32

func (*OSPFv2) GetAuthentication added in v0.3.7

func (m *OSPFv2) GetAuthentication() int64

func (*OSPFv2) GetChecksum added in v0.3.7

func (m *OSPFv2) GetChecksum() int32

func (*OSPFv2) GetDbDesc added in v0.3.9

func (m *OSPFv2) GetDbDesc() *DbDescPkg

func (*OSPFv2) GetDstIP added in v0.6.6

func (m *OSPFv2) GetDstIP() string

func (*OSPFv2) GetHelloV2 added in v0.3.9

func (m *OSPFv2) GetHelloV2() *HelloPkgV2

func (*OSPFv2) GetLSAs added in v0.3.9

func (m *OSPFv2) GetLSAs() []*LSAheader

func (*OSPFv2) GetLSR added in v0.3.9

func (m *OSPFv2) GetLSR() []*LSReq

func (*OSPFv2) GetLSU added in v0.3.9

func (m *OSPFv2) GetLSU() *LSUpdate

func (*OSPFv2) GetPacketLength added in v0.3.7

func (m *OSPFv2) GetPacketLength() int32

func (*OSPFv2) GetRouterID added in v0.3.7

func (m *OSPFv2) GetRouterID() uint32

func (*OSPFv2) GetSrcIP added in v0.6.6

func (m *OSPFv2) GetSrcIP() string

func (*OSPFv2) GetTimestamp added in v0.3.7

func (m *OSPFv2) GetTimestamp() int64

func (*OSPFv2) GetType added in v0.3.7

func (m *OSPFv2) GetType() int32

func (*OSPFv2) GetVersion added in v0.3.7

func (m *OSPFv2) GetVersion() int32

func (*OSPFv2) Inc added in v0.4.0

func (a *OSPFv2) Inc()

Inc increments the metrics for the audit record.

func (*OSPFv2) JSON added in v0.4.1

func (a *OSPFv2) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*OSPFv2) Marshal added in v0.3.9

func (m *OSPFv2) Marshal() (dAtA []byte, err error)

func (*OSPFv2) MarshalTo added in v0.3.9

func (m *OSPFv2) MarshalTo(dAtA []byte) (int, error)

func (*OSPFv2) MarshalToSizedBuffer added in v0.6.6

func (m *OSPFv2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OSPFv2) NetcapType added in v0.6.6

func (n *OSPFv2) NetcapType() Type

NetcapType returns the type of the current audit record

func (*OSPFv2) ProtoMessage added in v0.3.7

func (*OSPFv2) ProtoMessage()

func (*OSPFv2) Reset added in v0.3.7

func (m *OSPFv2) Reset()

func (*OSPFv2) SetPacketContext added in v0.4.2

func (a *OSPFv2) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*OSPFv2) Size added in v0.3.9

func (m *OSPFv2) Size() (n int)

func (*OSPFv2) Src added in v0.4.3

func (a *OSPFv2) Src() string

Src returns the source address of the audit record.

func (*OSPFv2) String added in v0.3.7

func (m *OSPFv2) String() string

func (*OSPFv2) Time added in v0.4.3

func (a *OSPFv2) Time() int64

Time returns the timestamp associated with the audit record.

func (*OSPFv2) Unmarshal added in v0.3.9

func (m *OSPFv2) Unmarshal(dAtA []byte) error

func (*OSPFv2) XXX_DiscardUnknown added in v0.3.7

func (m *OSPFv2) XXX_DiscardUnknown()

func (*OSPFv2) XXX_Marshal added in v0.3.7

func (m *OSPFv2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OSPFv2) XXX_Merge added in v0.3.7

func (m *OSPFv2) XXX_Merge(src proto.Message)

func (*OSPFv2) XXX_Size added in v0.3.7

func (m *OSPFv2) XXX_Size() int

func (*OSPFv2) XXX_Unmarshal added in v0.3.7

func (m *OSPFv2) XXX_Unmarshal(b []byte) error

type OSPFv3 added in v0.3.7

type OSPFv3 struct {
	Timestamp    int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Version      int32  `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	Type         int32  `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
	PacketLength int32  `protobuf:"varint,4,opt,name=PacketLength,proto3" json:"PacketLength,omitempty"`
	RouterID     uint32 `protobuf:"varint,5,opt,name=RouterID,proto3" json:"RouterID,omitempty"`
	AreaID       uint32 `protobuf:"varint,6,opt,name=AreaID,proto3" json:"AreaID,omitempty"`
	Checksum     int32  `protobuf:"varint,7,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	Instance     int32  `protobuf:"varint,8,opt,name=Instance,proto3" json:"Instance,omitempty"`
	Reserved     int32  `protobuf:"varint,9,opt,name=Reserved,proto3" json:"Reserved,omitempty"`
	// interface Content
	Hello  *HelloPkg    `protobuf:"bytes,10,opt,name=Hello,proto3" json:"Hello,omitempty"`
	DbDesc *DbDescPkg   `protobuf:"bytes,11,opt,name=DbDesc,proto3" json:"DbDesc,omitempty"`
	LSR    []*LSReq     `protobuf:"bytes,12,rep,name=LSR,proto3" json:"LSR,omitempty"`
	LSU    *LSUpdate    `protobuf:"bytes,13,opt,name=LSU,proto3" json:"LSU,omitempty"`
	LSAs   []*LSAheader `protobuf:"bytes,14,rep,name=LSAs,proto3" json:"LSAs,omitempty"`
	SrcIP  string       `protobuf:"bytes,15,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP  string       `protobuf:"bytes,16,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

Open Shortest Path First (OSPF) is a routing protocol for Internet Protocol (IP) networks. It uses a link state routing (LSR) algorithm and falls into the group of interior gateway protocols (IGPs), operating within a single autonomous system (AS). The updates for IPv6 are specified as OSPF Version 3 in RFC 5340 (2008).

func (*OSPFv3) Analyze added in v0.6.6

func (a *OSPFv3) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*OSPFv3) CSVHeader added in v0.3.7

func (a *OSPFv3) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*OSPFv3) CSVRecord added in v0.3.7

func (a *OSPFv3) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*OSPFv3) Descriptor added in v0.3.7

func (*OSPFv3) Descriptor() ([]byte, []int)

func (*OSPFv3) Dst added in v0.4.3

func (a *OSPFv3) Dst() string

Dst returns the destination address of the audit record.

func (*OSPFv3) Encode added in v0.6.6

func (a *OSPFv3) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*OSPFv3) GetAreaID added in v0.3.7

func (m *OSPFv3) GetAreaID() uint32

func (*OSPFv3) GetChecksum added in v0.3.7

func (m *OSPFv3) GetChecksum() int32

func (*OSPFv3) GetDbDesc added in v0.3.9

func (m *OSPFv3) GetDbDesc() *DbDescPkg

func (*OSPFv3) GetDstIP added in v0.6.6

func (m *OSPFv3) GetDstIP() string

func (*OSPFv3) GetHello added in v0.3.9

func (m *OSPFv3) GetHello() *HelloPkg

func (*OSPFv3) GetInstance added in v0.3.7

func (m *OSPFv3) GetInstance() int32

func (*OSPFv3) GetLSAs added in v0.3.9

func (m *OSPFv3) GetLSAs() []*LSAheader

func (*OSPFv3) GetLSR added in v0.3.9

func (m *OSPFv3) GetLSR() []*LSReq

func (*OSPFv3) GetLSU added in v0.3.9

func (m *OSPFv3) GetLSU() *LSUpdate

func (*OSPFv3) GetPacketLength added in v0.3.7

func (m *OSPFv3) GetPacketLength() int32

func (*OSPFv3) GetReserved added in v0.3.7

func (m *OSPFv3) GetReserved() int32

func (*OSPFv3) GetRouterID added in v0.3.7

func (m *OSPFv3) GetRouterID() uint32

func (*OSPFv3) GetSrcIP added in v0.6.6

func (m *OSPFv3) GetSrcIP() string

func (*OSPFv3) GetTimestamp added in v0.3.7

func (m *OSPFv3) GetTimestamp() int64

func (*OSPFv3) GetType added in v0.3.7

func (m *OSPFv3) GetType() int32

func (*OSPFv3) GetVersion added in v0.3.7

func (m *OSPFv3) GetVersion() int32

func (*OSPFv3) Inc added in v0.4.0

func (a *OSPFv3) Inc()

Inc increments the metrics for the audit record.

func (*OSPFv3) JSON added in v0.4.1

func (a *OSPFv3) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*OSPFv3) Marshal added in v0.3.9

func (m *OSPFv3) Marshal() (dAtA []byte, err error)

func (*OSPFv3) MarshalTo added in v0.3.9

func (m *OSPFv3) MarshalTo(dAtA []byte) (int, error)

func (*OSPFv3) MarshalToSizedBuffer added in v0.6.6

func (m *OSPFv3) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OSPFv3) NetcapType added in v0.6.6

func (a *OSPFv3) NetcapType() Type

NetcapType returns the type of the current audit record

func (*OSPFv3) ProtoMessage added in v0.3.7

func (*OSPFv3) ProtoMessage()

func (*OSPFv3) Reset added in v0.3.7

func (m *OSPFv3) Reset()

func (*OSPFv3) SetPacketContext added in v0.4.2

func (a *OSPFv3) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*OSPFv3) Size added in v0.3.9

func (m *OSPFv3) Size() (n int)

func (*OSPFv3) Src added in v0.4.3

func (a *OSPFv3) Src() string

Src returns the source address of the audit record.

func (*OSPFv3) String added in v0.3.7

func (m *OSPFv3) String() string

func (*OSPFv3) Time added in v0.4.3

func (a *OSPFv3) Time() int64

Time returns the timestamp associated with the audit record.

func (*OSPFv3) Unmarshal added in v0.3.9

func (m *OSPFv3) Unmarshal(dAtA []byte) error

func (*OSPFv3) XXX_DiscardUnknown added in v0.3.7

func (m *OSPFv3) XXX_DiscardUnknown()

func (*OSPFv3) XXX_Marshal added in v0.3.7

func (m *OSPFv3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OSPFv3) XXX_Merge added in v0.3.7

func (m *OSPFv3) XXX_Merge(src proto.Message)

func (*OSPFv3) XXX_Size added in v0.3.7

func (m *OSPFv3) XXX_Size() int

func (*OSPFv3) XXX_Unmarshal added in v0.3.7

func (m *OSPFv3) XXX_Unmarshal(b []byte) error

type POP3 added in v0.6.6

type POP3 struct {
	Timestamp int64    `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ClientIP  string   `protobuf:"bytes,2,opt,name=ClientIP,proto3" json:"ClientIP,omitempty"`
	ServerIP  string   `protobuf:"bytes,3,opt,name=ServerIP,proto3" json:"ServerIP,omitempty"`
	AuthToken string   `protobuf:"bytes,4,opt,name=AuthToken,proto3" json:"AuthToken,omitempty"`
	User      string   `protobuf:"bytes,5,opt,name=User,proto3" json:"User,omitempty"`
	Pass      string   `protobuf:"bytes,6,opt,name=Pass,proto3" json:"Pass,omitempty"`
	MailIDs   []string `protobuf:"bytes,7,rep,name=MailIDs,proto3" json:"MailIDs,omitempty"`
	Commands  []string `protobuf:"bytes,8,rep,name=Commands,proto3" json:"Commands,omitempty"`
}

func (*POP3) Analyze added in v0.6.6

func (a *POP3) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*POP3) CSVHeader added in v0.6.6

func (a *POP3) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*POP3) CSVRecord added in v0.6.6

func (a *POP3) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*POP3) Descriptor added in v0.6.6

func (*POP3) Descriptor() ([]byte, []int)

func (*POP3) Dst added in v0.6.6

func (a *POP3) Dst() string

Dst returns the destination address of the audit record.

func (*POP3) Encode added in v0.6.6

func (a *POP3) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*POP3) GetAuthToken added in v0.6.6

func (m *POP3) GetAuthToken() string

func (*POP3) GetClientIP added in v0.6.6

func (m *POP3) GetClientIP() string

func (*POP3) GetCommands added in v0.6.6

func (m *POP3) GetCommands() []string

func (*POP3) GetMailIDs added in v0.6.6

func (m *POP3) GetMailIDs() []string

func (*POP3) GetPass added in v0.6.6

func (m *POP3) GetPass() string

func (*POP3) GetServerIP added in v0.6.6

func (m *POP3) GetServerIP() string

func (*POP3) GetTimestamp added in v0.6.6

func (m *POP3) GetTimestamp() int64

func (*POP3) GetUser added in v0.6.6

func (m *POP3) GetUser() string

func (*POP3) Inc added in v0.6.6

func (a *POP3) Inc()

Inc increments the metrics for the audit record.

func (*POP3) JSON added in v0.6.6

func (a *POP3) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*POP3) Marshal added in v0.6.6

func (m *POP3) Marshal() (dAtA []byte, err error)

func (*POP3) MarshalTo added in v0.6.6

func (m *POP3) MarshalTo(dAtA []byte) (int, error)

func (*POP3) MarshalToSizedBuffer added in v0.6.6

func (m *POP3) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*POP3) NetcapType added in v0.6.6

func (a *POP3) NetcapType() Type

NetcapType returns the type of the current audit record

func (*POP3) ProtoMessage added in v0.6.6

func (*POP3) ProtoMessage()

func (*POP3) Reset added in v0.6.6

func (m *POP3) Reset()

func (*POP3) SetPacketContext added in v0.6.6

func (a *POP3) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*POP3) Size added in v0.6.6

func (m *POP3) Size() (n int)

func (*POP3) Src added in v0.6.6

func (a *POP3) Src() string

Src returns the source address of the audit record.

func (*POP3) String added in v0.6.6

func (m *POP3) String() string

func (*POP3) Time added in v0.6.6

func (a *POP3) Time() int64

Time returns the timestamp associated with the audit record.

func (*POP3) Unmarshal added in v0.6.6

func (m *POP3) Unmarshal(dAtA []byte) error

func (*POP3) XXX_DiscardUnknown added in v0.6.6

func (m *POP3) XXX_DiscardUnknown()

func (*POP3) XXX_Marshal added in v0.6.6

func (m *POP3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*POP3) XXX_Merge added in v0.6.6

func (m *POP3) XXX_Merge(src proto.Message)

func (*POP3) XXX_Size added in v0.6.6

func (m *POP3) XXX_Size() int

func (*POP3) XXX_Unmarshal added in v0.6.6

func (m *POP3) XXX_Unmarshal(b []byte) error

type POP3Request added in v0.6.6

type POP3Request struct {
	Command  string `protobuf:"bytes,1,opt,name=Command,proto3" json:"Command,omitempty"`
	Argument string `protobuf:"bytes,2,opt,name=Argument,proto3" json:"Argument,omitempty"`
}

func (*POP3Request) Descriptor added in v0.6.6

func (*POP3Request) Descriptor() ([]byte, []int)

func (*POP3Request) GetArgument added in v0.6.6

func (m *POP3Request) GetArgument() string

func (*POP3Request) GetCommand added in v0.6.6

func (m *POP3Request) GetCommand() string

func (*POP3Request) Marshal added in v0.6.6

func (m *POP3Request) Marshal() (dAtA []byte, err error)

func (*POP3Request) MarshalTo added in v0.6.6

func (m *POP3Request) MarshalTo(dAtA []byte) (int, error)

func (*POP3Request) MarshalToSizedBuffer added in v0.6.6

func (m *POP3Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*POP3Request) ProtoMessage added in v0.6.6

func (*POP3Request) ProtoMessage()

func (*POP3Request) Reset added in v0.6.6

func (m *POP3Request) Reset()

func (*POP3Request) Size added in v0.6.6

func (m *POP3Request) Size() (n int)

func (*POP3Request) String added in v0.6.6

func (m *POP3Request) String() string

func (*POP3Request) Unmarshal added in v0.6.6

func (m *POP3Request) Unmarshal(dAtA []byte) error

func (*POP3Request) XXX_DiscardUnknown added in v0.6.6

func (m *POP3Request) XXX_DiscardUnknown()

func (*POP3Request) XXX_Marshal added in v0.6.6

func (m *POP3Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*POP3Request) XXX_Merge added in v0.6.6

func (m *POP3Request) XXX_Merge(src proto.Message)

func (*POP3Request) XXX_Size added in v0.6.6

func (m *POP3Request) XXX_Size() int

func (*POP3Request) XXX_Unmarshal added in v0.6.6

func (m *POP3Request) XXX_Unmarshal(b []byte) error

type POP3Response added in v0.6.6

type POP3Response struct {
	Command string `protobuf:"bytes,1,opt,name=Command,proto3" json:"Command,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
}

func (*POP3Response) Descriptor added in v0.6.6

func (*POP3Response) Descriptor() ([]byte, []int)

func (*POP3Response) GetCommand added in v0.6.6

func (m *POP3Response) GetCommand() string

func (*POP3Response) GetMessage added in v0.6.6

func (m *POP3Response) GetMessage() string

func (*POP3Response) Marshal added in v0.6.6

func (m *POP3Response) Marshal() (dAtA []byte, err error)

func (*POP3Response) MarshalTo added in v0.6.6

func (m *POP3Response) MarshalTo(dAtA []byte) (int, error)

func (*POP3Response) MarshalToSizedBuffer added in v0.6.6

func (m *POP3Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*POP3Response) ProtoMessage added in v0.6.6

func (*POP3Response) ProtoMessage()

func (*POP3Response) Reset added in v0.6.6

func (m *POP3Response) Reset()

func (*POP3Response) Size added in v0.6.6

func (m *POP3Response) Size() (n int)

func (*POP3Response) String added in v0.6.6

func (m *POP3Response) String() string

func (*POP3Response) Unmarshal added in v0.6.6

func (m *POP3Response) Unmarshal(dAtA []byte) error

func (*POP3Response) XXX_DiscardUnknown added in v0.6.6

func (m *POP3Response) XXX_DiscardUnknown()

func (*POP3Response) XXX_Marshal added in v0.6.6

func (m *POP3Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*POP3Response) XXX_Merge added in v0.6.6

func (m *POP3Response) XXX_Merge(src proto.Message)

func (*POP3Response) XXX_Size added in v0.6.6

func (m *POP3Response) XXX_Size() int

func (*POP3Response) XXX_Unmarshal added in v0.6.6

func (m *POP3Response) XXX_Unmarshal(b []byte) error

type PacketContext added in v0.4.2

type PacketContext struct {
	SrcIP   string `protobuf:"bytes,1,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP   string `protobuf:"bytes,2,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort int32  `protobuf:"varint,3,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort int32  `protobuf:"varint,4,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

func (*PacketContext) Descriptor added in v0.4.2

func (*PacketContext) Descriptor() ([]byte, []int)

func (*PacketContext) GetDstIP added in v0.4.2

func (m *PacketContext) GetDstIP() string

func (*PacketContext) GetDstPort added in v0.4.2

func (m *PacketContext) GetDstPort() int32

func (*PacketContext) GetSrcIP added in v0.4.2

func (m *PacketContext) GetSrcIP() string

func (*PacketContext) GetSrcPort added in v0.4.2

func (m *PacketContext) GetSrcPort() int32

func (*PacketContext) Marshal added in v0.4.2

func (m *PacketContext) Marshal() (dAtA []byte, err error)

func (*PacketContext) MarshalTo added in v0.4.2

func (m *PacketContext) MarshalTo(dAtA []byte) (int, error)

func (*PacketContext) MarshalToSizedBuffer added in v0.6.6

func (m *PacketContext) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PacketContext) ProtoMessage added in v0.4.2

func (*PacketContext) ProtoMessage()

func (*PacketContext) Reset added in v0.4.2

func (m *PacketContext) Reset()

func (*PacketContext) Size added in v0.4.2

func (m *PacketContext) Size() (n int)

func (*PacketContext) String added in v0.4.2

func (m *PacketContext) String() string

func (*PacketContext) Unmarshal added in v0.4.2

func (m *PacketContext) Unmarshal(dAtA []byte) error

func (*PacketContext) XXX_DiscardUnknown added in v0.4.2

func (m *PacketContext) XXX_DiscardUnknown()

func (*PacketContext) XXX_Marshal added in v0.4.2

func (m *PacketContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PacketContext) XXX_Merge added in v0.4.2

func (m *PacketContext) XXX_Merge(src proto.Message)

func (*PacketContext) XXX_Size added in v0.4.2

func (m *PacketContext) XXX_Size() int

func (*PacketContext) XXX_Unmarshal added in v0.4.2

func (m *PacketContext) XXX_Unmarshal(b []byte) error

type Port added in v0.6.6

type Port struct {
	PortNumber int32      `protobuf:"varint,1,opt,name=PortNumber,proto3" json:"PortNumber,omitempty"`
	Protocol   string     `protobuf:"bytes,2,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	Stats      *PortStats `protobuf:"bytes,3,opt,name=Stats,proto3" json:"Stats,omitempty"`
}

Port models a transport layer port and basic stats such as the number of packets, bytes transferred and protocol type.

func (*Port) Descriptor added in v0.6.6

func (*Port) Descriptor() ([]byte, []int)

func (*Port) GetPortNumber added in v0.6.6

func (m *Port) GetPortNumber() int32

func (*Port) GetProtocol added in v0.6.6

func (m *Port) GetProtocol() string

func (*Port) GetStats added in v0.6.6

func (m *Port) GetStats() *PortStats

func (*Port) Marshal added in v0.6.6

func (m *Port) Marshal() (dAtA []byte, err error)

func (*Port) MarshalTo added in v0.6.6

func (m *Port) MarshalTo(dAtA []byte) (int, error)

func (*Port) MarshalToSizedBuffer added in v0.6.6

func (m *Port) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Port) ProtoMessage added in v0.6.6

func (*Port) ProtoMessage()

func (*Port) Reset added in v0.6.6

func (m *Port) Reset()

func (*Port) Size added in v0.6.6

func (m *Port) Size() (n int)

func (*Port) String added in v0.6.6

func (m *Port) String() string

func (*Port) Unmarshal added in v0.6.6

func (m *Port) Unmarshal(dAtA []byte) error

func (*Port) XXX_DiscardUnknown added in v0.6.6

func (m *Port) XXX_DiscardUnknown()

func (*Port) XXX_Marshal added in v0.6.6

func (m *Port) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Port) XXX_Merge added in v0.6.6

func (m *Port) XXX_Merge(src proto.Message)

func (*Port) XXX_Size added in v0.6.6

func (m *Port) XXX_Size() int

func (*Port) XXX_Unmarshal added in v0.6.6

func (m *Port) XXX_Unmarshal(b []byte) error

type PortStats added in v0.6.6

type PortStats struct {
	Packets uint64 `protobuf:"varint,1,opt,name=Packets,proto3" json:"Packets,omitempty"`
	Bytes   uint64 `protobuf:"varint,2,opt,name=Bytes,proto3" json:"Bytes,omitempty"`
}

Workaround for Go issue with ARM: On both ARM and x86-32, it is the caller's responsibility to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a variable or in an allocated struct, array, or slice can be relied upon to be 64-bit aligned. Since we currently dont have control over the generated field order, lets move the counters that are accessed atomically into a dedicated structure

func (*PortStats) Descriptor added in v0.6.6

func (*PortStats) Descriptor() ([]byte, []int)

func (*PortStats) GetBytes added in v0.6.6

func (m *PortStats) GetBytes() uint64

func (*PortStats) GetPackets added in v0.6.6

func (m *PortStats) GetPackets() uint64

func (*PortStats) Marshal added in v0.6.6

func (m *PortStats) Marshal() (dAtA []byte, err error)

func (*PortStats) MarshalTo added in v0.6.6

func (m *PortStats) MarshalTo(dAtA []byte) (int, error)

func (*PortStats) MarshalToSizedBuffer added in v0.6.6

func (m *PortStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PortStats) ProtoMessage added in v0.6.6

func (*PortStats) ProtoMessage()

func (*PortStats) Reset added in v0.6.6

func (m *PortStats) Reset()

func (*PortStats) Size added in v0.6.6

func (m *PortStats) Size() (n int)

func (*PortStats) String added in v0.6.6

func (m *PortStats) String() string

func (*PortStats) Unmarshal added in v0.6.6

func (m *PortStats) Unmarshal(dAtA []byte) error

func (*PortStats) XXX_DiscardUnknown added in v0.6.6

func (m *PortStats) XXX_DiscardUnknown()

func (*PortStats) XXX_Marshal added in v0.6.6

func (m *PortStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PortStats) XXX_Merge added in v0.6.6

func (m *PortStats) XXX_Merge(src proto.Message)

func (*PortStats) XXX_Size added in v0.6.6

func (m *PortStats) XXX_Size() int

func (*PortStats) XXX_Unmarshal added in v0.6.6

func (m *PortStats) XXX_Unmarshal(b []byte) error

type Protocol added in v0.6.6

type Protocol struct {
	Packets  uint64 `protobuf:"varint,1,opt,name=Packets,proto3" json:"Packets,omitempty"`
	Category string `protobuf:"bytes,2,opt,name=Category,proto3" json:"Category,omitempty"`
}

func (*Protocol) Descriptor added in v0.6.6

func (*Protocol) Descriptor() ([]byte, []int)

func (*Protocol) GetCategory added in v0.6.6

func (m *Protocol) GetCategory() string

func (*Protocol) GetPackets added in v0.6.6

func (m *Protocol) GetPackets() uint64

func (*Protocol) Marshal added in v0.6.6

func (m *Protocol) Marshal() (dAtA []byte, err error)

func (*Protocol) MarshalTo added in v0.6.6

func (m *Protocol) MarshalTo(dAtA []byte) (int, error)

func (*Protocol) MarshalToSizedBuffer added in v0.6.6

func (m *Protocol) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Protocol) ProtoMessage added in v0.6.6

func (*Protocol) ProtoMessage()

func (*Protocol) Reset added in v0.6.6

func (m *Protocol) Reset()

func (*Protocol) Size added in v0.6.6

func (m *Protocol) Size() (n int)

func (*Protocol) String added in v0.6.6

func (m *Protocol) String() string

func (*Protocol) Unmarshal added in v0.6.6

func (m *Protocol) Unmarshal(dAtA []byte) error

func (*Protocol) XXX_DiscardUnknown added in v0.6.6

func (m *Protocol) XXX_DiscardUnknown()

func (*Protocol) XXX_Marshal added in v0.6.6

func (m *Protocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Protocol) XXX_Merge added in v0.6.6

func (m *Protocol) XXX_Merge(src proto.Message)

func (*Protocol) XXX_Size added in v0.6.6

func (m *Protocol) XXX_Size() int

func (*Protocol) XXX_Unmarshal added in v0.6.6

func (m *Protocol) XXX_Unmarshal(b []byte) error

type Router added in v0.3.9

type Router struct {
	Type                int32  `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Metric              int32  `protobuf:"varint,2,opt,name=Metric,proto3" json:"Metric,omitempty"`
	InterfaceID         uint32 `protobuf:"varint,3,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
	NeighborInterfaceID uint32 `protobuf:"varint,4,opt,name=NeighborInterfaceID,proto3" json:"NeighborInterfaceID,omitempty"`
	NeighborRouterID    uint32 `protobuf:"varint,5,opt,name=NeighborRouterID,proto3" json:"NeighborRouterID,omitempty"`
}

func (*Router) Descriptor added in v0.3.9

func (*Router) Descriptor() ([]byte, []int)

func (*Router) GetInterfaceID added in v0.3.9

func (m *Router) GetInterfaceID() uint32

func (*Router) GetMetric added in v0.3.9

func (m *Router) GetMetric() int32

func (*Router) GetNeighborInterfaceID added in v0.3.9

func (m *Router) GetNeighborInterfaceID() uint32

func (*Router) GetNeighborRouterID added in v0.3.9

func (m *Router) GetNeighborRouterID() uint32

func (*Router) GetType added in v0.3.9

func (m *Router) GetType() int32

func (*Router) Marshal added in v0.3.9

func (m *Router) Marshal() (dAtA []byte, err error)

func (*Router) MarshalTo added in v0.3.9

func (m *Router) MarshalTo(dAtA []byte) (int, error)

func (*Router) MarshalToSizedBuffer added in v0.6.6

func (m *Router) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Router) ProtoMessage added in v0.3.9

func (*Router) ProtoMessage()

func (*Router) Reset added in v0.3.9

func (m *Router) Reset()

func (*Router) Size added in v0.3.9

func (m *Router) Size() (n int)

func (*Router) String added in v0.3.9

func (m *Router) String() string

func (*Router) Unmarshal added in v0.3.9

func (m *Router) Unmarshal(dAtA []byte) error

func (*Router) XXX_DiscardUnknown added in v0.3.9

func (m *Router) XXX_DiscardUnknown()

func (*Router) XXX_Marshal added in v0.3.9

func (m *Router) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Router) XXX_Merge added in v0.3.9

func (m *Router) XXX_Merge(src proto.Message)

func (*Router) XXX_Size added in v0.3.9

func (m *Router) XXX_Size() int

func (*Router) XXX_Unmarshal added in v0.3.9

func (m *Router) XXX_Unmarshal(b []byte) error

type RouterLSA added in v0.3.9

type RouterLSA struct {
	Flags   int32     `protobuf:"varint,1,opt,name=Flags,proto3" json:"Flags,omitempty"`
	Options uint32    `protobuf:"varint,2,opt,name=Options,proto3" json:"Options,omitempty"`
	Routers []*Router `protobuf:"bytes,3,rep,name=Routers,proto3" json:"Routers,omitempty"`
}

func (*RouterLSA) Descriptor added in v0.3.9

func (*RouterLSA) Descriptor() ([]byte, []int)

func (*RouterLSA) GetFlags added in v0.3.9

func (m *RouterLSA) GetFlags() int32

func (*RouterLSA) GetOptions added in v0.3.9

func (m *RouterLSA) GetOptions() uint32

func (*RouterLSA) GetRouters added in v0.3.9

func (m *RouterLSA) GetRouters() []*Router

func (*RouterLSA) Marshal added in v0.3.9

func (m *RouterLSA) Marshal() (dAtA []byte, err error)

func (*RouterLSA) MarshalTo added in v0.3.9

func (m *RouterLSA) MarshalTo(dAtA []byte) (int, error)

func (*RouterLSA) MarshalToSizedBuffer added in v0.6.6

func (m *RouterLSA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RouterLSA) ProtoMessage added in v0.3.9

func (*RouterLSA) ProtoMessage()

func (*RouterLSA) Reset added in v0.3.9

func (m *RouterLSA) Reset()

func (*RouterLSA) Size added in v0.3.9

func (m *RouterLSA) Size() (n int)

func (*RouterLSA) String added in v0.3.9

func (m *RouterLSA) String() string

func (*RouterLSA) Unmarshal added in v0.3.9

func (m *RouterLSA) Unmarshal(dAtA []byte) error

func (*RouterLSA) XXX_DiscardUnknown added in v0.3.9

func (m *RouterLSA) XXX_DiscardUnknown()

func (*RouterLSA) XXX_Marshal added in v0.3.9

func (m *RouterLSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouterLSA) XXX_Merge added in v0.3.9

func (m *RouterLSA) XXX_Merge(src proto.Message)

func (*RouterLSA) XXX_Size added in v0.3.9

func (m *RouterLSA) XXX_Size() int

func (*RouterLSA) XXX_Unmarshal added in v0.3.9

func (m *RouterLSA) XXX_Unmarshal(b []byte) error

type RouterLSAV2 added in v0.3.9

type RouterLSAV2 struct {
	Flags   int32       `protobuf:"varint,1,opt,name=Flags,proto3" json:"Flags,omitempty"`
	Links   int32       `protobuf:"varint,2,opt,name=Links,proto3" json:"Links,omitempty"`
	Routers []*RouterV2 `protobuf:"bytes,3,rep,name=Routers,proto3" json:"Routers,omitempty"`
}

func (*RouterLSAV2) Descriptor added in v0.3.9

func (*RouterLSAV2) Descriptor() ([]byte, []int)

func (*RouterLSAV2) GetFlags added in v0.3.9

func (m *RouterLSAV2) GetFlags() int32
func (m *RouterLSAV2) GetLinks() int32

func (*RouterLSAV2) GetRouters added in v0.3.9

func (m *RouterLSAV2) GetRouters() []*RouterV2

func (*RouterLSAV2) Marshal added in v0.3.9

func (m *RouterLSAV2) Marshal() (dAtA []byte, err error)

func (*RouterLSAV2) MarshalTo added in v0.3.9

func (m *RouterLSAV2) MarshalTo(dAtA []byte) (int, error)

func (*RouterLSAV2) MarshalToSizedBuffer added in v0.6.6

func (m *RouterLSAV2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RouterLSAV2) ProtoMessage added in v0.3.9

func (*RouterLSAV2) ProtoMessage()

func (*RouterLSAV2) Reset added in v0.3.9

func (m *RouterLSAV2) Reset()

func (*RouterLSAV2) Size added in v0.3.9

func (m *RouterLSAV2) Size() (n int)

func (*RouterLSAV2) String added in v0.3.9

func (m *RouterLSAV2) String() string

func (*RouterLSAV2) Unmarshal added in v0.3.9

func (m *RouterLSAV2) Unmarshal(dAtA []byte) error

func (*RouterLSAV2) XXX_DiscardUnknown added in v0.3.9

func (m *RouterLSAV2) XXX_DiscardUnknown()

func (*RouterLSAV2) XXX_Marshal added in v0.3.9

func (m *RouterLSAV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouterLSAV2) XXX_Merge added in v0.3.9

func (m *RouterLSAV2) XXX_Merge(src proto.Message)

func (*RouterLSAV2) XXX_Size added in v0.3.9

func (m *RouterLSAV2) XXX_Size() int

func (*RouterLSAV2) XXX_Unmarshal added in v0.3.9

func (m *RouterLSAV2) XXX_Unmarshal(b []byte) error

type RouterV2 added in v0.3.9

type RouterV2 struct {
	Type     int32  `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	LinkID   uint32 `protobuf:"varint,2,opt,name=LinkID,proto3" json:"LinkID,omitempty"`
	LinkData uint32 `protobuf:"varint,3,opt,name=LinkData,proto3" json:"LinkData,omitempty"`
	Metric   uint32 `protobuf:"varint,4,opt,name=Metric,proto3" json:"Metric,omitempty"`
}

func (*RouterV2) Descriptor added in v0.3.9

func (*RouterV2) Descriptor() ([]byte, []int)

func (*RouterV2) GetLinkData added in v0.3.9

func (m *RouterV2) GetLinkData() uint32

func (*RouterV2) GetLinkID added in v0.3.9

func (m *RouterV2) GetLinkID() uint32

func (*RouterV2) GetMetric added in v0.3.9

func (m *RouterV2) GetMetric() uint32

func (*RouterV2) GetType added in v0.3.9

func (m *RouterV2) GetType() int32

func (*RouterV2) Marshal added in v0.3.9

func (m *RouterV2) Marshal() (dAtA []byte, err error)

func (*RouterV2) MarshalTo added in v0.3.9

func (m *RouterV2) MarshalTo(dAtA []byte) (int, error)

func (*RouterV2) MarshalToSizedBuffer added in v0.6.6

func (m *RouterV2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RouterV2) ProtoMessage added in v0.3.9

func (*RouterV2) ProtoMessage()

func (*RouterV2) Reset added in v0.3.9

func (m *RouterV2) Reset()

func (*RouterV2) Size added in v0.3.9

func (m *RouterV2) Size() (n int)

func (*RouterV2) String added in v0.3.9

func (m *RouterV2) String() string

func (*RouterV2) Unmarshal added in v0.3.9

func (m *RouterV2) Unmarshal(dAtA []byte) error

func (*RouterV2) XXX_DiscardUnknown added in v0.3.9

func (m *RouterV2) XXX_DiscardUnknown()

func (*RouterV2) XXX_Marshal added in v0.3.9

func (m *RouterV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouterV2) XXX_Merge added in v0.3.9

func (m *RouterV2) XXX_Merge(src proto.Message)

func (*RouterV2) XXX_Size added in v0.3.9

func (m *RouterV2) XXX_Size() int

func (*RouterV2) XXX_Unmarshal added in v0.3.9

func (m *RouterV2) XXX_Unmarshal(b []byte) error

type SCTP

type SCTP struct {
	Timestamp       int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	SrcPort         int32  `protobuf:"varint,2,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort         int32  `protobuf:"varint,3,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
	VerificationTag uint32 `protobuf:"varint,4,opt,name=VerificationTag,proto3" json:"VerificationTag,omitempty"`
	Checksum        uint32 `protobuf:"varint,5,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	SrcIP           string `protobuf:"bytes,6,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP           string `protobuf:"bytes,7,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

func (*SCTP) Analyze added in v0.6.6

func (s *SCTP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*SCTP) CSVHeader

func (s *SCTP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*SCTP) CSVRecord

func (s *SCTP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*SCTP) Descriptor

func (*SCTP) Descriptor() ([]byte, []int)

func (*SCTP) Dst added in v0.4.3

func (s *SCTP) Dst() string

Dst returns the destination address of the audit record.

func (*SCTP) Encode added in v0.6.6

func (s *SCTP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*SCTP) GetChecksum

func (m *SCTP) GetChecksum() uint32

func (*SCTP) GetDstIP added in v0.6.6

func (m *SCTP) GetDstIP() string

func (*SCTP) GetDstPort

func (m *SCTP) GetDstPort() int32

func (*SCTP) GetSrcIP added in v0.6.6

func (m *SCTP) GetSrcIP() string

func (*SCTP) GetSrcPort

func (m *SCTP) GetSrcPort() int32

func (*SCTP) GetTimestamp

func (m *SCTP) GetTimestamp() int64

func (*SCTP) GetVerificationTag

func (m *SCTP) GetVerificationTag() uint32

func (*SCTP) Inc added in v0.4.0

func (s *SCTP) Inc()

Inc increments the metrics for the audit record.

func (*SCTP) JSON added in v0.4.0

func (u *SCTP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*SCTP) Marshal added in v0.3.9

func (m *SCTP) Marshal() (dAtA []byte, err error)

func (*SCTP) MarshalTo added in v0.3.9

func (m *SCTP) MarshalTo(dAtA []byte) (int, error)

func (*SCTP) MarshalToSizedBuffer added in v0.6.6

func (m *SCTP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SCTP) NetcapType added in v0.6.6

func (s *SCTP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*SCTP) ProtoMessage

func (*SCTP) ProtoMessage()

func (*SCTP) Reset

func (m *SCTP) Reset()

func (*SCTP) SetPacketContext added in v0.4.2

func (s *SCTP) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*SCTP) Size added in v0.3.9

func (m *SCTP) Size() (n int)

func (*SCTP) Src added in v0.4.3

func (s *SCTP) Src() string

Src returns the source address of the audit record.

func (*SCTP) String

func (m *SCTP) String() string

func (*SCTP) Time added in v0.4.3

func (s *SCTP) Time() int64

Time returns the timestamp associated with the audit record.

func (*SCTP) Unmarshal added in v0.3.9

func (m *SCTP) Unmarshal(dAtA []byte) error

func (*SCTP) XXX_DiscardUnknown

func (m *SCTP) XXX_DiscardUnknown()

func (*SCTP) XXX_Marshal

func (m *SCTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SCTP) XXX_Merge

func (m *SCTP) XXX_Merge(src proto.Message)

func (*SCTP) XXX_Size

func (m *SCTP) XXX_Size() int

func (*SCTP) XXX_Unmarshal

func (m *SCTP) XXX_Unmarshal(b []byte) error

type SIP

type SIP struct {
	Timestamp int64 `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	// Base information
	Version int32 `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	Method  int32 `protobuf:"varint,3,opt,name=Method,proto3" json:"Method,omitempty"`
	//map[string][]string Headers
	Headers []string `protobuf:"bytes,4,rep,name=Headers,proto3" json:"Headers,omitempty"`
	// Response
	IsResponse     bool   `protobuf:"varint,5,opt,name=IsResponse,proto3" json:"IsResponse,omitempty"`
	ResponseCode   int32  `protobuf:"varint,6,opt,name=ResponseCode,proto3" json:"ResponseCode,omitempty"`
	ResponseStatus string `protobuf:"bytes,7,opt,name=ResponseStatus,proto3" json:"ResponseStatus,omitempty"`
	SrcIP          string `protobuf:"bytes,8,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP          string `protobuf:"bytes,9,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort        int32  `protobuf:"varint,10,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort        int32  `protobuf:"varint,11,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
}

The Session Initiation Protocol (SIP) is a signalling protocol used for initiating, maintaining, and terminating real-time sessions that include voice, video and messaging applications

func (*SIP) Analyze added in v0.6.6

func (s *SIP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*SIP) CSVHeader

func (s *SIP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*SIP) CSVRecord

func (s *SIP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*SIP) Descriptor

func (*SIP) Descriptor() ([]byte, []int)

func (*SIP) Dst added in v0.4.3

func (s *SIP) Dst() string

Dst returns the destination address of the audit record.

func (*SIP) Encode added in v0.6.6

func (s *SIP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*SIP) GetDstIP added in v0.6.6

func (m *SIP) GetDstIP() string

func (*SIP) GetDstPort added in v0.6.6

func (m *SIP) GetDstPort() int32

func (*SIP) GetHeaders

func (m *SIP) GetHeaders() []string

func (*SIP) GetIsResponse

func (m *SIP) GetIsResponse() bool

func (*SIP) GetMethod

func (m *SIP) GetMethod() int32

func (*SIP) GetResponseCode

func (m *SIP) GetResponseCode() int32

func (*SIP) GetResponseStatus

func (m *SIP) GetResponseStatus() string

func (*SIP) GetSrcIP added in v0.6.6

func (m *SIP) GetSrcIP() string

func (*SIP) GetSrcPort added in v0.6.6

func (m *SIP) GetSrcPort() int32

func (*SIP) GetTimestamp

func (m *SIP) GetTimestamp() int64

func (*SIP) GetVersion

func (m *SIP) GetVersion() int32

func (*SIP) Inc added in v0.4.0

func (s *SIP) Inc()

Inc increments the metrics for the audit record.

func (*SIP) JSON added in v0.4.0

func (u *SIP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*SIP) Marshal added in v0.3.9

func (m *SIP) Marshal() (dAtA []byte, err error)

func (*SIP) MarshalTo added in v0.3.9

func (m *SIP) MarshalTo(dAtA []byte) (int, error)

func (*SIP) MarshalToSizedBuffer added in v0.6.6

func (m *SIP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SIP) NetcapType added in v0.6.6

func (s *SIP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*SIP) ProtoMessage

func (*SIP) ProtoMessage()

func (*SIP) Reset

func (m *SIP) Reset()

func (*SIP) SetPacketContext added in v0.4.2

func (s *SIP) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*SIP) Size added in v0.3.9

func (m *SIP) Size() (n int)

func (*SIP) Src added in v0.4.3

func (s *SIP) Src() string

Src returns the source address of the audit record.

func (*SIP) String

func (m *SIP) String() string

func (*SIP) Time added in v0.4.3

func (s *SIP) Time() int64

Time returns the timestamp associated with the audit record.

func (*SIP) Unmarshal added in v0.3.9

func (m *SIP) Unmarshal(dAtA []byte) error

func (*SIP) XXX_DiscardUnknown

func (m *SIP) XXX_DiscardUnknown()

func (*SIP) XXX_Marshal

func (m *SIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SIP) XXX_Merge

func (m *SIP) XXX_Merge(src proto.Message)

func (*SIP) XXX_Size

func (m *SIP) XXX_Size() int

func (*SIP) XXX_Unmarshal

func (m *SIP) XXX_Unmarshal(b []byte) error

type SMTP added in v0.6.6

type SMTP struct {
	Timestamp   int64    `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	IsEncrypted bool     `protobuf:"varint,2,opt,name=IsEncrypted,proto3" json:"IsEncrypted,omitempty"`
	IsResponse  bool     `protobuf:"varint,3,opt,name=IsResponse,proto3" json:"IsResponse,omitempty"`
	SrcIP       string   `protobuf:"bytes,6,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP       string   `protobuf:"bytes,7,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcPort     int32    `protobuf:"varint,8,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort     int32    `protobuf:"varint,9,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
	MailIDs     []string `protobuf:"bytes,10,rep,name=MailIDs,proto3" json:"MailIDs,omitempty"`
	Commands    []string `protobuf:"bytes,11,rep,name=Commands,proto3" json:"Commands,omitempty"`
}

Simple Mail Transfer Protocol

func (*SMTP) Analyze added in v0.6.6

func (a *SMTP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*SMTP) CSVHeader added in v0.6.6

func (a *SMTP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*SMTP) CSVRecord added in v0.6.6

func (a *SMTP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*SMTP) Descriptor added in v0.6.6

func (*SMTP) Descriptor() ([]byte, []int)

func (*SMTP) Dst added in v0.6.6

func (a *SMTP) Dst() string

Dst returns the destination address of the audit record.

func (*SMTP) Encode added in v0.6.6

func (a *SMTP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*SMTP) GetCommands added in v0.6.6

func (m *SMTP) GetCommands() []string

func (*SMTP) GetDstIP added in v0.6.6

func (m *SMTP) GetDstIP() string

func (*SMTP) GetDstPort added in v0.6.6

func (m *SMTP) GetDstPort() int32

func (*SMTP) GetIsEncrypted added in v0.6.6

func (m *SMTP) GetIsEncrypted() bool

func (*SMTP) GetIsResponse added in v0.6.6

func (m *SMTP) GetIsResponse() bool

func (*SMTP) GetMailIDs added in v0.6.6

func (m *SMTP) GetMailIDs() []string

func (*SMTP) GetSrcIP added in v0.6.6

func (m *SMTP) GetSrcIP() string

func (*SMTP) GetSrcPort added in v0.6.6

func (m *SMTP) GetSrcPort() int32

func (*SMTP) GetTimestamp added in v0.6.6

func (m *SMTP) GetTimestamp() int64

func (*SMTP) Inc added in v0.6.6

func (a *SMTP) Inc()

Inc increments the metrics for the audit record.

func (*SMTP) JSON added in v0.6.6

func (a *SMTP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*SMTP) Marshal added in v0.6.6

func (m *SMTP) Marshal() (dAtA []byte, err error)

func (*SMTP) MarshalTo added in v0.6.6

func (m *SMTP) MarshalTo(dAtA []byte) (int, error)

func (*SMTP) MarshalToSizedBuffer added in v0.6.6

func (m *SMTP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SMTP) NetcapType added in v0.6.6

func (a *SMTP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*SMTP) ProtoMessage added in v0.6.6

func (*SMTP) ProtoMessage()

func (*SMTP) Reset added in v0.6.6

func (m *SMTP) Reset()

func (*SMTP) SetPacketContext added in v0.6.6

func (a *SMTP) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*SMTP) Size added in v0.6.6

func (m *SMTP) Size() (n int)

func (*SMTP) Src added in v0.6.6

func (a *SMTP) Src() string

Src returns the source address of the audit record.

func (*SMTP) String added in v0.6.6

func (m *SMTP) String() string

func (*SMTP) Time added in v0.6.6

func (a *SMTP) Time() int64

Time returns the timestamp associated with the audit record.

func (*SMTP) Unmarshal added in v0.6.6

func (m *SMTP) Unmarshal(dAtA []byte) error

func (*SMTP) XXX_DiscardUnknown added in v0.6.6

func (m *SMTP) XXX_DiscardUnknown()

func (*SMTP) XXX_Marshal added in v0.6.6

func (m *SMTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SMTP) XXX_Merge added in v0.6.6

func (m *SMTP) XXX_Merge(src proto.Message)

func (*SMTP) XXX_Size added in v0.6.6

func (m *SMTP) XXX_Size() int

func (*SMTP) XXX_Unmarshal added in v0.6.6

func (m *SMTP) XXX_Unmarshal(b []byte) error

type SMTPCommand added in v0.6.6

type SMTPCommand struct {
	Command   int32  `protobuf:"varint,1,opt,name=Command,proto3" json:"Command,omitempty"`
	Parameter string `protobuf:"bytes,2,opt,name=Parameter,proto3" json:"Parameter,omitempty"`
}

SMTPCommand represents a SMTP command

func (*SMTPCommand) Descriptor added in v0.6.6

func (*SMTPCommand) Descriptor() ([]byte, []int)

func (*SMTPCommand) GetCommand added in v0.6.6

func (m *SMTPCommand) GetCommand() int32

func (*SMTPCommand) GetParameter added in v0.6.6

func (m *SMTPCommand) GetParameter() string

func (*SMTPCommand) Marshal added in v0.6.6

func (m *SMTPCommand) Marshal() (dAtA []byte, err error)

func (*SMTPCommand) MarshalTo added in v0.6.6

func (m *SMTPCommand) MarshalTo(dAtA []byte) (int, error)

func (*SMTPCommand) MarshalToSizedBuffer added in v0.6.6

func (m *SMTPCommand) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SMTPCommand) ProtoMessage added in v0.6.6

func (*SMTPCommand) ProtoMessage()

func (*SMTPCommand) Reset added in v0.6.6

func (m *SMTPCommand) Reset()

func (*SMTPCommand) Size added in v0.6.6

func (m *SMTPCommand) Size() (n int)

func (*SMTPCommand) String added in v0.6.6

func (m *SMTPCommand) String() string

func (*SMTPCommand) Unmarshal added in v0.6.6

func (m *SMTPCommand) Unmarshal(dAtA []byte) error

func (*SMTPCommand) XXX_DiscardUnknown added in v0.6.6

func (m *SMTPCommand) XXX_DiscardUnknown()

func (*SMTPCommand) XXX_Marshal added in v0.6.6

func (m *SMTPCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SMTPCommand) XXX_Merge added in v0.6.6

func (m *SMTPCommand) XXX_Merge(src proto.Message)

func (*SMTPCommand) XXX_Size added in v0.6.6

func (m *SMTPCommand) XXX_Size() int

func (*SMTPCommand) XXX_Unmarshal added in v0.6.6

func (m *SMTPCommand) XXX_Unmarshal(b []byte) error

type SMTPRequest added in v0.6.6

type SMTPRequest struct {
	Command  string `protobuf:"bytes,1,opt,name=Command,proto3" json:"Command,omitempty"`
	Argument string `protobuf:"bytes,2,opt,name=Argument,proto3" json:"Argument,omitempty"`
	Data     string `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
}

SMTPRequest

func (*SMTPRequest) Descriptor added in v0.6.6

func (*SMTPRequest) Descriptor() ([]byte, []int)

func (*SMTPRequest) GetArgument added in v0.6.6

func (m *SMTPRequest) GetArgument() string

func (*SMTPRequest) GetCommand added in v0.6.6

func (m *SMTPRequest) GetCommand() string

func (*SMTPRequest) GetData added in v0.6.6

func (m *SMTPRequest) GetData() string

func (*SMTPRequest) Marshal added in v0.6.6

func (m *SMTPRequest) Marshal() (dAtA []byte, err error)

func (*SMTPRequest) MarshalTo added in v0.6.6

func (m *SMTPRequest) MarshalTo(dAtA []byte) (int, error)

func (*SMTPRequest) MarshalToSizedBuffer added in v0.6.6

func (m *SMTPRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SMTPRequest) ProtoMessage added in v0.6.6

func (*SMTPRequest) ProtoMessage()

func (*SMTPRequest) Reset added in v0.6.6

func (m *SMTPRequest) Reset()

func (*SMTPRequest) Size added in v0.6.6

func (m *SMTPRequest) Size() (n int)

func (*SMTPRequest) String added in v0.6.6

func (m *SMTPRequest) String() string

func (*SMTPRequest) Unmarshal added in v0.6.6

func (m *SMTPRequest) Unmarshal(dAtA []byte) error

func (*SMTPRequest) XXX_DiscardUnknown added in v0.6.6

func (m *SMTPRequest) XXX_DiscardUnknown()

func (*SMTPRequest) XXX_Marshal added in v0.6.6

func (m *SMTPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SMTPRequest) XXX_Merge added in v0.6.6

func (m *SMTPRequest) XXX_Merge(src proto.Message)

func (*SMTPRequest) XXX_Size added in v0.6.6

func (m *SMTPRequest) XXX_Size() int

func (*SMTPRequest) XXX_Unmarshal added in v0.6.6

func (m *SMTPRequest) XXX_Unmarshal(b []byte) error

type SMTPResponse added in v0.6.6

type SMTPResponse struct {
	ResponseCode int32  `protobuf:"varint,1,opt,name=ResponseCode,proto3" json:"ResponseCode,omitempty"`
	Parameter    string `protobuf:"bytes,2,opt,name=Parameter,proto3" json:"Parameter,omitempty"`
	Data         string `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
}

SMTPResponse SMTP response type with status code and parameter

func (*SMTPResponse) Descriptor added in v0.6.6

func (*SMTPResponse) Descriptor() ([]byte, []int)

func (*SMTPResponse) GetData added in v0.6.6

func (m *SMTPResponse) GetData() string

func (*SMTPResponse) GetParameter added in v0.6.6

func (m *SMTPResponse) GetParameter() string

func (*SMTPResponse) GetResponseCode added in v0.6.6

func (m *SMTPResponse) GetResponseCode() int32

func (*SMTPResponse) Marshal added in v0.6.6

func (m *SMTPResponse) Marshal() (dAtA []byte, err error)

func (*SMTPResponse) MarshalTo added in v0.6.6

func (m *SMTPResponse) MarshalTo(dAtA []byte) (int, error)

func (*SMTPResponse) MarshalToSizedBuffer added in v0.6.6

func (m *SMTPResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SMTPResponse) ProtoMessage added in v0.6.6

func (*SMTPResponse) ProtoMessage()

func (*SMTPResponse) Reset added in v0.6.6

func (m *SMTPResponse) Reset()

func (*SMTPResponse) Size added in v0.6.6

func (m *SMTPResponse) Size() (n int)

func (*SMTPResponse) String added in v0.6.6

func (m *SMTPResponse) String() string

func (*SMTPResponse) Unmarshal added in v0.6.6

func (m *SMTPResponse) Unmarshal(dAtA []byte) error

func (*SMTPResponse) XXX_DiscardUnknown added in v0.6.6

func (m *SMTPResponse) XXX_DiscardUnknown()

func (*SMTPResponse) XXX_Marshal added in v0.6.6

func (m *SMTPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SMTPResponse) XXX_Merge added in v0.6.6

func (m *SMTPResponse) XXX_Merge(src proto.Message)

func (*SMTPResponse) XXX_Size added in v0.6.6

func (m *SMTPResponse) XXX_Size() int

func (*SMTPResponse) XXX_Unmarshal added in v0.6.6

func (m *SMTPResponse) XXX_Unmarshal(b []byte) error

type SNAP

type SNAP struct {
	Timestamp          int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	OrganizationalCode []byte `protobuf:"bytes,2,opt,name=OrganizationalCode,proto3" json:"OrganizationalCode,omitempty"`
	Type               int32  `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
}

SNAP is used inside LLC. See http://standards.ieee.org/getieee802/download/802-2001.pdf. From http://en.wikipedia.org/wiki/Subnetwork_Access_Protocol: "[T]he Subnetwork Access Protocol (SNAP) is a mechanism for multiplexing, on networks using IEEE 802.2 LLC, more protocols than can be distinguished by the 8-bit 802.2 Service Access Point (SAP) fields."

func (*SNAP) Analyze added in v0.6.6

func (s *SNAP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*SNAP) CSVHeader

func (s *SNAP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*SNAP) CSVRecord

func (s *SNAP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*SNAP) Descriptor

func (*SNAP) Descriptor() ([]byte, []int)

func (*SNAP) Dst added in v0.4.3

func (s *SNAP) Dst() string

Dst returns the destination address of the audit record.

func (*SNAP) Encode added in v0.6.6

func (s *SNAP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*SNAP) GetOrganizationalCode

func (m *SNAP) GetOrganizationalCode() []byte

func (*SNAP) GetTimestamp

func (m *SNAP) GetTimestamp() int64

func (*SNAP) GetType

func (m *SNAP) GetType() int32

func (*SNAP) Inc added in v0.4.0

func (s *SNAP) Inc()

Inc increments the metrics for the audit record.

func (*SNAP) JSON added in v0.4.0

func (u *SNAP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*SNAP) Marshal added in v0.3.9

func (m *SNAP) Marshal() (dAtA []byte, err error)

func (*SNAP) MarshalTo added in v0.3.9

func (m *SNAP) MarshalTo(dAtA []byte) (int, error)

func (*SNAP) MarshalToSizedBuffer added in v0.6.6

func (m *SNAP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SNAP) NetcapType added in v0.6.6

func (s *SNAP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*SNAP) ProtoMessage

func (*SNAP) ProtoMessage()

func (*SNAP) Reset

func (m *SNAP) Reset()

func (*SNAP) SetPacketContext added in v0.4.2

func (s *SNAP) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*SNAP) Size added in v0.3.9

func (m *SNAP) Size() (n int)

func (*SNAP) Src added in v0.4.3

func (s *SNAP) Src() string

Src TODO. Src returns the source address of the audit record.

func (*SNAP) String

func (m *SNAP) String() string

func (*SNAP) Time added in v0.4.3

func (s *SNAP) Time() int64

Time returns the timestamp associated with the audit record.

func (*SNAP) Unmarshal added in v0.3.9

func (m *SNAP) Unmarshal(dAtA []byte) error

func (*SNAP) XXX_DiscardUnknown

func (m *SNAP) XXX_DiscardUnknown()

func (*SNAP) XXX_Marshal

func (m *SNAP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SNAP) XXX_Merge

func (m *SNAP) XXX_Merge(src proto.Message)

func (*SNAP) XXX_Size

func (m *SNAP) XXX_Size() int

func (*SNAP) XXX_Unmarshal

func (m *SNAP) XXX_Unmarshal(b []byte) error

type SSH added in v0.6.6

type SSH struct {
	Timestamp  int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	HASSH      string `protobuf:"bytes,2,opt,name=HASSH,proto3" json:"HASSH,omitempty"`
	Flow       string `protobuf:"bytes,3,opt,name=Flow,proto3" json:"Flow,omitempty"`
	Notes      string `protobuf:"bytes,4,opt,name=Notes,proto3" json:"Notes,omitempty"`
	Ident      string `protobuf:"bytes,5,opt,name=Ident,proto3" json:"Ident,omitempty"`
	Algorithms string `protobuf:"bytes,6,opt,name=Algorithms,proto3" json:"Algorithms,omitempty"`
	IsClient   bool   `protobuf:"varint,7,opt,name=IsClient,proto3" json:"IsClient,omitempty"`
}

func (*SSH) Analyze added in v0.6.6

func (a *SSH) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*SSH) CSVHeader added in v0.6.6

func (a *SSH) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*SSH) CSVRecord added in v0.6.6

func (a *SSH) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*SSH) Descriptor added in v0.6.6

func (*SSH) Descriptor() ([]byte, []int)

func (*SSH) Dst added in v0.6.6

func (a *SSH) Dst() string

Dst TODO: preserve source and destination mac adresses for SSH and return them here. Dst returns the destination address of the audit record.

func (*SSH) Encode added in v0.6.6

func (a *SSH) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*SSH) GetAlgorithms added in v0.6.6

func (m *SSH) GetAlgorithms() string

func (*SSH) GetFlow added in v0.6.6

func (m *SSH) GetFlow() string

func (*SSH) GetHASSH added in v0.6.6

func (m *SSH) GetHASSH() string

func (*SSH) GetIdent added in v0.6.6

func (m *SSH) GetIdent() string

func (*SSH) GetIsClient added in v0.6.6

func (m *SSH) GetIsClient() bool

func (*SSH) GetNotes added in v0.6.6

func (m *SSH) GetNotes() string

func (*SSH) GetTimestamp added in v0.6.6

func (m *SSH) GetTimestamp() int64

func (*SSH) Inc added in v0.6.6

func (a *SSH) Inc()

Inc increments the metrics for the audit record.

func (*SSH) JSON added in v0.6.6

func (a *SSH) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*SSH) Marshal added in v0.6.6

func (m *SSH) Marshal() (dAtA []byte, err error)

func (*SSH) MarshalTo added in v0.6.6

func (m *SSH) MarshalTo(dAtA []byte) (int, error)

func (*SSH) MarshalToSizedBuffer added in v0.6.6

func (m *SSH) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SSH) NetcapType added in v0.6.6

func (a *SSH) NetcapType() Type

NetcapType returns the type of the current audit record

func (*SSH) ProtoMessage added in v0.6.6

func (*SSH) ProtoMessage()

func (*SSH) Reset added in v0.6.6

func (m *SSH) Reset()

func (*SSH) SetPacketContext added in v0.6.6

func (a *SSH) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*SSH) Size added in v0.6.6

func (m *SSH) Size() (n int)

func (*SSH) Src added in v0.6.6

func (a *SSH) Src() string

Src TODO: preserve source and destination mac adresses for SSH and return them here. Src returns the source address of the audit record.

func (*SSH) String added in v0.6.6

func (m *SSH) String() string

func (*SSH) Time added in v0.6.6

func (a *SSH) Time() int64

Time returns the timestamp associated with the audit record.

func (*SSH) Unmarshal added in v0.6.6

func (m *SSH) Unmarshal(dAtA []byte) error

func (*SSH) XXX_DiscardUnknown added in v0.6.6

func (m *SSH) XXX_DiscardUnknown()

func (*SSH) XXX_Marshal added in v0.6.6

func (m *SSH) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SSH) XXX_Merge added in v0.6.6

func (m *SSH) XXX_Merge(src proto.Message)

func (*SSH) XXX_Size added in v0.6.6

func (m *SSH) XXX_Size() int

func (*SSH) XXX_Unmarshal added in v0.6.6

func (m *SSH) XXX_Unmarshal(b []byte) error

type Service added in v0.6.6

type Service struct {
	Timestamp   int64    `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	IP          string   `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"`
	Port        int32    `protobuf:"varint,3,opt,name=Port,proto3" json:"Port,omitempty"`
	Name        string   `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
	Banner      string   `protobuf:"bytes,5,opt,name=Banner,proto3" json:"Banner,omitempty"`
	Protocol    string   `protobuf:"bytes,6,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	Flows       []string `protobuf:"bytes,7,rep,name=Flows,proto3" json:"Flows,omitempty"`
	Product     string   `protobuf:"bytes,8,opt,name=Product,proto3" json:"Product,omitempty"`
	Vendor      string   `protobuf:"bytes,9,opt,name=Vendor,proto3" json:"Vendor,omitempty"`
	Version     string   `protobuf:"bytes,10,opt,name=Version,proto3" json:"Version,omitempty"`
	Notes       string   `protobuf:"bytes,11,opt,name=Notes,proto3" json:"Notes,omitempty"`
	BytesServer int32    `protobuf:"varint,12,opt,name=BytesServer,proto3" json:"BytesServer,omitempty"`
	BytesClient int32    `protobuf:"varint,13,opt,name=BytesClient,proto3" json:"BytesClient,omitempty"`
	Hostname    string   `protobuf:"bytes,14,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
	OS          string   `protobuf:"bytes,15,opt,name=OS,proto3" json:"OS,omitempty"`
}

func (*Service) Analyze added in v0.6.6

func (a *Service) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Service) CSVHeader added in v0.6.6

func (a *Service) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Service) CSVRecord added in v0.6.6

func (a *Service) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Service) Descriptor added in v0.6.6

func (*Service) Descriptor() ([]byte, []int)

func (*Service) Dst added in v0.6.6

func (a *Service) Dst() string

Dst returns the destination address of the audit record.

func (*Service) Encode added in v0.6.6

func (a *Service) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Service) GetBanner added in v0.6.6

func (m *Service) GetBanner() string

func (*Service) GetBytesClient added in v0.6.6

func (m *Service) GetBytesClient() int32

func (*Service) GetBytesServer added in v0.6.6

func (m *Service) GetBytesServer() int32

func (*Service) GetFlows added in v0.6.6

func (m *Service) GetFlows() []string

func (*Service) GetHostname added in v0.6.6

func (m *Service) GetHostname() string

func (*Service) GetIP added in v0.6.6

func (m *Service) GetIP() string

func (*Service) GetName added in v0.6.6

func (m *Service) GetName() string

func (*Service) GetNotes added in v0.6.6

func (m *Service) GetNotes() string

func (*Service) GetOS added in v0.6.6

func (m *Service) GetOS() string

func (*Service) GetPort added in v0.6.6

func (m *Service) GetPort() int32

func (*Service) GetProduct added in v0.6.6

func (m *Service) GetProduct() string

func (*Service) GetProtocol added in v0.6.6

func (m *Service) GetProtocol() string

func (*Service) GetTimestamp added in v0.6.6

func (m *Service) GetTimestamp() int64

func (*Service) GetVendor added in v0.6.6

func (m *Service) GetVendor() string

func (*Service) GetVersion added in v0.6.6

func (m *Service) GetVersion() string

func (*Service) Inc added in v0.6.6

func (a *Service) Inc()

Inc increments the metrics for the audit record.

func (*Service) JSON added in v0.6.6

func (a *Service) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Service) Marshal added in v0.6.6

func (m *Service) Marshal() (dAtA []byte, err error)

func (*Service) MarshalTo added in v0.6.6

func (m *Service) MarshalTo(dAtA []byte) (int, error)

func (*Service) MarshalToSizedBuffer added in v0.6.6

func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Service) NetcapType added in v0.6.6

func (a *Service) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Service) ProtoMessage added in v0.6.6

func (*Service) ProtoMessage()

func (*Service) Reset added in v0.6.6

func (m *Service) Reset()

func (*Service) SetPacketContext added in v0.6.6

func (a *Service) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Service) Size added in v0.6.6

func (m *Service) Size() (n int)

func (*Service) Src added in v0.6.6

func (a *Service) Src() string

Src returns the source address of the audit record.

func (*Service) String added in v0.6.6

func (m *Service) String() string

func (*Service) Time added in v0.6.6

func (a *Service) Time() int64

Time returns the timestamp associated with the audit record.

func (*Service) Unmarshal added in v0.6.6

func (m *Service) Unmarshal(dAtA []byte) error

func (*Service) XXX_DiscardUnknown added in v0.6.6

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal added in v0.6.6

func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Service) XXX_Merge added in v0.6.6

func (m *Service) XXX_Merge(src proto.Message)

func (*Service) XXX_Size added in v0.6.6

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal added in v0.6.6

func (m *Service) XXX_Unmarshal(b []byte) error

type Software added in v0.6.6

type Software struct {
	Timestamp      int64    `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Product        string   `protobuf:"bytes,2,opt,name=Product,proto3" json:"Product,omitempty"`
	Vendor         string   `protobuf:"bytes,3,opt,name=Vendor,proto3" json:"Vendor,omitempty"`
	Version        string   `protobuf:"bytes,4,opt,name=Version,proto3" json:"Version,omitempty"`
	DeviceProfiles []string `protobuf:"bytes,5,rep,name=DeviceProfiles,proto3" json:"DeviceProfiles,omitempty"`
	SourceName     string   `protobuf:"bytes,6,opt,name=SourceName,proto3" json:"SourceName,omitempty"`
	DPIResults     []string `protobuf:"bytes,7,rep,name=DPIResults,proto3" json:"DPIResults,omitempty"`
	Service        string   `protobuf:"bytes,8,opt,name=Service,proto3" json:"Service,omitempty"`
	Flows          []string `protobuf:"bytes,9,rep,name=Flows,proto3" json:"Flows,omitempty"`
	SourceData     string   `protobuf:"bytes,10,opt,name=SourceData,proto3" json:"SourceData,omitempty"`
	Notes          string   `protobuf:"bytes,11,opt,name=Notes,proto3" json:"Notes,omitempty"`
	Website        string   `protobuf:"bytes,12,opt,name=Website,proto3" json:"Website,omitempty"`
	OS             string   `protobuf:"bytes,13,opt,name=OS,proto3" json:"OS,omitempty"`
}

func (*Software) Analyze added in v0.6.6

func (a *Software) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Software) CSVHeader added in v0.6.6

func (a *Software) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Software) CSVRecord added in v0.6.6

func (a *Software) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Software) Descriptor added in v0.6.6

func (*Software) Descriptor() ([]byte, []int)

func (*Software) Dst added in v0.6.6

func (a *Software) Dst() string

Dst returns the destination address of the audit record.

func (*Software) Encode added in v0.6.6

func (a *Software) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Software) GetDPIResults added in v0.6.6

func (m *Software) GetDPIResults() []string

func (*Software) GetDeviceProfiles added in v0.6.6

func (m *Software) GetDeviceProfiles() []string

func (*Software) GetFlows added in v0.6.6

func (m *Software) GetFlows() []string

func (*Software) GetNotes added in v0.6.6

func (m *Software) GetNotes() string

func (*Software) GetOS added in v0.6.6

func (m *Software) GetOS() string

func (*Software) GetProduct added in v0.6.6

func (m *Software) GetProduct() string

func (*Software) GetService added in v0.6.6

func (m *Software) GetService() string

func (*Software) GetSourceData added in v0.6.6

func (m *Software) GetSourceData() string

func (*Software) GetSourceName added in v0.6.6

func (m *Software) GetSourceName() string

func (*Software) GetTimestamp added in v0.6.6

func (m *Software) GetTimestamp() int64

func (*Software) GetVendor added in v0.6.6

func (m *Software) GetVendor() string

func (*Software) GetVersion added in v0.6.6

func (m *Software) GetVersion() string

func (*Software) GetWebsite added in v0.6.6

func (m *Software) GetWebsite() string

func (*Software) Inc added in v0.6.6

func (a *Software) Inc()

Inc increments the metrics for the audit record.

func (*Software) JSON added in v0.6.6

func (a *Software) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Software) Marshal added in v0.6.6

func (m *Software) Marshal() (dAtA []byte, err error)

func (*Software) MarshalTo added in v0.6.6

func (m *Software) MarshalTo(dAtA []byte) (int, error)

func (*Software) MarshalToSizedBuffer added in v0.6.6

func (m *Software) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Software) NetcapType added in v0.6.6

func (a *Software) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Software) ProtoMessage added in v0.6.6

func (*Software) ProtoMessage()

func (*Software) Reset added in v0.6.6

func (m *Software) Reset()

func (*Software) SetPacketContext added in v0.6.6

func (a *Software) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Software) Size added in v0.6.6

func (m *Software) Size() (n int)

func (*Software) Src added in v0.6.6

func (a *Software) Src() string

Src returns the source address of the audit record.

func (*Software) String added in v0.6.6

func (m *Software) String() string

func (*Software) Time added in v0.6.6

func (a *Software) Time() int64

Time returns the timestamp associated with the audit record.

func (*Software) Unmarshal added in v0.6.6

func (m *Software) Unmarshal(dAtA []byte) error

func (*Software) XXX_DiscardUnknown added in v0.6.6

func (m *Software) XXX_DiscardUnknown()

func (*Software) XXX_Marshal added in v0.6.6

func (m *Software) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Software) XXX_Merge added in v0.6.6

func (m *Software) XXX_Merge(src proto.Message)

func (*Software) XXX_Size added in v0.6.6

func (m *Software) XXX_Size() int

func (*Software) XXX_Unmarshal added in v0.6.6

func (m *Software) XXX_Unmarshal(b []byte) error

type TCP

type TCP struct {
	Timestamp      int64        `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	SrcPort        int32        `protobuf:"varint,2,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort        int32        `protobuf:"varint,3,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
	SeqNum         uint32       `protobuf:"varint,4,opt,name=SeqNum,proto3" json:"SeqNum,omitempty"`
	AckNum         uint32       `protobuf:"varint,5,opt,name=AckNum,proto3" json:"AckNum,omitempty"`
	DataOffset     int32        `protobuf:"varint,6,opt,name=DataOffset,proto3" json:"DataOffset,omitempty"`
	FIN            bool         `protobuf:"varint,7,opt,name=FIN,proto3" json:"FIN,omitempty"`
	SYN            bool         `protobuf:"varint,8,opt,name=SYN,proto3" json:"SYN,omitempty"`
	RST            bool         `protobuf:"varint,9,opt,name=RST,proto3" json:"RST,omitempty"`
	PSH            bool         `protobuf:"varint,10,opt,name=PSH,proto3" json:"PSH,omitempty"`
	ACK            bool         `protobuf:"varint,11,opt,name=ACK,proto3" json:"ACK,omitempty"`
	URG            bool         `protobuf:"varint,12,opt,name=URG,proto3" json:"URG,omitempty"`
	ECE            bool         `protobuf:"varint,13,opt,name=ECE,proto3" json:"ECE,omitempty"`
	CWR            bool         `protobuf:"varint,14,opt,name=CWR,proto3" json:"CWR,omitempty"`
	NS             bool         `protobuf:"varint,15,opt,name=NS,proto3" json:"NS,omitempty"`
	Window         int32        `protobuf:"varint,16,opt,name=Window,proto3" json:"Window,omitempty"`
	Checksum       int32        `protobuf:"varint,17,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	Urgent         int32        `protobuf:"varint,18,opt,name=Urgent,proto3" json:"Urgent,omitempty"`
	Padding        []byte       `protobuf:"bytes,19,opt,name=Padding,proto3" json:"Padding,omitempty"`
	Options        []*TCPOption `protobuf:"bytes,20,rep,name=Options,proto3" json:"Options,omitempty"`
	PayloadEntropy float64      `protobuf:"fixed64,21,opt,name=PayloadEntropy,proto3" json:"PayloadEntropy,omitempty"`
	PayloadSize    int32        `protobuf:"varint,22,opt,name=PayloadSize,proto3" json:"PayloadSize,omitempty"`
	Payload        []byte       `protobuf:"bytes,23,opt,name=Payload,proto3" json:"Payload,omitempty"`
	SrcIP          string       `protobuf:"bytes,24,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP          string       `protobuf:"bytes,25,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

The Transmission Control Protocol (TCP) is one of the main protocols of the Internet protocol suite. It originated in the initial network implementation in which it complemented the Internet Protocol (IP). Therefore, the entire suite is commonly referred to as TCP/IP. TCP provides reliable, ordered, and error-checked delivery of a stream of octets (bytes) between applications running on hosts communicating via an IP network. Major internet applications such as the World Wide Web, email, remote administration, and file transfer rely on TCP, which is part of the Transport Layer of the TCP/IP suite. SSL/TLS often runs on top of TCP.

func (*TCP) Analyze added in v0.6.6

func (t *TCP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*TCP) CSVHeader

func (t *TCP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*TCP) CSVRecord

func (t *TCP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*TCP) Descriptor

func (*TCP) Descriptor() ([]byte, []int)

func (*TCP) Dst added in v0.4.3

func (t *TCP) Dst() string

Dst returns the destination address of the audit record.

func (*TCP) Encode added in v0.6.6

func (t *TCP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*TCP) GetACK

func (m *TCP) GetACK() bool

func (*TCP) GetAckNum

func (m *TCP) GetAckNum() uint32

func (*TCP) GetCWR

func (m *TCP) GetCWR() bool

func (*TCP) GetChecksum

func (m *TCP) GetChecksum() int32

func (*TCP) GetDataOffset

func (m *TCP) GetDataOffset() int32

func (*TCP) GetDstIP added in v0.6.6

func (m *TCP) GetDstIP() string

func (*TCP) GetDstPort

func (m *TCP) GetDstPort() int32

func (*TCP) GetECE

func (m *TCP) GetECE() bool

func (*TCP) GetFIN

func (m *TCP) GetFIN() bool

func (*TCP) GetNS

func (m *TCP) GetNS() bool

func (*TCP) GetOptions

func (m *TCP) GetOptions() []*TCPOption

func (*TCP) GetPSH

func (m *TCP) GetPSH() bool

func (*TCP) GetPadding

func (m *TCP) GetPadding() []byte

func (*TCP) GetPayload added in v0.3.9

func (m *TCP) GetPayload() []byte

func (*TCP) GetPayloadEntropy

func (m *TCP) GetPayloadEntropy() float64

func (*TCP) GetPayloadSize

func (m *TCP) GetPayloadSize() int32

func (*TCP) GetRST

func (m *TCP) GetRST() bool

func (*TCP) GetSYN

func (m *TCP) GetSYN() bool

func (*TCP) GetSeqNum

func (m *TCP) GetSeqNum() uint32

func (*TCP) GetSrcIP added in v0.6.6

func (m *TCP) GetSrcIP() string

func (*TCP) GetSrcPort

func (m *TCP) GetSrcPort() int32

func (*TCP) GetTimestamp

func (m *TCP) GetTimestamp() int64

func (*TCP) GetURG

func (m *TCP) GetURG() bool

func (*TCP) GetUrgent

func (m *TCP) GetUrgent() int32

func (*TCP) GetWindow

func (m *TCP) GetWindow() int32

func (*TCP) Inc added in v0.4.0

func (t *TCP) Inc()

Inc increments the metrics for the audit record.

func (*TCP) JSON added in v0.4.0

func (t *TCP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*TCP) Marshal added in v0.3.9

func (m *TCP) Marshal() (dAtA []byte, err error)

func (*TCP) MarshalTo added in v0.3.9

func (m *TCP) MarshalTo(dAtA []byte) (int, error)

func (*TCP) MarshalToSizedBuffer added in v0.6.6

func (m *TCP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TCP) NetcapType added in v0.6.6

func (t *TCP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*TCP) ProtoMessage

func (*TCP) ProtoMessage()

func (*TCP) Reset

func (m *TCP) Reset()

func (*TCP) SetPacketContext added in v0.4.2

func (t *TCP) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*TCP) Size added in v0.3.9

func (m *TCP) Size() (n int)

func (*TCP) Src added in v0.4.3

func (t *TCP) Src() string

Src returns the source address of the audit record.

func (*TCP) String

func (m *TCP) String() string

func (*TCP) Time added in v0.4.3

func (t *TCP) Time() int64

Time returns the timestamp associated with the audit record.

func (*TCP) Unmarshal added in v0.3.9

func (m *TCP) Unmarshal(dAtA []byte) error

func (*TCP) XXX_DiscardUnknown

func (m *TCP) XXX_DiscardUnknown()

func (*TCP) XXX_Marshal

func (m *TCP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TCP) XXX_Merge

func (m *TCP) XXX_Merge(src proto.Message)

func (*TCP) XXX_Size

func (m *TCP) XXX_Size() int

func (*TCP) XXX_Unmarshal

func (m *TCP) XXX_Unmarshal(b []byte) error

type TCPOption

type TCPOption struct {
	OptionType   int32  `protobuf:"varint,1,opt,name=OptionType,proto3" json:"OptionType,omitempty"`
	OptionLength int32  `protobuf:"varint,2,opt,name=OptionLength,proto3" json:"OptionLength,omitempty"`
	OptionData   []byte `protobuf:"bytes,3,opt,name=OptionData,proto3" json:"OptionData,omitempty"`
}

func (*TCPOption) Descriptor

func (*TCPOption) Descriptor() ([]byte, []int)

func (*TCPOption) GetOptionData

func (m *TCPOption) GetOptionData() []byte

func (*TCPOption) GetOptionLength

func (m *TCPOption) GetOptionLength() int32

func (*TCPOption) GetOptionType

func (m *TCPOption) GetOptionType() int32

func (*TCPOption) Marshal added in v0.3.9

func (m *TCPOption) Marshal() (dAtA []byte, err error)

func (*TCPOption) MarshalTo added in v0.3.9

func (m *TCPOption) MarshalTo(dAtA []byte) (int, error)

func (*TCPOption) MarshalToSizedBuffer added in v0.6.6

func (m *TCPOption) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TCPOption) ProtoMessage

func (*TCPOption) ProtoMessage()

func (*TCPOption) Reset

func (m *TCPOption) Reset()

func (*TCPOption) Size added in v0.3.9

func (m *TCPOption) Size() (n int)

func (*TCPOption) String

func (m *TCPOption) String() string

func (*TCPOption) Unmarshal added in v0.3.9

func (m *TCPOption) Unmarshal(dAtA []byte) error

func (*TCPOption) XXX_DiscardUnknown

func (m *TCPOption) XXX_DiscardUnknown()

func (*TCPOption) XXX_Marshal

func (m *TCPOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TCPOption) XXX_Merge

func (m *TCPOption) XXX_Merge(src proto.Message)

func (*TCPOption) XXX_Size

func (m *TCPOption) XXX_Size() int

func (*TCPOption) XXX_Unmarshal

func (m *TCPOption) XXX_Unmarshal(b []byte) error

type TLSClientHello

type TLSClientHello struct {
	Timestamp        int64    `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Type             int32    `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
	Version          int32    `protobuf:"varint,3,opt,name=Version,proto3" json:"Version,omitempty"`
	MessageLen       int32    `protobuf:"varint,4,opt,name=MessageLen,proto3" json:"MessageLen,omitempty"`
	HandshakeType    int32    `protobuf:"varint,5,opt,name=HandshakeType,proto3" json:"HandshakeType,omitempty"`
	HandshakeLen     uint32   `protobuf:"varint,6,opt,name=HandshakeLen,proto3" json:"HandshakeLen,omitempty"`
	HandshakeVersion int32    `protobuf:"varint,7,opt,name=HandshakeVersion,proto3" json:"HandshakeVersion,omitempty"`
	Random           []byte   `protobuf:"bytes,8,opt,name=Random,proto3" json:"Random,omitempty"`
	SessionIDLen     uint32   `protobuf:"varint,9,opt,name=SessionIDLen,proto3" json:"SessionIDLen,omitempty"`
	SessionID        []byte   `protobuf:"bytes,10,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
	CipherSuiteLen   int32    `protobuf:"varint,11,opt,name=CipherSuiteLen,proto3" json:"CipherSuiteLen,omitempty"`
	ExtensionLen     int32    `protobuf:"varint,12,opt,name=ExtensionLen,proto3" json:"ExtensionLen,omitempty"`
	SNI              string   `protobuf:"bytes,13,opt,name=SNI,proto3" json:"SNI,omitempty"`
	OSCP             bool     `protobuf:"varint,14,opt,name=OSCP,proto3" json:"OSCP,omitempty"`
	CipherSuites     []int32  `protobuf:"varint,15,rep,packed,name=CipherSuites,proto3" json:"CipherSuites,omitempty"`
	CompressMethods  []int32  `protobuf:"varint,16,rep,packed,name=CompressMethods,proto3" json:"CompressMethods,omitempty"`
	SignatureAlgs    []int32  `protobuf:"varint,17,rep,packed,name=SignatureAlgs,proto3" json:"SignatureAlgs,omitempty"`
	SupportedGroups  []int32  `protobuf:"varint,18,rep,packed,name=SupportedGroups,proto3" json:"SupportedGroups,omitempty"`
	SupportedPoints  []int32  `protobuf:"varint,19,rep,packed,name=SupportedPoints,proto3" json:"SupportedPoints,omitempty"`
	ALPNs            []string `protobuf:"bytes,20,rep,name=ALPNs,proto3" json:"ALPNs,omitempty"`
	Ja3              string   `protobuf:"bytes,21,opt,name=Ja3,proto3" json:"Ja3,omitempty"`
	SrcIP            string   `protobuf:"bytes,22,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP            string   `protobuf:"bytes,23,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcMAC           string   `protobuf:"bytes,24,opt,name=SrcMAC,proto3" json:"SrcMAC,omitempty"`
	DstMAC           string   `protobuf:"bytes,25,opt,name=DstMAC,proto3" json:"DstMAC,omitempty"`
	SrcPort          int32    `protobuf:"varint,26,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort          int32    `protobuf:"varint,27,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
	Extensions       []int32  `protobuf:"varint,28,rep,packed,name=Extensions,proto3" json:"Extensions,omitempty"`
}

func (*TLSClientHello) Analyze added in v0.6.6

func (t *TLSClientHello) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*TLSClientHello) CSVHeader

func (t *TLSClientHello) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*TLSClientHello) CSVRecord

func (t *TLSClientHello) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*TLSClientHello) Descriptor

func (*TLSClientHello) Descriptor() ([]byte, []int)

func (*TLSClientHello) Dst added in v0.4.3

func (t *TLSClientHello) Dst() string

Dst returns the destination address of the audit record.

func (*TLSClientHello) Encode added in v0.6.6

func (t *TLSClientHello) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*TLSClientHello) GetALPNs

func (m *TLSClientHello) GetALPNs() []string

func (*TLSClientHello) GetCipherSuiteLen

func (m *TLSClientHello) GetCipherSuiteLen() int32

func (*TLSClientHello) GetCipherSuites

func (m *TLSClientHello) GetCipherSuites() []int32

func (*TLSClientHello) GetCompressMethods

func (m *TLSClientHello) GetCompressMethods() []int32

func (*TLSClientHello) GetDstIP

func (m *TLSClientHello) GetDstIP() string

func (*TLSClientHello) GetDstMAC

func (m *TLSClientHello) GetDstMAC() string

func (*TLSClientHello) GetDstPort

func (m *TLSClientHello) GetDstPort() int32

func (*TLSClientHello) GetExtensionLen

func (m *TLSClientHello) GetExtensionLen() int32

func (*TLSClientHello) GetExtensions

func (m *TLSClientHello) GetExtensions() []int32

func (*TLSClientHello) GetHandshakeLen

func (m *TLSClientHello) GetHandshakeLen() uint32

func (*TLSClientHello) GetHandshakeType

func (m *TLSClientHello) GetHandshakeType() int32

func (*TLSClientHello) GetHandshakeVersion

func (m *TLSClientHello) GetHandshakeVersion() int32

func (*TLSClientHello) GetJa3

func (m *TLSClientHello) GetJa3() string

func (*TLSClientHello) GetMessageLen

func (m *TLSClientHello) GetMessageLen() int32

func (*TLSClientHello) GetOSCP

func (m *TLSClientHello) GetOSCP() bool

func (*TLSClientHello) GetRandom

func (m *TLSClientHello) GetRandom() []byte

func (*TLSClientHello) GetSNI

func (m *TLSClientHello) GetSNI() string

func (*TLSClientHello) GetSessionID

func (m *TLSClientHello) GetSessionID() []byte

func (*TLSClientHello) GetSessionIDLen

func (m *TLSClientHello) GetSessionIDLen() uint32

func (*TLSClientHello) GetSignatureAlgs

func (m *TLSClientHello) GetSignatureAlgs() []int32

func (*TLSClientHello) GetSrcIP

func (m *TLSClientHello) GetSrcIP() string

func (*TLSClientHello) GetSrcMAC

func (m *TLSClientHello) GetSrcMAC() string

func (*TLSClientHello) GetSrcPort

func (m *TLSClientHello) GetSrcPort() int32

func (*TLSClientHello) GetSupportedGroups

func (m *TLSClientHello) GetSupportedGroups() []int32

func (*TLSClientHello) GetSupportedPoints

func (m *TLSClientHello) GetSupportedPoints() []int32

func (*TLSClientHello) GetTimestamp

func (m *TLSClientHello) GetTimestamp() int64

func (*TLSClientHello) GetType

func (m *TLSClientHello) GetType() int32

func (*TLSClientHello) GetVersion

func (m *TLSClientHello) GetVersion() int32

func (*TLSClientHello) Inc added in v0.4.0

func (t *TLSClientHello) Inc()

Inc increments the metrics for the audit record.

func (*TLSClientHello) JSON added in v0.4.0

func (t *TLSClientHello) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*TLSClientHello) Marshal added in v0.3.9

func (m *TLSClientHello) Marshal() (dAtA []byte, err error)

func (*TLSClientHello) MarshalTo added in v0.3.9

func (m *TLSClientHello) MarshalTo(dAtA []byte) (int, error)

func (*TLSClientHello) MarshalToSizedBuffer added in v0.6.6

func (m *TLSClientHello) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TLSClientHello) NetcapType added in v0.6.6

func (t *TLSClientHello) NetcapType() Type

NetcapType returns the type of the current audit record

func (*TLSClientHello) ProtoMessage

func (*TLSClientHello) ProtoMessage()

func (*TLSClientHello) Reset

func (m *TLSClientHello) Reset()

func (*TLSClientHello) SetPacketContext added in v0.4.3

func (t *TLSClientHello) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*TLSClientHello) Size added in v0.3.9

func (m *TLSClientHello) Size() (n int)

func (*TLSClientHello) Src added in v0.4.3

func (t *TLSClientHello) Src() string

Src returns the source address of the audit record.

func (*TLSClientHello) String

func (m *TLSClientHello) String() string

func (*TLSClientHello) Time added in v0.4.3

func (t *TLSClientHello) Time() int64

Time returns the timestamp associated with the audit record.

func (*TLSClientHello) Unmarshal added in v0.3.9

func (m *TLSClientHello) Unmarshal(dAtA []byte) error

func (*TLSClientHello) XXX_DiscardUnknown

func (m *TLSClientHello) XXX_DiscardUnknown()

func (*TLSClientHello) XXX_Marshal

func (m *TLSClientHello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TLSClientHello) XXX_Merge

func (m *TLSClientHello) XXX_Merge(src proto.Message)

func (*TLSClientHello) XXX_Size

func (m *TLSClientHello) XXX_Size() int

func (*TLSClientHello) XXX_Unmarshal

func (m *TLSClientHello) XXX_Unmarshal(b []byte) error

type TLSServerHello added in v0.6.6

type TLSServerHello struct {
	Timestamp                    int64    `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Version                      int32    `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	Random                       []byte   `protobuf:"bytes,3,opt,name=Random,proto3" json:"Random,omitempty"`
	SessionID                    []byte   `protobuf:"bytes,4,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
	CipherSuite                  int32    `protobuf:"varint,5,opt,name=CipherSuite,proto3" json:"CipherSuite,omitempty"`
	CompressionMethod            int32    `protobuf:"varint,6,opt,name=CompressionMethod,proto3" json:"CompressionMethod,omitempty"`
	NextProtoNeg                 bool     `protobuf:"varint,7,opt,name=NextProtoNeg,proto3" json:"NextProtoNeg,omitempty"`
	NextProtos                   []string `protobuf:"bytes,8,rep,name=NextProtos,proto3" json:"NextProtos,omitempty"`
	OCSPStapling                 bool     `protobuf:"varint,9,opt,name=OCSPStapling,proto3" json:"OCSPStapling,omitempty"`
	TicketSupported              bool     `protobuf:"varint,10,opt,name=TicketSupported,proto3" json:"TicketSupported,omitempty"`
	SecureRenegotiationSupported bool     `protobuf:"varint,11,opt,name=SecureRenegotiationSupported,proto3" json:"SecureRenegotiationSupported,omitempty"`
	SecureRenegotiation          []byte   `protobuf:"bytes,12,opt,name=SecureRenegotiation,proto3" json:"SecureRenegotiation,omitempty"`
	AlpnProtocol                 string   `protobuf:"bytes,13,opt,name=AlpnProtocol,proto3" json:"AlpnProtocol,omitempty"`
	Ems                          bool     `protobuf:"varint,14,opt,name=Ems,proto3" json:"Ems,omitempty"`
	Scts                         [][]byte `protobuf:"bytes,15,rep,name=Scts,proto3" json:"Scts,omitempty"`
	SupportedVersion             int32    `protobuf:"varint,16,opt,name=SupportedVersion,proto3" json:"SupportedVersion,omitempty"`
	// KeyShare ServerShare            = 17; // fields are unexported by the stdlib unfortunately...
	SelectedIdentityPresent bool    `protobuf:"varint,18,opt,name=SelectedIdentityPresent,proto3" json:"SelectedIdentityPresent,omitempty"`
	SelectedIdentity        int32   `protobuf:"varint,19,opt,name=SelectedIdentity,proto3" json:"SelectedIdentity,omitempty"`
	Cookie                  []byte  `protobuf:"bytes,20,opt,name=Cookie,proto3" json:"Cookie,omitempty"`
	SelectedGroup           int32   `protobuf:"varint,21,opt,name=SelectedGroup,proto3" json:"SelectedGroup,omitempty"`
	Extensions              []int32 `protobuf:"varint,22,rep,packed,name=Extensions,proto3" json:"Extensions,omitempty"`
	SrcIP                   string  `protobuf:"bytes,23,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP                   string  `protobuf:"bytes,24,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
	SrcMAC                  string  `protobuf:"bytes,25,opt,name=SrcMAC,proto3" json:"SrcMAC,omitempty"`
	DstMAC                  string  `protobuf:"bytes,26,opt,name=DstMAC,proto3" json:"DstMAC,omitempty"`
	SrcPort                 int32   `protobuf:"varint,27,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort                 int32   `protobuf:"varint,28,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
	Ja3S                    string  `protobuf:"bytes,29,opt,name=Ja3s,proto3" json:"Ja3s,omitempty"`
}

func (*TLSServerHello) Analyze added in v0.6.6

func (t *TLSServerHello) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*TLSServerHello) CSVHeader added in v0.6.6

func (t *TLSServerHello) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*TLSServerHello) CSVRecord added in v0.6.6

func (t *TLSServerHello) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*TLSServerHello) Descriptor added in v0.6.6

func (*TLSServerHello) Descriptor() ([]byte, []int)

func (*TLSServerHello) Dst added in v0.6.6

func (t *TLSServerHello) Dst() string

Dst returns the destination address of the audit record.

func (*TLSServerHello) Encode added in v0.6.6

func (t *TLSServerHello) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*TLSServerHello) GetAlpnProtocol added in v0.6.6

func (m *TLSServerHello) GetAlpnProtocol() string

func (*TLSServerHello) GetCipherSuite added in v0.6.6

func (m *TLSServerHello) GetCipherSuite() int32

func (*TLSServerHello) GetCompressionMethod added in v0.6.6

func (m *TLSServerHello) GetCompressionMethod() int32

func (*TLSServerHello) GetCookie added in v0.6.6

func (m *TLSServerHello) GetCookie() []byte

func (*TLSServerHello) GetDstIP added in v0.6.6

func (m *TLSServerHello) GetDstIP() string

func (*TLSServerHello) GetDstMAC added in v0.6.6

func (m *TLSServerHello) GetDstMAC() string

func (*TLSServerHello) GetDstPort added in v0.6.6

func (m *TLSServerHello) GetDstPort() int32

func (*TLSServerHello) GetEms added in v0.6.6

func (m *TLSServerHello) GetEms() bool

func (*TLSServerHello) GetExtensions added in v0.6.6

func (m *TLSServerHello) GetExtensions() []int32

func (*TLSServerHello) GetJa3S added in v0.6.6

func (m *TLSServerHello) GetJa3S() string

func (*TLSServerHello) GetNextProtoNeg added in v0.6.6

func (m *TLSServerHello) GetNextProtoNeg() bool

func (*TLSServerHello) GetNextProtos added in v0.6.6

func (m *TLSServerHello) GetNextProtos() []string

func (*TLSServerHello) GetOCSPStapling added in v0.6.6

func (m *TLSServerHello) GetOCSPStapling() bool

func (*TLSServerHello) GetRandom added in v0.6.6

func (m *TLSServerHello) GetRandom() []byte

func (*TLSServerHello) GetScts added in v0.6.6

func (m *TLSServerHello) GetScts() [][]byte

func (*TLSServerHello) GetSecureRenegotiation added in v0.6.6

func (m *TLSServerHello) GetSecureRenegotiation() []byte

func (*TLSServerHello) GetSecureRenegotiationSupported added in v0.6.6

func (m *TLSServerHello) GetSecureRenegotiationSupported() bool

func (*TLSServerHello) GetSelectedGroup added in v0.6.6

func (m *TLSServerHello) GetSelectedGroup() int32

func (*TLSServerHello) GetSelectedIdentity added in v0.6.6

func (m *TLSServerHello) GetSelectedIdentity() int32

func (*TLSServerHello) GetSelectedIdentityPresent added in v0.6.6

func (m *TLSServerHello) GetSelectedIdentityPresent() bool

func (*TLSServerHello) GetSessionID added in v0.6.6

func (m *TLSServerHello) GetSessionID() []byte

func (*TLSServerHello) GetSrcIP added in v0.6.6

func (m *TLSServerHello) GetSrcIP() string

func (*TLSServerHello) GetSrcMAC added in v0.6.6

func (m *TLSServerHello) GetSrcMAC() string

func (*TLSServerHello) GetSrcPort added in v0.6.6

func (m *TLSServerHello) GetSrcPort() int32

func (*TLSServerHello) GetSupportedVersion added in v0.6.6

func (m *TLSServerHello) GetSupportedVersion() int32

func (*TLSServerHello) GetTicketSupported added in v0.6.6

func (m *TLSServerHello) GetTicketSupported() bool

func (*TLSServerHello) GetTimestamp added in v0.6.6

func (m *TLSServerHello) GetTimestamp() int64

func (*TLSServerHello) GetVersion added in v0.6.6

func (m *TLSServerHello) GetVersion() int32

func (*TLSServerHello) Inc added in v0.6.6

func (t *TLSServerHello) Inc()

Inc increments the metrics for the audit record.

func (*TLSServerHello) JSON added in v0.6.6

func (t *TLSServerHello) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*TLSServerHello) Marshal added in v0.6.6

func (m *TLSServerHello) Marshal() (dAtA []byte, err error)

func (*TLSServerHello) MarshalTo added in v0.6.6

func (m *TLSServerHello) MarshalTo(dAtA []byte) (int, error)

func (*TLSServerHello) MarshalToSizedBuffer added in v0.6.6

func (m *TLSServerHello) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TLSServerHello) NetcapType added in v0.6.6

func (t *TLSServerHello) NetcapType() Type

NetcapType returns the type of the current audit record

func (*TLSServerHello) ProtoMessage added in v0.6.6

func (*TLSServerHello) ProtoMessage()

func (*TLSServerHello) Reset added in v0.6.6

func (m *TLSServerHello) Reset()

func (*TLSServerHello) SetPacketContext added in v0.6.6

func (t *TLSServerHello) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*TLSServerHello) Size added in v0.6.6

func (m *TLSServerHello) Size() (n int)

func (*TLSServerHello) Src added in v0.6.6

func (t *TLSServerHello) Src() string

Src returns the source address of the audit record.

func (*TLSServerHello) String added in v0.6.6

func (m *TLSServerHello) String() string

func (*TLSServerHello) Time added in v0.6.6

func (t *TLSServerHello) Time() int64

Time returns the timestamp associated with the audit record.

func (*TLSServerHello) Unmarshal added in v0.6.6

func (m *TLSServerHello) Unmarshal(dAtA []byte) error

func (*TLSServerHello) XXX_DiscardUnknown added in v0.6.6

func (m *TLSServerHello) XXX_DiscardUnknown()

func (*TLSServerHello) XXX_Marshal added in v0.6.6

func (m *TLSServerHello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TLSServerHello) XXX_Merge added in v0.6.6

func (m *TLSServerHello) XXX_Merge(src proto.Message)

func (*TLSServerHello) XXX_Size added in v0.6.6

func (m *TLSServerHello) XXX_Size() int

func (*TLSServerHello) XXX_Unmarshal added in v0.6.6

func (m *TLSServerHello) XXX_Unmarshal(b []byte) error

type Type

type Type int32
const (
	Type_NC_Header                      Type = 0
	Type_NC_Batch                       Type = 1
	Type_NC_Connection                  Type = 3
	Type_NC_Ethernet                    Type = 7
	Type_NC_ARP                         Type = 8
	Type_NC_Dot1Q                       Type = 9
	Type_NC_Dot11                       Type = 10
	Type_NC_Dot11QOS                    Type = 11
	Type_NC_Dot11HTControl              Type = 12
	Type_NC_Dot11HTControlVHT           Type = 13
	Type_NC_Dot11HTControlHT            Type = 14
	Type_NC_Dot11HTControlMFB           Type = 15
	Type_NC_Dot11LinkAdapationControl   Type = 16
	Type_NC_Dot11ASEL                   Type = 17
	Type_NC_LinkLayerDiscovery          Type = 18
	Type_NC_LLDPChassisID               Type = 19
	Type_NC_LLDPPortID                  Type = 20
	Type_NC_LinkLayerDiscoveryValue     Type = 21
	Type_NC_EthernetCTP                 Type = 22
	Type_NC_EthernetCTPReply            Type = 23
	Type_NC_LinkLayerDiscoveryInfo      Type = 24
	Type_NC_LLDPSysCapabilities         Type = 25
	Type_NC_LLDPCapabilities            Type = 26
	Type_NC_LLDPMgmtAddress             Type = 27
	Type_NC_LLDPOrgSpecificTLV          Type = 28
	Type_NC_IPv4                        Type = 29
	Type_NC_IPv4Option                  Type = 30
	Type_NC_IPv6                        Type = 31
	Type_NC_ICMPv4                      Type = 32
	Type_NC_ICMPv6                      Type = 33
	Type_NC_ICMPv6NeighborAdvertisement Type = 34
	Type_NC_ICMPv6RouterAdvertisement   Type = 35
	Type_NC_ICMPv6Option                Type = 36
	Type_NC_UDP                         Type = 37
	Type_NC_TCP                         Type = 38
	Type_NC_TCPOption                   Type = 39
	Type_NC_SCTP                        Type = 40
	Type_NC_DNS                         Type = 41
	Type_NC_DNSResourceRecord           Type = 42
	Type_NC_DNSSOA                      Type = 43
	Type_NC_DNSSRV                      Type = 44
	Type_NC_DNSMX                       Type = 45
	Type_NC_DNSQuestion                 Type = 46
	Type_NC_DHCPv4                      Type = 47
	Type_NC_DHCPOption                  Type = 48
	Type_NC_DHCPv6                      Type = 49
	Type_NC_DHCPv6Option                Type = 50
	Type_NC_LLC                         Type = 51
	Type_NC_NTP                         Type = 52
	Type_NC_SIP                         Type = 53
	Type_NC_IGMP                        Type = 54
	Type_NC_IGMPv3GroupRecord           Type = 55
	Type_NC_IPv6HopByHop                Type = 56
	Type_NC_IPv6HopByHopOption          Type = 57
	Type_NC_IPv6HopByHopOptionAlignment Type = 58
	Type_NC_SNAP                        Type = 59
	Type_NC_ICMPv6Echo                  Type = 60
	Type_NC_ICMPv6NeighborSolicitation  Type = 61
	Type_NC_ICMPv6RouterSolicitation    Type = 62
	Type_NC_HTTP                        Type = 63
	Type_NC_TLSClientHello              Type = 64
	Type_NC_IPSecAH                     Type = 65
	Type_NC_IPSecESP                    Type = 66
	Type_NC_Geneve                      Type = 67
	Type_NC_IPv6Fragment                Type = 68
	Type_NC_VXLAN                       Type = 69
	Type_NC_USB                         Type = 70
	Type_NC_LCM                         Type = 71
	Type_NC_MPLS                        Type = 72
	Type_NC_Modbus                      Type = 73
	Type_NC_OSPFv2                      Type = 74
	Type_NC_OSPFv3                      Type = 75
	Type_NC_BFD                         Type = 76
	Type_NC_GRE                         Type = 77
	Type_NC_FDDI                        Type = 78
	Type_NC_EAP                         Type = 79
	Type_NC_VRRPv2                      Type = 80
	Type_NC_EAPOL                       Type = 81
	Type_NC_EAPOLKey                    Type = 82
	Type_NC_CiscoDiscovery              Type = 83
	Type_NC_CiscoDiscoveryInfo          Type = 84
	Type_NC_USBRequestBlockSetup        Type = 85
	Type_NC_NortelDiscovery             Type = 86
	Type_NC_CIP                         Type = 87
	Type_NC_ENIP                        Type = 88
	Type_NC_DeviceProfile               Type = 89
	Type_NC_File                        Type = 90
	Type_NC_SMTP                        Type = 91
	Type_NC_Diameter                    Type = 92
	Type_NC_POP3                        Type = 93
	Type_NC_TLSServerHello              Type = 94
	Type_NC_Software                    Type = 95
	Type_NC_Service                     Type = 96
	Type_NC_Credentials                 Type = 97
	Type_NC_SSH                         Type = 98
	Type_NC_Vulnerability               Type = 99
	Type_NC_Exploit                     Type = 100
	Type_NC_IPProfile                   Type = 101
	Type_NC_Mail                        Type = 102
	Type_NC_Alert                       Type = 103
)

func (Type) EnumDescriptor

func (Type) EnumDescriptor() ([]byte, []int)

func (Type) String

func (x Type) String() string

type UDP

type UDP struct {
	Timestamp      int64   `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	SrcPort        int32   `protobuf:"varint,2,opt,name=SrcPort,proto3" json:"SrcPort,omitempty"`
	DstPort        int32   `protobuf:"varint,3,opt,name=DstPort,proto3" json:"DstPort,omitempty"`
	Length         int32   `protobuf:"varint,4,opt,name=Length,proto3" json:"Length,omitempty"`
	Checksum       int32   `protobuf:"varint,5,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	PayloadEntropy float64 `protobuf:"fixed64,6,opt,name=PayloadEntropy,proto3" json:"PayloadEntropy,omitempty"`
	PayloadSize    int32   `protobuf:"varint,7,opt,name=PayloadSize,proto3" json:"PayloadSize,omitempty"`
	Payload        []byte  `protobuf:"bytes,8,opt,name=Payload,proto3" json:"Payload,omitempty"`
	SrcIP          string  `protobuf:"bytes,9,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP          string  `protobuf:"bytes,10,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

The User Datagram Protocol (UDP) is one of the core members of the Internet protocol suite. The protocol was designed by David P. Reed in 1980 and formally defined in RFC 768. With UDP, computer applications can send messages, in this case referred to as datagrams, to other hosts on an Internet Protocol (IP) network. Prior communications are not required in order to set up communication channels or data paths.

func (*UDP) Analyze added in v0.6.6

func (u *UDP) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*UDP) CSVHeader

func (u *UDP) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*UDP) CSVRecord

func (u *UDP) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*UDP) Descriptor

func (*UDP) Descriptor() ([]byte, []int)

func (*UDP) Dst added in v0.4.3

func (u *UDP) Dst() string

Dst returns the destination address of the audit record.

func (*UDP) Encode added in v0.6.6

func (u *UDP) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*UDP) GetChecksum

func (m *UDP) GetChecksum() int32

func (*UDP) GetDstIP added in v0.6.6

func (m *UDP) GetDstIP() string

func (*UDP) GetDstPort

func (m *UDP) GetDstPort() int32

func (*UDP) GetLength

func (m *UDP) GetLength() int32

func (*UDP) GetPayload added in v0.3.9

func (m *UDP) GetPayload() []byte

func (*UDP) GetPayloadEntropy

func (m *UDP) GetPayloadEntropy() float64

func (*UDP) GetPayloadSize

func (m *UDP) GetPayloadSize() int32

func (*UDP) GetSrcIP added in v0.6.6

func (m *UDP) GetSrcIP() string

func (*UDP) GetSrcPort

func (m *UDP) GetSrcPort() int32

func (*UDP) GetTimestamp

func (m *UDP) GetTimestamp() int64

func (*UDP) Inc added in v0.4.0

func (u *UDP) Inc()

Inc increments the metrics for the audit record.

func (*UDP) JSON added in v0.4.0

func (u *UDP) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*UDP) Marshal added in v0.3.9

func (m *UDP) Marshal() (dAtA []byte, err error)

func (*UDP) MarshalTo added in v0.3.9

func (m *UDP) MarshalTo(dAtA []byte) (int, error)

func (*UDP) MarshalToSizedBuffer added in v0.6.6

func (m *UDP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UDP) NetcapType added in v0.6.6

func (u *UDP) NetcapType() Type

NetcapType returns the type of the current audit record

func (*UDP) ProtoMessage

func (*UDP) ProtoMessage()

func (*UDP) Reset

func (m *UDP) Reset()

func (*UDP) SetPacketContext added in v0.4.2

func (u *UDP) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*UDP) Size added in v0.3.9

func (m *UDP) Size() (n int)

func (*UDP) Src added in v0.4.3

func (u *UDP) Src() string

Src returns the source address of the audit record.

func (*UDP) String

func (m *UDP) String() string

func (*UDP) Time added in v0.4.3

func (u *UDP) Time() int64

Time returns the timestamp associated with the audit record.

func (*UDP) Unmarshal added in v0.3.9

func (m *UDP) Unmarshal(dAtA []byte) error

func (*UDP) XXX_DiscardUnknown

func (m *UDP) XXX_DiscardUnknown()

func (*UDP) XXX_Marshal

func (m *UDP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UDP) XXX_Merge

func (m *UDP) XXX_Merge(src proto.Message)

func (*UDP) XXX_Size

func (m *UDP) XXX_Size() int

func (*UDP) XXX_Unmarshal

func (m *UDP) XXX_Unmarshal(b []byte) error

type USB added in v0.3.7

type USB struct {
	Timestamp              int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ID                     uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"`
	EventType              int32  `protobuf:"varint,3,opt,name=EventType,proto3" json:"EventType,omitempty"`
	TransferType           int32  `protobuf:"varint,4,opt,name=TransferType,proto3" json:"TransferType,omitempty"`
	Direction              int32  `protobuf:"varint,5,opt,name=Direction,proto3" json:"Direction,omitempty"`
	EndpointNumber         int32  `protobuf:"varint,6,opt,name=EndpointNumber,proto3" json:"EndpointNumber,omitempty"`
	DeviceAddress          int32  `protobuf:"varint,7,opt,name=DeviceAddress,proto3" json:"DeviceAddress,omitempty"`
	BusID                  int32  `protobuf:"varint,8,opt,name=BusID,proto3" json:"BusID,omitempty"`
	TimestampSec           int64  `protobuf:"varint,9,opt,name=TimestampSec,proto3" json:"TimestampSec,omitempty"`
	TimestampUsec          int32  `protobuf:"varint,10,opt,name=TimestampUsec,proto3" json:"TimestampUsec,omitempty"`
	Setup                  bool   `protobuf:"varint,11,opt,name=Setup,proto3" json:"Setup,omitempty"`
	Data                   bool   `protobuf:"varint,12,opt,name=Data,proto3" json:"Data,omitempty"`
	Status                 int32  `protobuf:"varint,13,opt,name=Status,proto3" json:"Status,omitempty"`
	UrbLength              uint32 `protobuf:"varint,14,opt,name=UrbLength,proto3" json:"UrbLength,omitempty"`
	UrbDataLength          uint32 `protobuf:"varint,15,opt,name=UrbDataLength,proto3" json:"UrbDataLength,omitempty"`
	UrbInterval            uint32 `protobuf:"varint,16,opt,name=UrbInterval,proto3" json:"UrbInterval,omitempty"`
	UrbStartFrame          uint32 `protobuf:"varint,17,opt,name=UrbStartFrame,proto3" json:"UrbStartFrame,omitempty"`
	UrbCopyOfTransferFlags uint32 `protobuf:"varint,18,opt,name=UrbCopyOfTransferFlags,proto3" json:"UrbCopyOfTransferFlags,omitempty"`
	IsoNumDesc             uint32 `protobuf:"varint,19,opt,name=IsoNumDesc,proto3" json:"IsoNumDesc,omitempty"`
	Payload                []byte `protobuf:"bytes,20,opt,name=Payload,proto3" json:"Payload,omitempty"`
}

Universal Serial Bus (USB) is an industry standard that establishes specifications for cables and connectors and protocols for connection, communication and power supply between computers, peripheral devices and other computers. Released in 1996, the USB standard is currently maintained by the USB Implementers Forum (USB-IF). There have been four generations of USB specifications: USB 1.x, USB 2.0, USB 3.x and USB4.

func (*USB) Analyze added in v0.6.6

func (u *USB) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*USB) CSVHeader added in v0.3.7

func (u *USB) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*USB) CSVRecord added in v0.3.7

func (u *USB) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*USB) Descriptor added in v0.3.7

func (*USB) Descriptor() ([]byte, []int)

func (*USB) Dst added in v0.4.3

func (u *USB) Dst() string

Dst TODO return destination DeviceAddress? Dst returns the destination address of the audit record.

func (*USB) Encode added in v0.6.6

func (u *USB) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*USB) GetBusID added in v0.3.7

func (m *USB) GetBusID() int32

func (*USB) GetData added in v0.3.7

func (m *USB) GetData() bool

func (*USB) GetDeviceAddress added in v0.3.7

func (m *USB) GetDeviceAddress() int32

func (*USB) GetDirection added in v0.3.7

func (m *USB) GetDirection() int32

func (*USB) GetEndpointNumber added in v0.3.7

func (m *USB) GetEndpointNumber() int32

func (*USB) GetEventType added in v0.3.7

func (m *USB) GetEventType() int32

func (*USB) GetID added in v0.3.7

func (m *USB) GetID() uint64

func (*USB) GetIsoNumDesc added in v0.3.7

func (m *USB) GetIsoNumDesc() uint32

func (*USB) GetPayload added in v0.3.9

func (m *USB) GetPayload() []byte

func (*USB) GetSetup added in v0.3.7

func (m *USB) GetSetup() bool

func (*USB) GetStatus added in v0.3.7

func (m *USB) GetStatus() int32

func (*USB) GetTimestamp added in v0.3.7

func (m *USB) GetTimestamp() int64

func (*USB) GetTimestampSec added in v0.3.7

func (m *USB) GetTimestampSec() int64

func (*USB) GetTimestampUsec added in v0.3.7

func (m *USB) GetTimestampUsec() int32

func (*USB) GetTransferType added in v0.3.7

func (m *USB) GetTransferType() int32

func (*USB) GetUrbCopyOfTransferFlags added in v0.3.7

func (m *USB) GetUrbCopyOfTransferFlags() uint32

func (*USB) GetUrbDataLength added in v0.3.7

func (m *USB) GetUrbDataLength() uint32

func (*USB) GetUrbInterval added in v0.3.7

func (m *USB) GetUrbInterval() uint32

func (*USB) GetUrbLength added in v0.3.7

func (m *USB) GetUrbLength() uint32

func (*USB) GetUrbStartFrame added in v0.3.7

func (m *USB) GetUrbStartFrame() uint32

func (*USB) Inc added in v0.4.0

func (u *USB) Inc()

Inc increments the metrics for the audit record.

func (*USB) JSON added in v0.4.0

func (u *USB) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*USB) Marshal added in v0.3.9

func (m *USB) Marshal() (dAtA []byte, err error)

func (*USB) MarshalTo added in v0.3.9

func (m *USB) MarshalTo(dAtA []byte) (int, error)

func (*USB) MarshalToSizedBuffer added in v0.6.6

func (m *USB) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*USB) NetcapType added in v0.6.6

func (u *USB) NetcapType() Type

NetcapType returns the type of the current audit record

func (*USB) ProtoMessage added in v0.3.7

func (*USB) ProtoMessage()

func (*USB) Reset added in v0.3.7

func (m *USB) Reset()

func (*USB) SetPacketContext added in v0.4.2

func (u *USB) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*USB) Size added in v0.3.9

func (m *USB) Size() (n int)

func (*USB) Src added in v0.4.3

func (u *USB) Src() string

Src TODO return source DeviceAddress? Src returns the source address of the audit record.

func (*USB) String added in v0.3.7

func (m *USB) String() string

func (*USB) Time added in v0.4.3

func (u *USB) Time() int64

Time returns the timestamp associated with the audit record.

func (*USB) Unmarshal added in v0.3.9

func (m *USB) Unmarshal(dAtA []byte) error

func (*USB) XXX_DiscardUnknown added in v0.3.7

func (m *USB) XXX_DiscardUnknown()

func (*USB) XXX_Marshal added in v0.3.7

func (m *USB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*USB) XXX_Merge added in v0.3.7

func (m *USB) XXX_Merge(src proto.Message)

func (*USB) XXX_Size added in v0.3.7

func (m *USB) XXX_Size() int

func (*USB) XXX_Unmarshal added in v0.3.7

func (m *USB) XXX_Unmarshal(b []byte) error

type USBRequestBlockSetup added in v0.3.9

type USBRequestBlockSetup struct {
	Timestamp   int64 `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	RequestType int32 `protobuf:"varint,2,opt,name=RequestType,proto3" json:"RequestType,omitempty"`
	Request     int32 `protobuf:"varint,3,opt,name=Request,proto3" json:"Request,omitempty"`
	Value       int32 `protobuf:"varint,4,opt,name=Value,proto3" json:"Value,omitempty"`
	Index       int32 `protobuf:"varint,5,opt,name=Index,proto3" json:"Index,omitempty"`
	Length      int32 `protobuf:"varint,6,opt,name=Length,proto3" json:"Length,omitempty"`
}

func (*USBRequestBlockSetup) Analyze added in v0.6.6

func (a *USBRequestBlockSetup) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*USBRequestBlockSetup) CSVHeader added in v0.3.9

func (a *USBRequestBlockSetup) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*USBRequestBlockSetup) CSVRecord added in v0.3.9

func (a *USBRequestBlockSetup) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*USBRequestBlockSetup) Descriptor added in v0.3.9

func (*USBRequestBlockSetup) Descriptor() ([]byte, []int)

func (*USBRequestBlockSetup) Dst added in v0.4.3

func (a *USBRequestBlockSetup) Dst() string

Dst TODO return destination DeviceAddress? Dst returns the destination address of the audit record.

func (*USBRequestBlockSetup) Encode added in v0.6.6

func (a *USBRequestBlockSetup) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*USBRequestBlockSetup) GetIndex added in v0.3.9

func (m *USBRequestBlockSetup) GetIndex() int32

func (*USBRequestBlockSetup) GetLength added in v0.3.9

func (m *USBRequestBlockSetup) GetLength() int32

func (*USBRequestBlockSetup) GetRequest added in v0.3.9

func (m *USBRequestBlockSetup) GetRequest() int32

func (*USBRequestBlockSetup) GetRequestType added in v0.3.9

func (m *USBRequestBlockSetup) GetRequestType() int32

func (*USBRequestBlockSetup) GetTimestamp added in v0.3.9

func (m *USBRequestBlockSetup) GetTimestamp() int64

func (*USBRequestBlockSetup) GetValue added in v0.3.9

func (m *USBRequestBlockSetup) GetValue() int32

func (*USBRequestBlockSetup) Inc added in v0.4.0

func (a *USBRequestBlockSetup) Inc()

Inc increments the metrics for the audit record.

func (*USBRequestBlockSetup) JSON added in v0.4.0

func (a *USBRequestBlockSetup) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*USBRequestBlockSetup) Marshal added in v0.3.9

func (m *USBRequestBlockSetup) Marshal() (dAtA []byte, err error)

func (*USBRequestBlockSetup) MarshalTo added in v0.3.9

func (m *USBRequestBlockSetup) MarshalTo(dAtA []byte) (int, error)

func (*USBRequestBlockSetup) MarshalToSizedBuffer added in v0.6.6

func (m *USBRequestBlockSetup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*USBRequestBlockSetup) NetcapType added in v0.6.6

func (a *USBRequestBlockSetup) NetcapType() Type

NetcapType returns the type of the current audit record

func (*USBRequestBlockSetup) ProtoMessage added in v0.3.9

func (*USBRequestBlockSetup) ProtoMessage()

func (*USBRequestBlockSetup) Reset added in v0.3.9

func (m *USBRequestBlockSetup) Reset()

func (*USBRequestBlockSetup) SetPacketContext added in v0.4.2

func (a *USBRequestBlockSetup) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*USBRequestBlockSetup) Size added in v0.3.9

func (m *USBRequestBlockSetup) Size() (n int)

func (*USBRequestBlockSetup) Src added in v0.4.3

func (a *USBRequestBlockSetup) Src() string

Src TODO return source DeviceAddress? Src returns the source address of the audit record.

func (*USBRequestBlockSetup) String added in v0.3.9

func (m *USBRequestBlockSetup) String() string

func (*USBRequestBlockSetup) Time added in v0.4.3

func (a *USBRequestBlockSetup) Time() int64

Time returns the timestamp associated with the audit record.

func (*USBRequestBlockSetup) Unmarshal added in v0.3.9

func (m *USBRequestBlockSetup) Unmarshal(dAtA []byte) error

func (*USBRequestBlockSetup) XXX_DiscardUnknown added in v0.3.9

func (m *USBRequestBlockSetup) XXX_DiscardUnknown()

func (*USBRequestBlockSetup) XXX_Marshal added in v0.3.9

func (m *USBRequestBlockSetup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*USBRequestBlockSetup) XXX_Merge added in v0.3.9

func (m *USBRequestBlockSetup) XXX_Merge(src proto.Message)

func (*USBRequestBlockSetup) XXX_Size added in v0.3.9

func (m *USBRequestBlockSetup) XXX_Size() int

func (*USBRequestBlockSetup) XXX_Unmarshal added in v0.3.9

func (m *USBRequestBlockSetup) XXX_Unmarshal(b []byte) error

type VRRPv2 added in v0.3.7

type VRRPv2 struct {
	Timestamp    int64    `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Version      int32    `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	Type         int32    `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
	VirtualRtrID int32    `protobuf:"varint,4,opt,name=VirtualRtrID,proto3" json:"VirtualRtrID,omitempty"`
	Priority     int32    `protobuf:"varint,5,opt,name=Priority,proto3" json:"Priority,omitempty"`
	CountIPAddr  int32    `protobuf:"varint,6,opt,name=CountIPAddr,proto3" json:"CountIPAddr,omitempty"`
	AuthType     int32    `protobuf:"varint,7,opt,name=AuthType,proto3" json:"AuthType,omitempty"`
	AdverInt     int32    `protobuf:"varint,8,opt,name=AdverInt,proto3" json:"AdverInt,omitempty"`
	Checksum     int32    `protobuf:"varint,9,opt,name=Checksum,proto3" json:"Checksum,omitempty"`
	IPAddress    []string `protobuf:"bytes,10,rep,name=IPAddress,proto3" json:"IPAddress,omitempty"`
	SrcIP        string   `protobuf:"bytes,11,opt,name=SrcIP,proto3" json:"SrcIP,omitempty"`
	DstIP        string   `protobuf:"bytes,12,opt,name=DstIP,proto3" json:"DstIP,omitempty"`
}

The Virtual Router Redundancy Protocol (VRRP) is a computer networking protocol that provides for automatic assignment of available Internet Protocol (IP) routers to participating hosts. This increases the availability and reliability of routing paths via automatic default gateway selections on an IP subnetwork.

func (*VRRPv2) Analyze added in v0.6.6

func (a *VRRPv2) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*VRRPv2) CSVHeader added in v0.3.7

func (a *VRRPv2) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*VRRPv2) CSVRecord added in v0.3.7

func (a *VRRPv2) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*VRRPv2) Descriptor added in v0.3.7

func (*VRRPv2) Descriptor() ([]byte, []int)

func (*VRRPv2) Dst added in v0.4.3

func (a *VRRPv2) Dst() string

Dst returns the destination address of the audit record.

func (*VRRPv2) Encode added in v0.6.6

func (a *VRRPv2) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*VRRPv2) GetAdverInt added in v0.3.7

func (m *VRRPv2) GetAdverInt() int32

func (*VRRPv2) GetAuthType added in v0.3.7

func (m *VRRPv2) GetAuthType() int32

func (*VRRPv2) GetChecksum added in v0.3.7

func (m *VRRPv2) GetChecksum() int32

func (*VRRPv2) GetCountIPAddr added in v0.3.7

func (m *VRRPv2) GetCountIPAddr() int32

func (*VRRPv2) GetDstIP added in v0.6.6

func (m *VRRPv2) GetDstIP() string

func (*VRRPv2) GetIPAddress added in v0.3.7

func (m *VRRPv2) GetIPAddress() []string

func (*VRRPv2) GetPriority added in v0.3.7

func (m *VRRPv2) GetPriority() int32

func (*VRRPv2) GetSrcIP added in v0.6.6

func (m *VRRPv2) GetSrcIP() string

func (*VRRPv2) GetTimestamp added in v0.3.7

func (m *VRRPv2) GetTimestamp() int64

func (*VRRPv2) GetType added in v0.3.7

func (m *VRRPv2) GetType() int32

func (*VRRPv2) GetVersion added in v0.3.7

func (m *VRRPv2) GetVersion() int32

func (*VRRPv2) GetVirtualRtrID added in v0.3.7

func (m *VRRPv2) GetVirtualRtrID() int32

func (*VRRPv2) Inc added in v0.4.0

func (a *VRRPv2) Inc()

Inc increments the metrics for the audit record.

func (*VRRPv2) JSON added in v0.4.0

func (a *VRRPv2) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*VRRPv2) Marshal added in v0.3.9

func (m *VRRPv2) Marshal() (dAtA []byte, err error)

func (*VRRPv2) MarshalTo added in v0.3.9

func (m *VRRPv2) MarshalTo(dAtA []byte) (int, error)

func (*VRRPv2) MarshalToSizedBuffer added in v0.6.6

func (m *VRRPv2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VRRPv2) NetcapType added in v0.6.6

func (a *VRRPv2) NetcapType() Type

NetcapType returns the type of the current audit record

func (*VRRPv2) ProtoMessage added in v0.3.7

func (*VRRPv2) ProtoMessage()

func (*VRRPv2) Reset added in v0.3.7

func (m *VRRPv2) Reset()

func (*VRRPv2) SetPacketContext added in v0.4.2

func (a *VRRPv2) SetPacketContext(ctx *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*VRRPv2) Size added in v0.3.9

func (m *VRRPv2) Size() (n int)

func (*VRRPv2) Src added in v0.4.3

func (a *VRRPv2) Src() string

Src returns the source address of the audit record.

func (*VRRPv2) String added in v0.3.7

func (m *VRRPv2) String() string

func (*VRRPv2) Time added in v0.4.3

func (a *VRRPv2) Time() int64

Time returns the timestamp associated with the audit record.

func (*VRRPv2) Unmarshal added in v0.3.9

func (m *VRRPv2) Unmarshal(dAtA []byte) error

func (*VRRPv2) XXX_DiscardUnknown added in v0.3.7

func (m *VRRPv2) XXX_DiscardUnknown()

func (*VRRPv2) XXX_Marshal added in v0.3.7

func (m *VRRPv2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VRRPv2) XXX_Merge added in v0.3.7

func (m *VRRPv2) XXX_Merge(src proto.Message)

func (*VRRPv2) XXX_Size added in v0.3.7

func (m *VRRPv2) XXX_Size() int

func (*VRRPv2) XXX_Unmarshal added in v0.3.7

func (m *VRRPv2) XXX_Unmarshal(b []byte) error

type VXLAN added in v0.3.7

type VXLAN struct {
	Timestamp        int64  `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ValidIDFlag      bool   `protobuf:"varint,2,opt,name=ValidIDFlag,proto3" json:"ValidIDFlag,omitempty"`
	VNI              uint32 `protobuf:"varint,3,opt,name=VNI,proto3" json:"VNI,omitempty"`
	GBPExtension     bool   `protobuf:"varint,4,opt,name=GBPExtension,proto3" json:"GBPExtension,omitempty"`
	GBPDontLearn     bool   `protobuf:"varint,5,opt,name=GBPDontLearn,proto3" json:"GBPDontLearn,omitempty"`
	GBPApplied       bool   `protobuf:"varint,6,opt,name=GBPApplied,proto3" json:"GBPApplied,omitempty"`
	GBPGroupPolicyID int32  `protobuf:"varint,7,opt,name=GBPGroupPolicyID,proto3" json:"GBPGroupPolicyID,omitempty"`
}

VXLAN is a VXLAN packet header

func (*VXLAN) Analyze added in v0.6.6

func (a *VXLAN) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*VXLAN) CSVHeader added in v0.3.7

func (a *VXLAN) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*VXLAN) CSVRecord added in v0.3.7

func (a *VXLAN) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*VXLAN) Descriptor added in v0.3.7

func (*VXLAN) Descriptor() ([]byte, []int)

func (*VXLAN) Dst added in v0.4.3

func (a *VXLAN) Dst() string

Dst returns the destination address of the audit record.

func (*VXLAN) Encode added in v0.6.6

func (a *VXLAN) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*VXLAN) GetGBPApplied added in v0.3.7

func (m *VXLAN) GetGBPApplied() bool

func (*VXLAN) GetGBPDontLearn added in v0.3.7

func (m *VXLAN) GetGBPDontLearn() bool

func (*VXLAN) GetGBPExtension added in v0.3.7

func (m *VXLAN) GetGBPExtension() bool

func (*VXLAN) GetGBPGroupPolicyID added in v0.3.7

func (m *VXLAN) GetGBPGroupPolicyID() int32

func (*VXLAN) GetTimestamp added in v0.3.7

func (m *VXLAN) GetTimestamp() int64

func (*VXLAN) GetVNI added in v0.3.7

func (m *VXLAN) GetVNI() uint32

func (*VXLAN) GetValidIDFlag added in v0.3.7

func (m *VXLAN) GetValidIDFlag() bool

func (*VXLAN) Inc added in v0.4.0

func (a *VXLAN) Inc()

Inc increments the metrics for the audit record.

func (*VXLAN) JSON added in v0.4.0

func (a *VXLAN) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*VXLAN) Marshal added in v0.3.9

func (m *VXLAN) Marshal() (dAtA []byte, err error)

func (*VXLAN) MarshalTo added in v0.3.9

func (m *VXLAN) MarshalTo(dAtA []byte) (int, error)

func (*VXLAN) MarshalToSizedBuffer added in v0.6.6

func (m *VXLAN) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VXLAN) NetcapType added in v0.6.6

func (a *VXLAN) NetcapType() Type

NetcapType returns the type of the current audit record

func (*VXLAN) ProtoMessage added in v0.3.7

func (*VXLAN) ProtoMessage()

func (*VXLAN) Reset added in v0.3.7

func (m *VXLAN) Reset()

func (*VXLAN) SetPacketContext added in v0.4.2

func (a *VXLAN) SetPacketContext(_ *PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*VXLAN) Size added in v0.3.9

func (m *VXLAN) Size() (n int)

func (*VXLAN) Src added in v0.4.3

func (a *VXLAN) Src() string

Src returns the source address of the audit record.

func (*VXLAN) String added in v0.3.7

func (m *VXLAN) String() string

func (*VXLAN) Time added in v0.4.3

func (a *VXLAN) Time() int64

Time returns the timestamp associated with the audit record.

func (*VXLAN) Unmarshal added in v0.3.9

func (m *VXLAN) Unmarshal(dAtA []byte) error

func (*VXLAN) XXX_DiscardUnknown added in v0.3.7

func (m *VXLAN) XXX_DiscardUnknown()

func (*VXLAN) XXX_Marshal added in v0.3.7

func (m *VXLAN) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VXLAN) XXX_Merge added in v0.3.7

func (m *VXLAN) XXX_Merge(src proto.Message)

func (*VXLAN) XXX_Size added in v0.3.7

func (m *VXLAN) XXX_Size() int

func (*VXLAN) XXX_Unmarshal added in v0.3.7

func (m *VXLAN) XXX_Unmarshal(b []byte) error

type Vulnerability added in v0.6.6

type Vulnerability struct {
	Timestamp    int64     `protobuf:"varint,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ID           string    `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	Description  string    `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	Severity     string    `protobuf:"bytes,4,opt,name=Severity,proto3" json:"Severity,omitempty"`
	V2Score      string    `protobuf:"bytes,5,opt,name=V2Score,proto3" json:"V2Score,omitempty"`
	AccessVector string    `protobuf:"bytes,6,opt,name=AccessVector,proto3" json:"AccessVector,omitempty"`
	Versions     []string  `protobuf:"bytes,7,rep,name=Versions,proto3" json:"Versions,omitempty"`
	Notes        string    `protobuf:"bytes,8,opt,name=Notes,proto3" json:"Notes,omitempty"`
	Software     *Software `protobuf:"bytes,9,opt,name=Software,proto3" json:"Software,omitempty"`
}

func (*Vulnerability) Analyze added in v0.6.6

func (a *Vulnerability) Analyze()

Analyze will invoke the configured analyzer for the audit record and return a score.

func (*Vulnerability) CSVHeader added in v0.6.6

func (a *Vulnerability) CSVHeader() []string

CSVHeader returns the CSV header for the audit record.

func (*Vulnerability) CSVRecord added in v0.6.6

func (a *Vulnerability) CSVRecord() []string

CSVRecord returns the CSV record for the audit record.

func (*Vulnerability) Descriptor added in v0.6.6

func (*Vulnerability) Descriptor() ([]byte, []int)

func (*Vulnerability) Dst added in v0.6.6

func (a *Vulnerability) Dst() string

Dst TODO: preserve source and destination mac adresses for Vulnerability and return them here. Dst returns the destination address of the audit record.

func (*Vulnerability) Encode added in v0.6.6

func (a *Vulnerability) Encode() []string

Encode will encode categorical values and normalize according to configuration

func (*Vulnerability) GetAccessVector added in v0.6.6

func (m *Vulnerability) GetAccessVector() string

func (*Vulnerability) GetDescription added in v0.6.6

func (m *Vulnerability) GetDescription() string

func (*Vulnerability) GetID added in v0.6.6

func (m *Vulnerability) GetID() string

func (*Vulnerability) GetNotes added in v0.6.6

func (m *Vulnerability) GetNotes() string

func (*Vulnerability) GetSeverity added in v0.6.6

func (m *Vulnerability) GetSeverity() string

func (*Vulnerability) GetSoftware added in v0.6.6

func (m *Vulnerability) GetSoftware() *Software

func (*Vulnerability) GetTimestamp added in v0.6.6

func (m *Vulnerability) GetTimestamp() int64

func (*Vulnerability) GetV2Score added in v0.6.6

func (m *Vulnerability) GetV2Score() string

func (*Vulnerability) GetVersions added in v0.6.6

func (m *Vulnerability) GetVersions() []string

func (*Vulnerability) Inc added in v0.6.6

func (a *Vulnerability) Inc()

Inc increments the metrics for the audit record.

func (*Vulnerability) JSON added in v0.6.6

func (a *Vulnerability) JSON() (string, error)

JSON returns the JSON representation of the audit record.

func (*Vulnerability) Marshal added in v0.6.6

func (m *Vulnerability) Marshal() (dAtA []byte, err error)

func (*Vulnerability) MarshalTo added in v0.6.6

func (m *Vulnerability) MarshalTo(dAtA []byte) (int, error)

func (*Vulnerability) MarshalToSizedBuffer added in v0.6.6

func (m *Vulnerability) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Vulnerability) NetcapType added in v0.6.6

func (a *Vulnerability) NetcapType() Type

NetcapType returns the type of the current audit record

func (*Vulnerability) ProtoMessage added in v0.6.6

func (*Vulnerability) ProtoMessage()

func (*Vulnerability) Reset added in v0.6.6

func (m *Vulnerability) Reset()

func (*Vulnerability) SetPacketContext added in v0.6.6

func (a *Vulnerability) SetPacketContext(*PacketContext)

SetPacketContext sets the associated packet context for the audit record.

func (*Vulnerability) Size added in v0.6.6

func (m *Vulnerability) Size() (n int)

func (*Vulnerability) Src added in v0.6.6

func (a *Vulnerability) Src() string

Src TODO: preserve source and destination mac addresses for Vulnerability and return them here. Src returns the source address of the audit record.

func (*Vulnerability) String added in v0.6.6

func (m *Vulnerability) String() string

func (*Vulnerability) Time added in v0.6.6

func (a *Vulnerability) Time() int64

Time returns the timestamp associated with the audit record.

func (*Vulnerability) Unmarshal added in v0.6.6

func (m *Vulnerability) Unmarshal(dAtA []byte) error

func (*Vulnerability) XXX_DiscardUnknown added in v0.6.6

func (m *Vulnerability) XXX_DiscardUnknown()

func (*Vulnerability) XXX_Marshal added in v0.6.6

func (m *Vulnerability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Vulnerability) XXX_Merge added in v0.6.6

func (m *Vulnerability) XXX_Merge(src proto.Message)

func (*Vulnerability) XXX_Size added in v0.6.6

func (m *Vulnerability) XXX_Size() int

func (*Vulnerability) XXX_Unmarshal added in v0.6.6

func (m *Vulnerability) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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