SHA256
1
0
forked from pool/wrapsix

Accepting request 945223 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/945223
OBS-URL: https://build.opensuse.org/package/show/network/wrapsix?expand=0&rev=4
This commit is contained in:
Martin Hauke 2022-01-12 14:10:46 +00:00 committed by Git OBS Bridge
parent c42703bb03
commit 8f88e16827
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 5 11:48:46 UTC 2022 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* wrapsix.service
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 6 21:06:36 UTC 2018 - Jan Engelhardt <jengelh@inai.de> Thu Dec 6 21:06:36 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -4,6 +4,17 @@ After=syslog.target
WantedBy=network.target WantedBy=network.target
[Service] [Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=simple Type=simple
ExecStart=/usr/sbin/wrapsix /etc/wrapsix.conf ExecStart=/usr/sbin/wrapsix /etc/wrapsix.conf