Skip to content

kevward 0.12.11

Choose a tag to compare

@github-actions github-actions released this 14 Nov 04:19
· 110 commits to main since this release
0aa1eac

Reports that say why: the reboot reason, block-set sizes, the drop window on
Ubuntu 22.04, and one row per package update. CI now tests 22.04, 24.04 and
26.04 explicitly.

  • Release integrity (#115). GitHub Actions in CI and the publish workflow
    are pinned to full commit SHAs (Dependabot keeps them current) and moved to
    their Node 24 majors; checkouts no longer keep the token on disk.
    SECURITY.md now explains how to verify a PyPI file's provenance.
  • CI covers each supported Ubuntu release explicitly. ubuntu-latest had
    moved to 26.04, so 22.04 and 24.04 (what we run in production) were no
    longer tested. CI now pins 24.04 for the Python matrix and adds a
    distro-smoke job on 22.04, 24.04 and 26.04 using each release's own
    python3 in a venv.
  • harden on kernels without MPTCP (e.g. WSL2, some custom kernels):
    harden apply --mptcp-off now says there is nothing to disable instead of
    reporting success, writes no drop-in, and reports a failed sysctl -w.
    harden list shows n/a (not in this kernel) rather than "unknown (run as
    root)" when already root; its JSON gains mptcp_supported.
  • "Public TCP listeners" ignores addresses on the loopback interface
    (127.0.0.53%lo, WSL2's 10.255.255.254), which are not reachable from
    outside.
  • Firewall drop window on Ubuntu 22.04. The report's "firewall drops
    (since …)" fell back to "since last ruleset load" on jammy: systemd 249
    rejects systemctl show --timestamp=unix (added in 251). kevward now falls
    back to ActiveEnterTimestampMonotonic + the boot time from /proc/stat.
  • Block-set sizes next to the drop counts. The "firewall drops" line now
    shows how many entries each set holds (evidence blocklist 4 (51 entries)),
    so a low drop count can be told apart from an emptied set. JSON: new
    attackers.firewall_sizes (needs root; omitted otherwise).
  • Why a reboot is required (#144). The header and the "Reboot required"
    finding name the packages from reboot-required.pkgs
    (reboot required: YES (libc6)). When only userspace packages asked
    (no kernel, firmware or microcode), the finding drops from medium to low:
    needrestart has already restarted the services. JSON: new
    reboot_packages and reboot_kind (kernel / userspace / "").
  • One row per package update in the HTML report. A package owned by a
    service plugin (e.g. apache2 under apache) was also listed by the
    host-wide apt plugin, so one Apache update showed as high: 6 instead of
    4. The apt duplicate is no longer shown or counted; a note says how many
    were folded. JSON and apply are unchanged.