zapretgui/packaging/linux/systemd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh 8abe47d649
All checks were successful
Zapret source guards / validate (push) Successful in 10s
Linux: the helper can really stop the engine (CAP_KILL) and the stop no longer reads the WinDivert driver
Found on the real KDE test machine with the compiled packages: "Stop" removed the firewall table but left
nfqws2 running. The engine runs as the person who asked (it drops root itself), and the unit's
CapabilityBoundingSet had no CAP_KILL, so the helper's SIGTERM/SIGKILL to another user's process failed
silently. The earlier end-to-end tests missed it because `systemctl stop` kills the whole cgroup. Also:
the stop path asked Windows for the WinDivert driver service on every stop (a WARNING in the log on Linux);
PresetLaunchRuntimeApi.cleanup_windivert_service now returns at once where Cap.DIRECT_ENGINE_PROCESS is missing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 18:49:07 -05:00
..
zapretgui-helper.service Linux: the helper can really stop the engine (CAP_KILL) and the stop no longer reads the WinDivert driver 2026-11-15 18:49:07 -05:00