discovery

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: BSD-3-Clause, GPL-3.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL