Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryResult ¶
type DiscoveryResult struct {
Hostnames []string // device hostnames (mDNS, NBNS)
DeviceTypes []string // device types (UPnP: "Router/Gateway", WSD: "Printer")
OS string // OS/firmware from UPnP server strings
Roles []string // network roles from NBNS (File Server, Master Browser, etc.)
SourceIP string // IP of the device that was discovered
}
DiscoveryResult contains device information extracted from network discovery protocols.
func RunDiscovery ¶
func RunDiscovery(banner []byte, transport gopacket.Flow, ident string, firstPacket time.Time, srcIP string) []DiscoveryResult
RunDiscovery runs network discovery extractors on conversation data and returns results. It uses port-based dispatch to select the appropriate extractor.
Click to show internal directories.
Click to hide internal directories.