File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 164164 Group = cfg . group ;
165165 WorkingDirectory = cfg . dataDir ;
166166
167- PrivateTmp = true ;
167+ # Essential security.
168168 ProtectSystem = "strict" ;
169169 ProtectHome = true ;
170170 ReadWritePaths = [ cfg . dataDir ] ;
171- NoNewPrivileges = true ;
172- RestrictNamespaces = true ;
173- RestrictRealtime = true ;
174- RestrictSUIDSGID = true ;
175- LockPersonality = true ;
176- ProtectClock = true ;
177- ProtectHostname = true ;
178- ProtectKernelLogs = true ;
179- ProtectKernelModules = true ;
180- ProtectKernelTunables = true ;
181- ProtectControlGroups = true ;
171+
172+ # Network restrictions.
182173 RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ] ;
183- SystemCallFilter = [ "@system-service" "~@privileged" ] ;
174+
175+ # Basic hardening.
176+ NoNewPrivileges = true ;
177+ PrivateTmp = true ;
184178 } ;
185179
186180 preStart = optionalString cfg . web . enable ''
You can’t perform that action at this time.
0 commit comments