diff --git a/knock.changes b/knock.changes index 325b5f2..c166f75 100644 --- a/knock.changes +++ b/knock.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 28 13:19:54 UTC 2021 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Modified: + * knockd.service + ------------------------------------------------------------------- Wed May 19 08:49:35 UTC 2021 - Daniel Donisa diff --git a/knockd.service b/knockd.service index a6f7689..6ee1183 100644 --- a/knockd.service +++ b/knockd.service @@ -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]