chore(release): 1.6.0
Adds the sshd role. ufw base rules can delete a rule (delete: true), so an open rule can be replaced by narrower ones, and fail2ban gains fail2ban_ignoreip. Existing behaviour is unchanged unless the new options are used. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
a4e80c1864
commit
bc86c2db9f
9 files changed
+53
-25
No files matched your search
@@ -12,6 +12,10 @@ objects:
|
||||
description: Manage /etc/network/interfaces
|
||||
name: network_interfaces
|
||||
version_added: null
|
||||
sshd:
|
||||
description: Write a hardened sshd drop-in
|
||||
name: sshd
|
||||
version_added: null
|
||||
system_baseline:
|
||||
description: Apply the OS baseline for a system type
|
||||
name: system_baseline
|
||||
@@ -40,4 +44,4 @@ plugins:
|
||||
strategy: {}
|
||||
test: {}
|
||||
vars: {}
|
||||
version: 1.5.0
|
||||
version: 1.6.0
|
||||
@@ -119,3 +119,32 @@ releases:
|
||||
- system-baseline-tmux.yml
|
||||
- system-baseline-update-toggle.yml
|
||||
release_date: '2026-11-15'
|
||||
1.6.0:
|
||||
changes:
|
||||
minor_changes:
|
||||
- fail2ban - add ``fail2ban_ignoreip``, written as ``ignoreip`` in the ``[DEFAULT]``
|
||||
section of ``jail.local`` so it applies to every jail, the service jails included.
|
||||
The default is Fail2Ban's own (``127.0.0.1/8`` and ``::1``). The first run
|
||||
after upgrading adds the section and restarts Fail2Ban once.
|
||||
- sshd - New role. Writes a hardened sshd drop-in selected by a profile (``pve``,
|
||||
``ubuntu_lxc``, ``ubuntu_vm``), merged from a baseline, the profile and ``sshd_settings``,
|
||||
checked with ``sshd -t`` and reloaded through a handler. It refuses to run
|
||||
when the result would lock SSH out (password login off without public key
|
||||
login), when the ``pve`` profile does not allow root public-key login or lacks
|
||||
``rsa-sha2-512`` (Proxmox VE cluster SSH needs both), and when any profile
|
||||
allows SHA-1 ``ssh-rsa``.
|
||||
- 'ufw - ``ufw_rules`` entries accept ``delete`` (a boolean). An entry with
|
||||
``delete: true`` removes the rule it describes, so a base rule can be replaced,
|
||||
for example an open SSH rule by narrower ones. Deletes are applied after every
|
||||
other rule of the list, a delete entry never satisfies the SSH lock-out guard,
|
||||
and a rule that the list both adds and deletes fails the play. ``service_rules``
|
||||
does not accept the key.'
|
||||
release_summary: Adds the sshd role. ufw base rules can now delete a rule, so
|
||||
an open rule can be replaced by narrower ones, and fail2ban gains fail2ban_ignoreip.
|
||||
Existing behaviour is unchanged unless the new options are used.
|
||||
fragments:
|
||||
- 1.6.0.yml
|
||||
- fail2ban-ignoreip.yml
|
||||
- sshd-role.yml
|
||||
- ufw-rule-delete.yml
|
||||
release_date: '2026-11-15'
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- >-
|
||||
fail2ban - add ``fail2ban_ignoreip``, written as ``ignoreip`` in the ``[DEFAULT]`` section of ``jail.local`` so it applies to
|
||||
every jail, the service jails included. The default is Fail2Ban's own (``127.0.0.1/8`` and ``::1``). The first run after
|
||||
upgrading adds the section and restarts Fail2Ban once.
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- sshd - New role. Writes a hardened sshd drop-in selected by a profile (``pve``, ``ubuntu_lxc``, ``ubuntu_vm``),
|
||||
merged from a baseline, the profile and ``sshd_settings``, checked with ``sshd -t`` and reloaded through a handler.
|
||||
It refuses to run when the result would lock SSH out (password login off without public key login), when the
|
||||
``pve`` profile does not allow root public-key login or lacks ``rsa-sha2-512`` (Proxmox VE cluster SSH needs both),
|
||||
and when any profile allows SHA-1 ``ssh-rsa``.
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
minor_changes:
|
||||
- >-
|
||||
ufw - ``ufw_rules`` entries accept ``delete`` (a boolean). An entry with ``delete: true`` removes the rule it describes,
|
||||
so a base rule can be replaced, for example an open SSH rule by narrower ones. Deletes are applied after every other
|
||||
rule of the list, a delete entry never satisfies the SSH lock-out guard, and a rule that the list both adds and deletes
|
||||
fails the play. ``service_rules`` does not accept the key.
|
||||
Reference in new issue
Block a user