Reference¶
Reference documentation is technical description of the machinery. It is information-oriented: consult it, don't read it end to end.
Configuration¶
- UCI Configuration - Every option in
/etc/config/wgpathd, per role, thepeersections of a spoke with the unmanaged reasons, and validation rules. - WireGuard Substrate - What wgpathd reads from
/etc/config/network, and what it needs of the WireGuard setup. - Timing Parameters - Every timing parameter, its default and exact behavior, plus the fixed limits.
Interfaces¶
- Service Commands -
service wgpathd start,reload,statusandcheck: behavior, output and exit status. - ubus Status - The
wgpathdubus object, field by field, for spoke and hub. - ubus Config Check - The
wgpathd.configubus object: the configuration check for saved or unsaved values, the mesh peers without their keys, and the parameter bounds. - Discovery HTTP API -
GET /peers: payload, status codes, connection limits and spoke-side validation.
Diagnostics¶
- Log Messages - Every message, its level and what it means.
- Error Codes - Every error code and its details.
Package¶
- Firewall Rules - What each role needs the firewall to accept and why, and what the check can confirm. The package ships no rules.
- Files and Dependencies - Installed files, runtime files, the init script, package scripts and dependencies.
- Make Targets - Development targets and variables.
- Documentation Publishing - The
docsworkflow, thegh-pageslayout, thelatestrule, the docs-only guard, the link check and the scripts behind them.