Versions in this module Expand all Collapse all v1 v1.3.1 Sep 14, 2016 Changes in this version + const DecodeOffset + const MaxDnsMessageSize + const MaxDnsTupleRawSize + const Query + const Response + const TransportTcp + const TransportUdp + var DuplicateQueryMsg = &DNSError + var IncompleteMsg = &DNSError + var NoResponse = &DNSError + var NonDnsMsg = &DNSError + var OrphanedResponse = &DNSError + var TransportNames = []string + var UnexpectedLengthMsg = &DNSError + var ZeroLengthMsg = &DNSError + type DNSError struct + Err string + func (e *DNSError) Error() string + func (e *DNSError) ResponseError() string + type Dns struct + Include_additionals bool + Include_authorities bool + Ports []int + Send_request bool + Send_response bool + func (dns *Dns) ConnectionTimeout() time.Duration + func (dns *Dns) GapInStream(tcpTuple *common.TcpTuple, dir uint8, nbytes int, private protos.ProtocolData) (priv protos.ProtocolData, drop bool) + func (dns *Dns) GetPorts() []int + func (dns *Dns) Init(test_mode bool, results publish.Transactions) error + func (dns *Dns) Parse(pkt *protos.Packet, tcpTuple *common.TcpTuple, dir uint8, ...) protos.ProtocolData + func (dns *Dns) ParseUdp(pkt *protos.Packet) + func (dns *Dns) ReceivedFin(tcpTuple *common.TcpTuple, dir uint8, private protos.ProtocolData) protos.ProtocolData + type DnsMessage struct + CmdlineTuple *common.CmdlineTuple + Data *layers.DNS + Length int + Ts time.Time + Tuple common.IpPortTuple + type DnsStream struct + func (stream *DnsStream) PrepareForNewMessage() + type DnsTransaction struct + Dst common.Endpoint + Notes []string + Request *DnsMessage + Response *DnsMessage + ResponseTime int32 + Src common.Endpoint + Transport Transport + type DnsTuple struct + Dst_ip net.IP + Dst_port uint16 + Id uint16 + Ip_length int + Src_ip net.IP + Src_port uint16 + Transport Transport + func DnsTupleFromIpPort(t *common.IpPortTuple, trans Transport, id uint16) DnsTuple + func (t *DnsTuple) ComputeHashebles() + func (t *DnsTuple) Hashable() HashableDnsTuple + func (t *DnsTuple) RevHashable() HashableDnsTuple + func (t *DnsTuple) String() string + func (t DnsTuple) Reverse() DnsTuple + type Error interface + ResponseError func() string + type HashableDnsTuple [MaxDnsTupleRawSize]byte + type Transport uint8 + func (t Transport) String() string Other modules containing this package github.com/JitendraKSahu/beats/v7