File harden_osmo-pcap-server.service.patch of Package osmo-pcap
Index: osmo-pcap-0.1.2/contrib/systemd/osmo-pcap-server.service =================================================================== --- osmo-pcap-0.1.2.orig/contrib/systemd/osmo-pcap-server.service +++ osmo-pcap-0.1.2/contrib/systemd/osmo-pcap-server.service @@ -2,6 +2,17 @@ Description=PCAP Server for the PCAP aggregation [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-pcap-server -c /etc/osmocom/osmo-pcap-server.cfg