mirror of
https://github.com/HorlogeSkynet/systemd-hardene.d.git
synced 2026-05-12 20:00:37 +02:00
37 lines
846 B
Plaintext
37 lines
846 B
Plaintext
[Service]
|
|
CapabilityBoundingSet=CAP_DAC_OVERRIDE CAP_CHOWN CAP_NET_ADMIN CAP_SETUID CAP_SETGID CAP_SYS_RESOURCE
|
|
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
PrivateBPF=yes
|
|
PrivateDevices=yes
|
|
PrivateIPC=yes
|
|
PrivateMounts=yes
|
|
PrivateTmp=yes
|
|
|
|
ProtectClock=yes
|
|
ProtectControlGroups=yes
|
|
ProtectHome=yes
|
|
ProtectHostname=yes
|
|
ProtectKernelLogs=yes
|
|
ProtectKernelModules=yes
|
|
ProtectKernelTunables=yes
|
|
ProtectProc=noaccess
|
|
ProcSubset=pid
|
|
ProtectSystem=strict
|
|
ReadWritePaths=-/run/mumble-server -/var/lib/mumble-server -/var/log/mumble-server
|
|
RuntimeDirectory=mumble-server
|
|
RuntimeDirectoryMode=0750
|
|
|
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
|
|
RestrictNamespaces=yes
|
|
RestrictRealtime=yes
|
|
RestrictSUIDSGID=yes
|
|
|
|
LockPersonality=yes
|
|
SystemCallArchitectures=native
|
|
SystemCallFilter=@system-service
|
|
SystemCallFilter=~@resources memfd_create
|