Versions in this module Expand all Collapse all v1 v1.20201112.0 Nov 12, 2020 Changes in this version + type Protocol string + const ProtocolDNS + const ProtocolFTP + const ProtocolHTTP + const ProtocolICMPv4 + const ProtocolICMPv6 + const ProtocolSMTP + const ProtocolSSH + const ProtocolSSL + const ProtocolTCP + const ProtocolTLS + const ProtocolUDP + const ProtocolUnknown + func Classify(packet gopacket.Packet) Protocol + func ClassifyByPorts(packet gopacket.Packet) Protocol + func (protocol Protocol) String() string + type TCPModule interface + Match func(*layers.TCP) bool + Protocol func() Protocol + type TCPModuleFTP struct + func (module TCPModuleFTP) Match(tcp *layers.TCP) bool + func (module TCPModuleFTP) Protocol() Protocol + type TCPModuleHTTP struct + func (module TCPModuleHTTP) Match(tcp *layers.TCP) bool + func (module TCPModuleHTTP) Protocol() Protocol + type TCPModuleSMTP struct + func (module TCPModuleSMTP) Match(tcp *layers.TCP) bool + func (module TCPModuleSMTP) Protocol() Protocol + type TCPModuleSSH struct + func (module TCPModuleSSH) Match(tcp *layers.TCP) bool + func (module TCPModuleSSH) Protocol() Protocol + type TCPModuleSSL struct + func (module TCPModuleSSL) Match(tcp *layers.TCP) bool + func (module TCPModuleSSL) Protocol() Protocol + type TCPModuleTLS struct + func (module TCPModuleTLS) Match(tcp *layers.TCP) bool + func (module TCPModuleTLS) Protocol() Protocol + type TCPModules []TCPModule + type UDPModule interface + Match func(*layers.UDP) bool + Protocol func() Protocol + type UDPModuleDNS struct + func (module UDPModuleDNS) Match(udp *layers.UDP) bool + func (module UDPModuleDNS) Protocol() Protocol + type UDPModules []UDPModule