Directories
¶
| Path | Synopsis |
|---|---|
|
Package api serves the node's HTTP REST surface (Gin) under /api/v2.
|
Package api serves the node's HTTP REST surface (Gin) under /api/v2. |
|
Package carriers manages stealth carrier credential rotation with grace periods.
|
Package carriers manages stealth carrier credential rotation with grace periods. |
|
Package config centralizes all environment-derived configuration for the Erebrus v2 node.
|
Package config centralizes all environment-derived configuration for the Erebrus v2 node. |
|
Package dns provides a private VPN DNS resolver backed by the service registry.
|
Package dns provides a private VPN DNS resolver backed by the service registry. |
|
Package drop provides the node's private Kubo adapter and Drop runtime state.
|
Package drop provides the node's private Kubo adapter and Drop runtime state. |
|
Package edge implements the programmable public gateway (reverse proxy).
|
Package edge implements the programmable public gateway (reverse proxy). |
|
Package firewall applies gateway-managed policy to local Shield/Sentinel sidecars.
|
Package firewall applies gateway-managed policy to local Shield/Sentinel sidecars. |
|
Package gatewayauth verifies gateway-issued PASETO tokens on node private APIs.
|
Package gatewayauth verifies gateway-issued PASETO tokens on node private APIs. |
|
Package gatewayclient implements the node side of the node↔gateway control plane: HTTPS registration and the WebSocket client.
|
Package gatewayclient implements the node side of the node↔gateway control plane: HTTPS registration and the WebSocket client. |
|
Package initcfg writes the internal operator env file for bare-metal installs.
|
Package initcfg writes the internal operator env file for bare-metal installs. |
|
Package node is the node's core service: it ties the SQLite store and the WireGuard manager together to provision peers and build credential bundles.
|
Package node is the node's core service: it ties the SQLite store and the WireGuard manager together to provision peers and build credential bundles. |
|
Package nodeapp runs the Erebrus VPN node runtime and operator CLI.
|
Package nodeapp runs the Erebrus VPN node runtime and operator CLI. |
|
Package p2p provides the node's libp2p identity (a deterministic PeerID derived from the mnemonic), its DID, and DHT advertisement so the gateway and future IPFS/DHT use cases can discover it.
|
Package p2p provides the node's libp2p identity (a deterministic PeerID derived from the mnemonic), its DID, and DHT advertisement so the gateway and future IPFS/DHT use cases can discover it. |
|
Package readiness evaluates whether a node is correctly configured and operational.
|
Package readiness evaluates whether a node is correctly configured and operational. |
|
Package registrar abstracts on-chain node registration.
|
Package registrar abstracts on-chain node registration. |
|
sentinel
|
|
|
api
Package api serves the erebrus-sentinel local HTTP API on :8788.
|
Package api serves the erebrus-sentinel local HTTP API on :8788. |
|
policy
Package policy applies Sentinel DNS rules to generated Unbound fragments.
|
Package policy applies Sentinel DNS rules to generated Unbound fragments. |
|
Package serviceagent reports attached firewall service health for Shield/Sentinel profiles.
|
Package serviceagent reports attached firewall service health for Shield/Sentinel profiles. |
|
Package services implements the private service registry.
|
Package services implements the private service registry. |
|
Package speedtest measures node uplink throughput for gateway heartbeats.
|
Package speedtest measures node uplink throughput for gateway heartbeats. |
|
Package stealth runs the node's DPI-resistant carrier transports via an embedded sing-box instance.
|
Package stealth runs the node's DPI-resistant carrier transports via an embedded sing-box instance. |
|
Package store is the node-local persistence layer, backed by SQLite (modernc.org/sqlite, pure Go — CGO-free).
|
Package store is the node-local persistence layer, backed by SQLite (modernc.org/sqlite, pure Go — CGO-free). |
|
Package telemetry sets up structured logging (slog JSON) and Prometheus metrics for the node.
|
Package telemetry sets up structured logging (slog JSON) and Prometheus metrics for the node. |
|
Package templates provides one-command service setup presets.
|
Package templates provides one-command service setup presets. |
|
Package transport models the stealth transport ladder: preferred order, probing, scoring, and selection.
|
Package transport models the stealth transport ladder: preferred order, probing, scoring, and selection. |
|
probe
Package probe defines the transport probing interface.
|
Package probe defines the transport probing interface. |
|
Package wallet derives node wallet keys from the BIP39 mnemonic and signs gateway registration challenges.
|
Package wallet derives node wallet keys from the BIP39 mnemonic and signs gateway registration challenges. |
|
Package wg manages the node's WireGuard server: the server keypair (stored in SQLite node_settings), rendering the interface config and per-client configs, and applying peer changes live.
|
Package wg manages the node's WireGuard server: the server keypair (stored in SQLite node_settings), rendering the interface config and per-client configs, and applying peer changes live. |
Click to show internal directories.
Click to hide internal directories.