From ec017877f740012019665db9b2453d00f9d31ae42763ac76b066c6a8d7186a0c Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Fri, 29 Oct 2021 13:59:43 +0000 Subject: [PATCH] Accepting request 926711 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/926711 OBS-URL: https://build.opensuse.org/package/show/network/pure-ftpd?expand=0&rev=84 --- pure-ftpd.changes | 6 ++++++ pure-ftpd.service | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/pure-ftpd.changes b/pure-ftpd.changes index b6f29ce..1cd77a5 100644 --- a/pure-ftpd.changes +++ b/pure-ftpd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 20 14:40:45 UTC 2021 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Modified: + * pure-ftpd.service + ------------------------------------------------------------------- Mon May 3 05:30:57 UTC 2021 - Luigi Baldoni diff --git a/pure-ftpd.service b/pure-ftpd.service index 101b9fd..dcb610f 100644 --- a/pure-ftpd.service +++ b/pure-ftpd.service @@ -3,6 +3,18 @@ Description=Pure-FTPd FTP server After=syslog.target network.target [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +PrivateDevices=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions ExecStart=/usr/sbin/pure-ftpd /etc/pure-ftpd/pure-ftpd.conf [Install]