Documentation
¶
Overview ¶
Package demo provides a synthetic traffic source and resolver so the UI can be run and developed without root (no packet capture) while still showing realistic, named per-app traffic — unlike offline pcap replay, where apps resolve to "unknown" because the original sockets no longer exist.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver maps the synthetic local ports back to their app, satisfying engine.Resolver.
func NewResolver ¶
func NewResolver() *Resolver
NewResolver builds the demo resolver from the connection table.
Click to show internal directories.
Click to hide internal directories.