Accepting request 921085 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/921085
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iodine?expand=0&rev=21
This commit is contained in:
Malcolm Lewis 2021-09-30 12:36:53 +00:00 committed by Git OBS Bridge
parent 8c9bce2fb6
commit 1c879f805a
3 changed files with 33 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Sep 22 14:45:53 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* iodine.service
* iodined.service
-------------------------------------------------------------------
Sun Jun 13 13:35:10 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -8,6 +8,19 @@ Description=iodine lets you tunnel IPv4 data through a DNS server
After=network.target syslog.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
Type=simple
EnvironmentFile=-/etc/sysconfig/iodine
Environment=TERM=linux

View File

@ -8,6 +8,19 @@ Description=iodined lets you tunnel IPv4 data through a DNS server
After=network.target syslog.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
Type=simple
EnvironmentFile=-/etc/sysconfig/iodined
Environment=TERM=linux