Accepting request 922509 from home:jsegitz:branches:systemdhardening:network:utilities

Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/922509
OBS-URL: https://build.opensuse.org/package/show/network:utilities/knock?expand=0&rev=22
This commit is contained in:
Daniel Donisa 2021-10-05 07:19:08 +00:00 committed by Git OBS Bridge
parent 2b945db28e
commit f4da58d0be
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 28 13:19:54 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* knockd.service
-------------------------------------------------------------------
Wed May 19 08:49:35 UTC 2021 - Daniel Donisa <daniel.donisa@suse.com>

View File

@ -3,6 +3,19 @@ Description=Port-Knocking Daemon
After=network.target
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
ExecStart=/usr/sbin/knockd
[Install]