You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c98e20d
Browse filesBrowse the repository at this point in the historyBrowse files
The live firewall-log view invoked `journalctl --kernel --follow`, but
journalctl has no --kernel option (the kernel-only filter is -k, long form
--dmesg). On a real machine the stream exited at once with "unrecognized
option '--kernel'" and the view showed only "the live log ended: exit status
1" — the per-rule logging feature never worked outside the demo. The unit
tests missed it because they drive the Fake stream, so the real argv was never
run; a lab twin on a VM caught it.
Fix the flag, and stop discarding journalctl's stderr: capture it (capped) and
fold its first line into the stream's end error, so a future bad invocation
says why instead of just "exit status 1". Add a test pinning the kernel-log
argv to a valid flag.
Verified on a libvirt VM through the TUI: w opens the live view, the stream
stays attached, and logged forward packets appear with direction, verdict,
addresses and ports.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments