Accepting request 923171 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/923171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/knock?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2021-10-05 20:33:52 +00:00 committed by Git OBS Bridge
commit 408ca53f8c
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]