Skip to content

docs: user guide, config reference, testing/benchmarking, example.config - #46

Merged
vxfemboy merged 1 commit into
mainfrom
docs/user-guide-and-config
Jul 9, 2026
Merged

docs: user guide, config reference, testing/benchmarking, example.config#46
vxfemboy merged 1 commit into
mainfrom
docs/user-guide-and-config

Conversation

@vxfemboy

@vxfemboy vxfemboy commented Jul 8, 2026

Copy link
Copy Markdown
Member

Brings the user-facing docs up to date with everything merged so far — data plane (#1), full control plane (#2), and anti-DPI 3a (obf_psk) — and adds the walkthroughs + example config that were missing.

What's here

  • example.config — a complete, annotated starter config covering every key (core, multi-peer [peer] blocks, rendezvous, the five mesh keys, obf_psk). Verified it parses.
  • docs/user-guide.md (new) — build + step-by-step walkthroughs: a two-node tunnel, self-certifying addresses (yipd --addr), multiple peers, rendezvous + NAT traversal, the offline yip-ca mesh workflow (genkey → sign-cert → sign-roots), enabling anti-DPI obfuscation with the security model spelled out, and choosing the I/O driver.
  • docs/testing-and-benchmarking.md (new) — how to run unit tests, the netns integration suite (both poll and io_uring drivers, exact commands), the nDPI undetectability oracle, and the benchmark harness (micro-benchmarks + tc netem yip-vs-WireGuard/OpenVPN/n2n) with what to expect.
  • docs/configuration.md — rewritten as the complete config/CLI/env reference. The old version was stale (no rendezvous/mesh/obf_psk keys; incorrectly said a [peer] endpoint was required).
  • README — status blockquote, architecture table, and roadmap updated to reflect Data-plane throughput pass: batched I/O + zero-repair FEC bypass #2 + #3a merged; links to the new docs.

Config format note

Docs describe the current line-based key=value + [peer] format that yipd actually parses today. A first-class TOML config is called out as a planned milestone (per the decision to ship a working example now and do TOML deliberately later).

Every config key, CLI flag, command, test name, and benchmark was verified against the source, not inferred.

🤖 Generated with Claude Code

Bring the user-facing docs up to date with the merged data plane (#1), control
plane (#2: multi-peer + self-cert addresses, rendezvous/NAT/relay, mesh
discovery), and anti-DPI 3a (obf_psk obfuscation).

- example.config: a complete, annotated starter config covering every key
  (core, multi-peer, rendezvous, mesh, obf_psk). Verified it parses.
- docs/user-guide.md (new): build + walkthroughs — two-node tunnel, addresses,
  multi-peer, rendezvous/NAT traversal, the offline yip-ca mesh workflow,
  enabling anti-DPI obfuscation (with the security model), I/O driver choice.
- docs/testing-and-benchmarking.md (new): unit tests, the netns integration
  suite (both drivers), the nDPI undetectability oracle, and the benchmark
  harness (micro-benchmarks + netem yip-vs-WireGuard/OpenVPN/n2n) with commands.
- docs/configuration.md: rewritten as the complete config/CLI/env reference
  (was stale — missing rendezvous/mesh/obf keys, wrong on [peer] endpoint being
  optional).
- README: status, architecture table, and roadmap updated (#2 + #3a done);
  links to the new docs + example.config.

Config format stays the current key=value/[peer] form; a first-class TOML
config is noted as a planned milestone.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vxfemboy
vxfemboy merged commit 674e942 into main Jul 9, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant