| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Zapret source guards / validate (push) Successful in 9s
* platforms/linux/helper: a small root service. The window (normal user) asks over a Unix socket (/run/zapretgui/helper.sock, root:zapretgui 0660, caller checked with SO_PEERCRED); the helper translates the preset's --wf-* options with capture_rules, refuses what Linux cannot do, starts nfqws2 (which drops to the caller's uid after opening its queue) and only then installs the fixed table "inet zapretgui". On the way out the rules go first, the engine second. Leftovers of a crashed helper (table, engine, sysctl) are removed at the next start; the unit file adds the same "nft delete table" before and after as a second net. * platforms/linux/runner.py: the runner the program drives on Linux (same method names as the Windows runner): reads the preset, rewrites its relative bin/lua/lists/user paths to the real trees of the XDG layout, validates early (unsupported options are named before anything stops), hands the arguments to the helper. * packaging/linux: systemd unit and polkit rule; scripts/linux_helper_smoke.sh runs the whole chain for real (root + nftables + nfqws2, crash recovery included); prepare_dev_root.py now also copies the capture filters. * tests: policy, lifecycle order and failure cases with fake system calls, socket round trips, runner, packaging names. The test session keeps the shared Windows runner factory for the Windows runtime tests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
| .. | ||
| 50-zapretgui.rules | ||