diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 315ae53..4fb771d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,25 @@ mortis.kamino Release Notes .. contents:: Topics +v3.4.0 +====== + +Minor Changes +------------- + +- system_baseline - A name in ``system_baseline_sysctl_hardening`` may contain ``*``, which sets the key on every interface. +- system_baseline - New input ``system_baseline_sysctl_file``, the path of the drop-in that persists the sysctl hardening. + +Security Fixes +-------------- + +- system_baseline - Every profile now refuses ICMP redirects on every interface, over IPv4 and IPv6. Before, only ``net.ipv4.conf.all`` was set, so a host that does not forward still accepted them on its interfaces. + +Bugfixes +-------- + +- system_baseline - The sysctl hardening survives a reboot on Debian 13, where ``systemd-sysctl`` no longer reads ``/etc/sysctl.conf``. The role now writes its values to ``/etc/sysctl.d/99-zz-system-baseline.conf`` and removes its keys from ``/etc/sysctl.conf``, so the first run reports ``changed`` once. + v3.3.0 ====== diff --git a/README.md b/README.md index 3077dcd..aa78385 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ An Ansible Collection of reusable, hardened roles for a self-hosted home lab: `nfs_client`, `pihole`, `pve_lxc`, `pve_vm`, `sshd`, `system_baseline`, `systemd_hardening`, `tailscale`, `traefik`, `ufw` and `user_management`, plus the internal `_binary_update`. Roles still to come are listed under [Roadmap](#roadmap). -Status: roles arrive in waves. Release 3.3.0 holds the `cloudflared`, `docker`, `fail2ban`, `gitea`, `gitea_runner`, `network_interfaces`, `nfs_client`, `pihole`, `pve_lxc`, `pve_vm`, `sshd`, `system_baseline`, `systemd_hardening`, `tailscale`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `cloudflared`, `gitea`, `gitea_runner` and `traefik` call). +Status: roles arrive in waves. Release 3.4.0 holds the `cloudflared`, `docker`, `fail2ban`, `gitea`, `gitea_runner`, `network_interfaces`, `nfs_client`, `pihole`, `pve_lxc`, `pve_vm`, `sshd`, `system_baseline`, `systemd_hardening`, `tailscale`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `cloudflared`, `gitea`, `gitea_runner` and `traefik` call). ## Consuming @@ -17,7 +17,7 @@ name (FQCN) only, `mortis.kamino.`: collections: - name: https://git.rkdr.net/mortis/kamino.git type: git - version: v3.3.0 + version: v3.4.0 ``` Its dependencies (`community.general`, `ansible.posix`, `community.proxmox`) are declared in `galaxy.yml`, so diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml index 6c3da5e..7fc319f 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -93,4 +93,4 @@ plugins: strategy: {} test: {} vars: {} -version: 3.3.0 +version: 3.4.0 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 1cf4d68..86b33c7 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -576,3 +576,26 @@ releases: - 482-pve-vm.yml - system-baseline-internal-registers.yml release_date: '2026-12-01' + 3.4.0: + changes: + bugfixes: + - system_baseline - The sysctl hardening survives a reboot on Debian 13, where + ``systemd-sysctl`` no longer reads ``/etc/sysctl.conf``. The role now writes + its values to ``/etc/sysctl.d/99-zz-system-baseline.conf`` and removes its + keys from ``/etc/sysctl.conf``, so the first run reports ``changed`` once. + minor_changes: + - system_baseline - A name in ``system_baseline_sysctl_hardening`` may contain + ``*``, which sets the key on every interface. + - system_baseline - New input ``system_baseline_sysctl_file``, the path of the + drop-in that persists the sysctl hardening. + security_fixes: + - system_baseline - Every profile now refuses ICMP redirects on every interface, + over IPv4 and IPv6. Before, only ``net.ipv4.conf.all`` was set, so a host + that does not forward still accepted them on its interfaces. + fragments: + - 505-ufw-check-mode-probe.yml + - 510-system-baseline-sysctl-dropin.yml + - 510-system-baseline-sysctl-file.yml + - 511-system-baseline-icmp-redirects.yml + - 511-system-baseline-sysctl-wildcard.yml + release_date: '2026-12-03' diff --git a/changelogs/fragments/505-ufw-check-mode-probe.yml b/changelogs/fragments/505-ufw-check-mode-probe.yml deleted file mode 100644 index 3031fb9..0000000 --- a/changelogs/fragments/505-ufw-check-mode-probe.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -trivial: - - >- - ufw - The check-mode probes read whether a command ran instead of whether it was skipped, which - ansible-core 2.25 stops reporting for a command in check mode. diff --git a/changelogs/fragments/510-system-baseline-sysctl-dropin.yml b/changelogs/fragments/510-system-baseline-sysctl-dropin.yml deleted file mode 100644 index 2c51afe..0000000 --- a/changelogs/fragments/510-system-baseline-sysctl-dropin.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -bugfixes: - - >- - system_baseline - The sysctl hardening survives a reboot on Debian 13, where ``systemd-sysctl`` no longer reads - ``/etc/sysctl.conf``. The role now writes its values to ``/etc/sysctl.d/99-zz-system-baseline.conf`` and removes its - keys from ``/etc/sysctl.conf``, so the first run reports ``changed`` once. diff --git a/changelogs/fragments/510-system-baseline-sysctl-file.yml b/changelogs/fragments/510-system-baseline-sysctl-file.yml deleted file mode 100644 index 645e09c..0000000 --- a/changelogs/fragments/510-system-baseline-sysctl-file.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -minor_changes: - - >- - system_baseline - New input ``system_baseline_sysctl_file``, the path of the drop-in that persists the sysctl hardening. diff --git a/changelogs/fragments/511-system-baseline-icmp-redirects.yml b/changelogs/fragments/511-system-baseline-icmp-redirects.yml deleted file mode 100644 index d4d6bf0..0000000 --- a/changelogs/fragments/511-system-baseline-icmp-redirects.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -security_fixes: - - >- - system_baseline - Every profile now refuses ICMP redirects on every interface, over IPv4 and IPv6. Before, only - ``net.ipv4.conf.all`` was set, so a host that does not forward still accepted them on its interfaces. diff --git a/changelogs/fragments/511-system-baseline-sysctl-wildcard.yml b/changelogs/fragments/511-system-baseline-sysctl-wildcard.yml deleted file mode 100644 index 9b47a5c..0000000 --- a/changelogs/fragments/511-system-baseline-sysctl-wildcard.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -minor_changes: - - >- - system_baseline - A name in ``system_baseline_sysctl_hardening`` may contain ``*``, which sets the key on every interface. diff --git a/galaxy.yml b/galaxy.yml index 377e0b3..839a517 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: mortis name: kamino -version: 3.3.0 +version: 3.4.0 readme: README.md authors: - Defame1297