Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSDecoder ¶
type DNSDecoder struct{}
DNSDecoder implements PacketDecoder for DNS traffic
func (*DNSDecoder) CanDecode ¶
func (d *DNSDecoder) CanDecode(packet gopacket.Packet) bool
CanDecode checks if the packet contains DNS traffic (UDP port 53)
func (*DNSDecoder) Decode ¶
func (d *DNSDecoder) Decode(packet gopacket.Packet) (*core.PacketInfo, error)
Decode extracts DNS information from the packet
type HTTPDecoder ¶
type HTTPDecoder struct{}
HTTPDecoder implements PacketDecoder for HTTP traffic
func (*HTTPDecoder) CanDecode ¶
func (d *HTTPDecoder) CanDecode(packet gopacket.Packet) bool
CanDecode checks if the packet contains HTTP traffic
func (*HTTPDecoder) Decode ¶
func (d *HTTPDecoder) Decode(packet gopacket.Packet) (*core.PacketInfo, error)
Decode extracts HTTP information from the packet
type TLSDecoder ¶
type TLSDecoder struct{}
TLSDecoder implements PacketDecoder for TLS traffic
func (*TLSDecoder) CanDecode ¶
func (d *TLSDecoder) CanDecode(packet gopacket.Packet) bool
CanDecode checks if the packet contains TLS traffic
func (*TLSDecoder) Decode ¶
func (d *TLSDecoder) Decode(packet gopacket.Packet) (*core.PacketInfo, error)
Decode extracts TLS record information from the packet
Click to show internal directories.
Click to hide internal directories.