forked from pool/osmo-iuh
Accepting request 925124 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/925124 OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=30
This commit is contained in:
parent
0d419b4b7c
commit
ff10a6d127
22
harden_osmo-hnbgw.service.patch
Normal file
22
harden_osmo-hnbgw.service.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
Index: osmo-iuh-0.7.0/contrib/systemd/osmo-hnbgw.service
|
||||||
|
===================================================================
|
||||||
|
--- osmo-iuh-0.7.0.orig/contrib/systemd/osmo-hnbgw.service
|
||||||
|
+++ osmo-iuh-0.7.0/contrib/systemd/osmo-hnbgw.service
|
||||||
|
@@ -2,6 +2,17 @@
|
||||||
|
Description=Osmocom Home Nodeb Gateway (OsmoHNBGW)
|
||||||
|
|
||||||
|
[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
|
||||||
|
Restart=always
|
||||||
|
ExecStart=/usr/bin/osmo-hnbgw -c /etc/osmocom/osmo-hnbgw.cfg
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 13 13:53:31 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
|
||||||
|
* harden_osmo-hnbgw.service.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 14 21:07:14 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Sun Mar 14 21:07:14 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Group: Hardware/Mobile
|
|||||||
URL: https://osmocom.org/projects/osmohnbgw/wiki
|
URL: https://osmocom.org/projects/osmohnbgw/wiki
|
||||||
|
|
||||||
Source: https://github.com/osmocom/osmo-iuh/archive/%version.tar.gz
|
Source: https://github.com/osmocom/osmo-iuh/archive/%version.tar.gz
|
||||||
|
Patch0: harden_osmo-hnbgw.service.patch
|
||||||
BuildRequires: automake >= 1.9
|
BuildRequires: automake >= 1.9
|
||||||
BuildRequires: libtool >= 2
|
BuildRequires: libtool >= 2
|
||||||
BuildRequires: lksctp-tools-devel
|
BuildRequires: lksctp-tools-devel
|
||||||
|
Loading…
Reference in New Issue
Block a user