internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT

Directories

Path Synopsis
Package brand holds the Prosvet logo so every output embeds the same mark.
Package brand holds the Prosvet logo so every output embeds the same mark.
Package catalog loads and validates the target lists (targets/*.yaml).
Package catalog loads and validates the target lists (targets/*.yaml).
Package classify turns raw measurements into verdicts: which kind of interference (if any) affects an endpoint or a target, how confident we are and which evidence supports the conclusion.
Package classify turns raw measurements into verdicts: which kind of interference (if any) affects an endpoint or a target, how confident we are and which evidence supports the conclusion.
Package cli implements the prosvet command line.
Package cli implements the prosvet command line.
Package demo runs Prosvet against a simulated censored network on localhost, so anyone can see every verdict type without touching the real network (used by `prosvet demo`, screenshots and the README GIF).
Package demo runs Prosvet against a simulated censored network on localhost, so anyone can see every verdict type without touching the real network (used by `prosvet demo`, screenshots and the README GIF).
Package engine orchestrates a scan: it selects targets, runs the probes for every endpoint (repeated, with majority voting), measures throttling, classifies the results and streams progress events.
Package engine orchestrates a scan: it selects targets, runs the probes for every endpoint (repeated, with majority voting), measures throttling, classifies the results and streams progress events.
Package errclass maps network errors to probe outcomes in a portable way.
Package errclass maps network errors to probe outcomes in a portable way.
Package fingerprint matches DNS answers and HTTP responses against known block stubs and block pages.
Package fingerprint matches DNS answers and HTTP responses against known block stubs and block pages.
Package i18n loads the translation files and renders localised messages.
Package i18n loads the translation files and renders localised messages.
Package mapgen aggregates submitted result files into the data of the public map and writes the static site (no server, no external resources).
Package mapgen aggregates submitted result files into the data of the public map and writes the static site (no server, no external resources).
Package model defines the measurement and report data structures shared by probes, the classifier, renderers and the submission format.
Package model defines the measurement and report data structures shared by probes, the classifier, renderers and the submission format.
Package netinfo determines the user's network: ASN, provider, coarse region and connection type.
Package netinfo determines the user's network: ASN, provider, coarse region and connection type.
Package probe implements the individual network measurements: DNS lookups over several transports, TCP connect, TLS handshakes with SNI variants, HTTP fetches with stall detection, QUIC and ECH handshakes.
Package probe implements the individual network measurements: DNS lookups over several transports, TCP connect, TLS handshakes with SNI variants, HTTP fetches with stall detection, QUIC and ECH handshakes.
Package report renders scan reports (terminal, JSON, Markdown, HTML) and stores the last report locally.
Package report renders scan reports (terminal, JSON, Markdown, HTML) and stores the last report locally.
Package serve implements the local web dashboard (`prosvet serve`).
Package serve implements the local web dashboard (`prosvet serve`).
Package submit builds and validates the anonymous result files that feed the public map (results/AS<asn>/<date>-<id>.json).
Package submit builds and validates the anonymous result files that feed the public map (results/AS<asn>/<date>-<id>.json).
Package testnet simulates a censored network on localhost: a fake DNS resolver, a DoH server, TLS origin servers and "middleboxes" that reset, drop, freeze or throttle connections depending on the SNI.
Package testnet simulates a censored network on localhost: a fake DNS resolver, a DoH server, TLS origin servers and "middleboxes" that reset, drop, freeze or throttle connections depending on the SNI.
Package theme holds the shared colour palette for the terminal UI, the HTML report, the dashboard and the public map, so they look like one product.
Package theme holds the shared colour palette for the terminal UI, the HTML report, the dashboard and the public map, so they look like one product.
Package tui is the interactive terminal interface (bubbletea).
Package tui is the interactive terminal interface (bubbletea).

Jump to

Keyboard shortcuts

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