Accepting request 917834 from security:netfilter

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/917834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/conntrack-tools?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2021-09-13 14:24:25 +00:00 committed by Git OBS Bridge
commit fa030dabe1
3 changed files with 19 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 30 08:34:07 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s). Modified:
* conntrackd.service
-------------------------------------------------------------------
Wed Apr 1 18:55:00 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package conntrack-tools
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -30,8 +30,8 @@ Group: Productivity/Networking/Security
URL: http://conntrack-tools.netfilter.org/
#Git-Clone: git://git.netfilter.org/conntrack-tools
Source: ftp://ftp.netfilter.org/pub/conntrack-tools/%name-%version.tar.bz2
Source2: ftp://ftp.netfilter.org/pub/conntrack-tools/%name-%version.tar.bz2.sig
Source: https://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-%version.tar.bz2
Source2: https://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-%version.tar.bz2.sig
Source3: %name.keyring
Source5: conntrackd.service
Source6: conntrackd.README.SUSE

View File

@ -15,6 +15,16 @@ ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
ProtectSystem=full
ProtectHome=true
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
WatchdogSec=60
[Install]