internal/

directory
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT

Directories

Path Synopsis
Package arpengine sends unsolicited ARP replies on a cadence to perform MITM-style ARP poisoning, and emits corrective ARPs on stop.
Package arpengine sends unsolicited ARP replies on a cadence to perform MITM-style ARP poisoning, and emits corrective ARPs on stop.
Package cli provides the Cobra command tree for the shardflow client.
Package cli provides the Cobra command tree for the shardflow client.
Package devicestore is the in-memory map of devices observed on the LAN.
Package devicestore is the in-memory map of devices observed on the LAN.
Package iface gathers the interface facts the daemon needs at startup and during operation: index, hardware address, IPv4 address, CIDR, and (best-effort) the IPv4 default-route gateway reachable on this iface.
Package iface gathers the interface facts the daemon needs at startup and during operation: index, hardware address, IPv4 address, CIDR, and (best-effort) the IPv4 default-route gateway reachable on this iface.
Package nftmgr is the typed wrapper around nft(8).
Package nftmgr is the typed wrapper around nft(8).
Package oui maps MAC OUI prefixes (first 24 bits) to vendor strings, using an IEEE OUI database embedded at build time.
Package oui maps MAC OUI prefixes (first 24 bits) to vendor strings, using an IEEE OUI database embedded at build time.
Package pcapwriter writes per-target pcap-ng files from libpcap on the shardflow-cap dummy iface, with a per-target BPF filter so concurrent pcap policies don't cross-contaminate each other's files.
Package pcapwriter writes per-target pcap-ng files from libpcap on the shardflow-cap dummy iface, with a per-target BPF filter so concurrent pcap policies don't cross-contaminate each other's files.
Package policycompiler computes effector operations from a desired target→policy map and the daemon's current state.
Package policycompiler computes effector operations from a desired target→policy map and the daemon's current state.
Package rpc defines the JSON-RPC 2.0 wire types and method/event constants shared between shardflowd's server and shardflow's client.
Package rpc defines the JSON-RPC 2.0 wire types and method/event constants shared between shardflowd's server and shardflow's client.
scan
active
Package active sends ARP requests to every IP in a CIDR and feeds observed replies into a callback.
Package active sends ARP requests to every IP in a CIDR and feeds observed replies into a callback.
mdns
Package mdns issues mDNS-SD queries and parses A-record responses into (hostname, IP) observations.
Package mdns issues mDNS-SD queries and parses A-record responses into (hostname, IP) observations.
passive
Package passive runs an always-on broadcast sniffer on the iface and feeds learned MAC/IP/hostname facts into a callback.
Package passive runs an always-on broadcast sniffer on the iface and feeds learned MAC/IP/hostname facts into a callback.
ssdp
Package ssdp issues an SSDP M-SEARCH and parses responses for SERVER / USN headers, extracting model strings into observations.
Package ssdp issues an SSDP M-SEARCH and parses responses for SERVER / USN headers, extracting model strings into observations.
Package tcmgr wraps tc(8) and ip(8) for ShardFlow's data-plane: the shardflow0 IFB iface (upload throttle), an egress HTB on the real iface (download throttle), the shardflow-cap dummy iface (capture), and the per-real-iface ingress qdisc plus the fw-match filters that redirect or mirror marked frames.
Package tcmgr wraps tc(8) and ip(8) for ShardFlow's data-plane: the shardflow0 IFB iface (upload throttle), an egress HTB on the real iface (download throttle), the shardflow-cap dummy iface (capture), and the per-real-iface ingress qdisc plus the fw-match filters that redirect or mirror marked frames.
Package tui implements the bubbletea dashboard for the shardflow client.
Package tui implements the bubbletea dashboard for the shardflow client.
Package version exposes the build-time version stamp consumed by both shardflow (CLI/TUI) and shardflowd (daemon) for their --version output.
Package version exposes the build-time version stamp consumed by both shardflow (CLI/TUI) and shardflowd (daemon) for their --version output.
Package wifi exposes a best-effort probe for the operator's wireless connection details (SSID, BSSID, signal, frequency, tx rate).
Package wifi exposes a best-effort probe for the operator's wireless connection details (SSID, BSSID, signal, frequency, tx rate).

Jump to

Keyboard shortcuts

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