Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
netscope
command
Command netscope is the user-facing CLI client for the netscope daemon.
|
Command netscope is the user-facing CLI client for the netscope daemon. |
|
netscoped
command
Command netscoped is netscope's capture daemon.
|
Command netscoped is netscope's capture daemon. |
|
Command netscope-app is netscope's menu-bar application.
|
Command netscope-app is netscope's menu-bar application. |
|
internal
|
|
|
alerts
Package alerts decides when to notify the user that their network usage has crossed a configured threshold (a daily total cap, or a per-app daily cap).
|
Package alerts decides when to notify the user that their network usage has crossed a configured threshold (a daily total cap, or a per-app daily cap). |
|
api
Package api exposes the engine's live snapshot and the store's history over HTTP, and serves the embedded dashboard.
|
Package api exposes the engine's live snapshot and the store's history over HTTP, and serves the embedded dashboard. |
|
buildinfo
Package buildinfo exposes the build version, shared by every netscope binary.
|
Package buildinfo exposes the build version, shared by every netscope binary. |
|
capture
Package capture turns raw packets into attributed flows.
|
Package capture turns raw packets into attributed flows. |
|
classify
Package classify maps domains to human-friendly categories and flags the AI services that motivated netscope in the first place.
|
Package classify maps domains to human-friendly categories and flags the AI services that motivated netscope in the first place. |
|
daemonctl
Package daemonctl lets the unprivileged menu-bar app bring up the privileged capture daemon itself, so the user only ever launches one app.
|
Package daemonctl lets the unprivileged menu-bar app bring up the privileged capture daemon itself, so the user only ever launches one app. |
|
dataplan
Package dataplan turns recorded per-network usage into "how much of my monthly data allowance is gone" — the number a tethered user would otherwise have to open their carrier's app to see.
|
Package dataplan turns recorded per-network usage into "how much of my monthly data allowance is gone" — the number a tethered user would otherwise have to open their carrier's app to see. |
|
demo
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.
|
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. |
|
dnscache
Package dnscache maps remote IP addresses back to the hostnames the local machine resolved them from.
|
Package dnscache maps remote IP addresses back to the hostnames the local machine resolved them from. |
|
engine
Package engine is the heart of netscope: it consumes attributed flows, resolves each to an owning app and a domain, and maintains two sets of counters:
|
Package engine is the heart of netscope: it consumes attributed flows, resolves each to an owning app and a domain, and maintains two sets of counters: |
|
geoip
Package geoip maps an IP address to its ISO 3166-1 alpha-2 country code using a compact database embedded in the binary.
|
Package geoip maps an IP address to its ISO 3166-1 alpha-2 country code using a compact database embedded in the binary. |
|
helperinstall
Package helperinstall lets the running root daemon replace its own installed copy with a newer release binary the app hands it — without an admin prompt.
|
Package helperinstall lets the running root daemon replace its own installed copy with a newer release binary the app hands it — without an admin prompt. |
|
i18n
Package i18n localizes the handful of user-facing strings the Go side produces (notification bodies, menu-bar style labels).
|
Package i18n localizes the handful of user-facing strings the Go side produces (notification bodies, menu-bar style labels). |
|
ipc
Package ipc centralises the local IPC between the privileged netscoped daemon and its unprivileged clients (the Wails app and the CLI).
|
Package ipc centralises the local IPC between the privileged netscoped daemon and its unprivileged clients (the Wails app and the CLI). |
|
resolver
Package resolver maps a network connection (proto + local port + remote endpoint) to the process that owns it, and that process to a display name.
|
Package resolver maps a network connection (proto + local port + remote endpoint) to the process that owns it, and that process to a display name. |
|
revdns
Package revdns resolves remote IPs to hostnames via reverse DNS (PTR) as a fallback when netscope never saw a forward DNS answer — e.g.
|
Package revdns resolves remote IPs to hostnames via reverse DNS (PTR) as a fallback when netscope never saw a forward DNS answer — e.g. |
|
storage
Package storage persists aggregated traffic into SQLite and answers the ranking / time-series queries the API exposes.
|
Package storage persists aggregated traffic into SQLite and answers the ranking / time-series queries the API exposes. |
|
update
Package update checks whether a newer netscope release is available on GitHub and reports it to the UI.
|
Package update checks whether a newer netscope release is available on GitHub and reports it to the UI. |
|
webui
Package webui holds the embedded dashboard assets shared by the daemon's HTTP server and the Wails desktop shell, so both render the exact same UI from a single source of truth.
|
Package webui holds the embedded dashboard assets shared by the daemon's HTTP server and the Wails desktop shell, so both render the exact same UI from a single source of truth. |
|
pkg
|
|
|
types
Package types holds the data structures shared between the capture daemon, the aggregation/storage layer and the HTTP API.
|
Package types holds the data structures shared between the capture daemon, the aggregation/storage layer and the HTTP API. |
Click to show internal directories.
Click to hide internal directories.