Look up every listed name as a socket and as a service and act on each installed unit, the socket first. A service whose socket stays active is started again by the next connection to its port. Assisted-by: Claude Code
9 lines
607 B
YAML
9 lines
607 B
YAML
---
|
|
bugfixes:
|
|
- >-
|
|
systemd_hardening - Disable and mask the socket of a listed service as well. A service whose socket stayed active was started again by
|
|
the next connection to its port (``rpcbind`` listens on port 111 through ``rpcbind.socket``). Every name in the disable and mask lists
|
|
is now looked up as a socket and as a service, with or without a ``.service`` or ``.socket`` suffix, and each installed unit is acted
|
|
on, the socket first. A socket that belongs to a listed name, such as ``rpcbind.socket``, is now stopped and disabled, or masked,
|
|
where before it was left alone.
|