mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 09:14:33 +00:00
- Move Go mesh daemon code to daemon/ directory - secuboxd mesh daemon with mDNS discovery - secuboxctl CLI management tool - c3box situational awareness dashboard - GK-HAM-2025 ZKP authentication system - Add Debian packaging for secubox-daemon and secubox-c3box - Fix maintainer in 12 packages to Gerald KERMA <devel@cybermind.fr> - secubox-backup, device-intel, mesh, meshname, p2p - roadmap, soc, tor, vortex-dns, vortex-firewall - watchdog, zkp - Add JWT authentication to secubox-mesh API Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
47 lines
1.1 KiB
Desktop File
47 lines
1.1 KiB
Desktop File
# SecuBox Mesh Daemon
|
|
# CyberMind — SecuBox-Deb — 2026
|
|
[Unit]
|
|
Description=SecuBox Mesh Daemon
|
|
Documentation=https://secubox.in/docs/secuboxd
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
Before=crowdsec.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=/usr/bin/secuboxd --config /etc/secubox/secuboxd.yaml
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
# Security hardening (CSPN compliant)
|
|
DynamicUser=yes
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
|
|
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_RAW
|
|
NoNewPrivileges=yes
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
ProtectKernelTunables=yes
|
|
ProtectKernelModules=yes
|
|
ProtectControlGroups=yes
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
|
RestrictNamespaces=yes
|
|
LockPersonality=yes
|
|
MemoryDenyWriteExecute=yes
|
|
RestrictRealtime=yes
|
|
RestrictSUIDSGID=yes
|
|
|
|
# Runtime directories
|
|
RuntimeDirectory=secuboxd
|
|
StateDirectory=secuboxd
|
|
ConfigurationDirectory=secubox
|
|
LogsDirectory=secuboxd
|
|
|
|
# Socket permissions
|
|
RuntimeDirectoryMode=0750
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|