Accepting request 919471 from home:jsegitz:branches:systemdhardening:network

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/919471
OBS-URL: https://build.opensuse.org/package/show/network/fwknop?expand=0&rev=5
This commit is contained in:
Martin Hauke 2021-09-16 16:10:01 +00:00 committed by Git OBS Bridge
parent 0906a81d44
commit 6320ca0e61
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 16 07:15:08 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* fwknopd.service
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 7 20:08:47 UTC 2020 - Martin Hauke <mardnh@gmx.de> Sun Jun 7 20:08:47 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@ -3,6 +3,18 @@ Description=Firewall Knock Operator Daemon
After=network.target After=network.target
[Service] [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
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=forking Type=forking
PIDFile=/var/run/fwknopd.pid PIDFile=/var/run/fwknopd.pid
ExecStart=/usr/sbin/fwknopd ExecStart=/usr/sbin/fwknopd