Skip to content

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, the peer sections 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, status and check: behavior, output and exit status.
  • ubus Status - The wgpathd ubus object, field by field, for spoke and hub.
  • ubus Config Check - The wgpathd.config ubus 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

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 docs workflow, the gh-pages layout, the latest rule, the docs-only guard, the link check and the scripts behind them.