Repository navigation
Ultimate Hardening 2.5.2
Bug-fix release. A revert now puts firewalld, auditd and the SSH banner back the way they were before hardening, and a full revert works when the backup folder's path holds glob characters. No change to what hardening applies.
Fixed
- A revert left auditd running where it was installed but stopped before
hardening (Arch), and still reported it as put back: auditd's systemd unit
refusessystemctl stop. The revert now stops it the way auditd documents,
and warns if a service it should have stopped is still running. - A full revert left firewalld on the drop zone. It now puts back the default
zone, the drop zone's SSH setting and whether firewalld was running, as
reverting module 3 on its own already did. - Reverting module 2 (SSH) on its own, or a full revert, left the
/etc/issue.netbanner behind on hosts that ship no such file (Alpine,
Arch). It is now removed when it still holds only the module's banner; an
admin's own banner is restored as before. - A full revert restored nothing when the backup folder's path held
[,*
or?(for exampleUH_BACKUP_ROOT=/mnt/backups[1]), reporting every file
as "could not restore".