node/

directory
v0.1.80 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package agent is the node agent core: it enrolls with the panel, keeps ONE agent session open (mTLS Connect by default, or the signed WebSocket link when the agent has a link URL and the panel advertises it; a link that fails to establish falls back to mTLS and is retried after a hold period; reconnecting with backoff), applies desired state to engines, reports traffic reliably (seq + ack), executes commands and serves its own log.
Package agent is the node agent core: it enrolls with the panel, keeps ONE agent session open (mTLS Connect by default, or the signed WebSocket link when the agent has a link URL and the panel advertises it; a link that fails to establish falls back to mTLS and is retried after a hold period; reconnecting with backoff), applies desired state to engines, reports traffic reliably (seq + ack), executes commands and serves its own log.
awg
Package awg is the node's AmneziaWG engine (engine.Engine).
Package awg is the node's AmneziaWG engine (engine.Engine).
awgcfg
Package awgcfg is the pure data model of an AmneziaWG interface shared by the node engine, the wire clients (awgnl, awguapi) and the panel plugin: settings JSON, the strict validator and the peer types.
Package awgcfg is the pure data model of an AmneziaWG interface shared by the node engine, the wire clients (awgnl, awguapi) and the panel plugin: settings JSON, the strict validator and the peer types.
awgnl
Package awgnl talks to the amneziawg kernel module over generic netlink (family "amneziawg", WG_GENL_VERSION 3, the AWG 3.0/3.1 encoding).
Package awgnl talks to the amneziawg kernel module over generic netlink (family "amneziawg", WG_GENL_VERSION 3, the AWG 3.0/3.1 encoding).
awgtest
Package awgtest is the test harness for AmneziaWG on Linux: network namespaces with veth pairs, real amneziawg-go clients built from the pinned source (never a downloaded binary), and small probes (ping, a "who do you see me as" TCP server, iperf3).
Package awgtest is the test harness for AmneziaWG on Linux: network namespaces with veth pairs, real amneziawg-go clients built from the pinned source (never a downloaded binary), and small probes (ping, a "who do you see me as" TCP server, iperf3).
awguapi
Package awguapi renders and parses the UAPI text protocol of amneziawg-go v3.1.x (device.IpcSet / IpcGet).
Package awguapi renders and parses the UAPI text protocol of amneziawg-go v3.1.x (device.IpcSet / IpcGet).
Package awgprep puts the AmneziaWG kernel module on a node.
Package awgprep puts the AmneziaWG kernel module on a node.
Package certs is the node's certificate source (engine.CertSource): ACME for a domain and a persisted self-signed certificate whose SHA-256 pin the panel puts into subscription URIs.
Package certs is the node's certificate source (engine.CertSource): ACME for a domain and a persisted self-signed certificate whose SHA-256 pin the panel puts into subscription URIs.
Package doctor is the node's self-diagnosis: host checks that each come from a real incident, and safe fixes the panel may ask for.
Package doctor is the node's self-diagnosis: host checks that each come from a real incident, and safe fixes the panel may ask for.
Package egress is the node's direct outbound for Hysteria2 (engine.Egress).
Package egress is the node's direct outbound for Hysteria2 (engine.Egress).
Package hostctl is the agent's view of the machine it runs on: host facts for Hello, host metrics for StatsBatch, and the host state the agent owns: its nftables tables for port-hop redirects and the SSH brute-force guard, the UDP delivery counter, the fail-open torrent queue, exact UDP/TCP inbound rules in an active UFW firewall, and owner-approved tagged forwarding exceptions limited to Mistgate traffic in host FORWARD chains, the fq + bbr, conntrack and UDP socket-buffer sysctl baseline and the journald size cap.
Package hostctl is the agent's view of the machine it runs on: host facts for Hello, host metrics for StatsBatch, and the host state the agent owns: its nftables tables for port-hop redirects and the SSH brute-force guard, the UDP delivery counter, the fail-open torrent queue, exact UDP/TCP inbound rules in an active UFW firewall, and owner-approved tagged forwarding exceptions limited to Mistgate traffic in host FORWARD chains, the fq + bbr, conntrack and UDP socket-buffer sysctl baseline and the journald size cap.
Package hysteria2 is the node's Hysteria2 engine (engine.Engine) on top of the hysteria core library (github.com/apernet/hysteria/core/v2).
Package hysteria2 is the node's Hysteria2 engine (engine.Engine) on top of the hysteria core library (github.com/apernet/hysteria/core/v2).
Package mtproto is the node's Telegram MTProto proxy engine: one TCP listener per inbound, Fake TLS authentication and a direct relay to a Telegram DC (the protocol is internal/mtproto).
Package mtproto is the node's Telegram MTProto proxy engine: one TCP listener per inbound, Fake TLS authentication and a direct relay to a Telegram DC (the protocol is internal/mtproto).
Package ratelimit provides the byte token buckets shared by node engines: one per credential (the device limit) and one per user on the node (the person limit, see Registry).
Package ratelimit provides the byte token buckets shared by node engines: one per credential (the device limit) and one per user on the node (the person limit, see Registry).
Package speedtest measures how fast a node reaches the internet, for the panel's "network capacity" suggestion (agent.proto "BANDWIDTH TEST").
Package speedtest measures how fast a node reaches the internet, for the panel's "network capacity" suggestion (agent.proto "BANDWIDTH TEST").
Package torrentguard contains bounded, dependency-free parsers for plaintext BitTorrent protocol signatures.
Package torrentguard contains bounded, dependency-free parsers for plaintext BitTorrent protocol signatures.
Package update is the node agent's self-update: verify a release the owner signed, swap the executable, re-exec, and undo it if the new build does not come up.
Package update is the node agent's self-update: verify a release the owner signed, swap the executable, re-exec, and undo it if the new build does not come up.
Package vless is the node's VLESS engine on top of xray-core.
Package vless is the node's VLESS engine on top of xray-core.
Package warp is the node's WARP egress.
Package warp is the node's WARP egress.
cfapi
Package cfapi is the Cloudflare WARP registration client and the importer for wgcf profiles.
Package cfapi is the Cloudflare WARP registration client and the importer for wgcf profiles.

Jump to

Keyboard shortcuts

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