Accepting request 923290 from home:jsegitz:branches:systemdhardening:network:telephony
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/923290 OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-sccp?expand=0&rev=47
This commit is contained in:
parent
7a6683c149
commit
4d85993bc7
24
harden_osmo-stp.service.patch
Normal file
24
harden_osmo-stp.service.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
Index: libosmo-sccp-1.4.0/contrib/systemd/osmo-stp.service
|
||||||
|
===================================================================
|
||||||
|
--- libosmo-sccp-1.4.0.orig/contrib/systemd/osmo-stp.service
|
||||||
|
+++ libosmo-sccp-1.4.0/contrib/systemd/osmo-stp.service
|
||||||
|
@@ -3,6 +3,19 @@ Description=Osmocom STP (Signal Transfer
|
||||||
|
Documentation=https://osmocom.org/projects/osmo-stp/wiki
|
||||||
|
|
||||||
|
[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
|
||||||
|
Restart=always
|
||||||
|
ExecStart=/usr/bin/osmo-stp -c /etc/osmocom/osmo-stp.cfg
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 5 06:18:17 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
|
||||||
|
* harden_osmo-stp.service.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 14 20:59:25 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Sun Mar 14 20:59:25 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ URL: https://projects.osmocom.org/projects/libosmo-sccp
|
|||||||
#Git-Clone: https://git.osmocom.org/libosmo-sccp
|
#Git-Clone: https://git.osmocom.org/libosmo-sccp
|
||||||
Source: https://github.com/osmocom/libosmo-sccp/archive/%version.tar.gz
|
Source: https://github.com/osmocom/libosmo-sccp/archive/%version.tar.gz
|
||||||
Patch1: 0001-build-fixes.patch
|
Patch1: 0001-build-fixes.patch
|
||||||
|
Patch2: harden_osmo-stp.service.patch
|
||||||
BuildRequires: automake >= 1.6
|
BuildRequires: automake >= 1.6
|
||||||
BuildRequires: libtool >= 2
|
BuildRequires: libtool >= 2
|
||||||
BuildRequires: lksctp-tools-devel
|
BuildRequires: lksctp-tools-devel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user