LD-FDPI/linuxFDPI/docs/TESTPLAN.md
2026-11-23 03:45:09 +03:00

1.3 KiB

Linux Test Plan

All network/kill-switch tests must run in a VM or disposable test host, never on the development workstation.

Phase 1 — FDPI MVP

  • Fresh Ubuntu 24.04 GNOME install
  • npm ci && npm run tauri build succeeds
  • GUI starts without root
  • SpoofDPI path detected
  • start_fdpi opens 127.0.0.1:18080
  • GNOME proxy switches to manual
  • discord.com TLS works through proxy
  • Stop restores previous GNOME proxy
  • Kill GUI process; next start restores proxy backup
  • Port already in use returns a clear error
  • Missing SpoofDPI returns a clear error
  • KDE returns “Phase 2” error, does not corrupt proxy

Helper

  • systemd unit starts
  • socket mode 0660, group ld-fdpi
  • non-member UID denied
  • unknown action denied
  • status returns ok
  • quic_on returns phase-2 error (no partial firewall)
  • helper restart leaves no stale socket

Phase 2+

Add QUIC cgroup tests, IPv6 leaks, PAC, transparent proxy, crash recovery.

Phase 3+

Add AmneziaWG, enrollment, suspend/resume, DNS, route tests.

Phase 4+

Add nftables kill-switch, SSH lockout guard, power-loss recovery.

Packaging

  • .deb install
  • .deb uninstall leaves no systemd/nft/proxy residue
  • AppImage runs with helper installed
  • User group membership applied after re-login