fix(dashboard): nftables-Status aus Kernel statt Systemd-Unit

Vorher: Service-Health-Grid hat 'nftables.service' per systemctl
abgefragt. Distro-Unit ist disabled (wir laden via 'nft -f' aus
dem Renderer) → Dashboard zeigte FW als 'inactive', obwohl Pakete
sehr wohl gefiltert werden.

Fix: Special-case in /system/services für unit='nftables'. Status
= existiert 'table inet edgeguard' im Kernel-Ruleset (sudo nft list
tables). 'kernel-loaded' wenn ja, 'no-table' wenn nein.

Plus: sudoers im postinst erweitert um 'nft list tables' + 'nft list
table inet edgeguard'.

Version 1.0.44.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Debian
2026-05-11 07:51:55 +02:00
parent c7b98f196e
commit 9464322450
8 changed files with 42 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "edgeguard-management-ui",
"private": true,
"version": "1.0.43",
"version": "1.0.44",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -75,7 +75,7 @@ const NAV: NavSection[] = [
},
]
const VERSION = '1.0.43'
const VERSION = '1.0.44'
export default function Sidebar({ isOpen, onClose }: SidebarProps) {
const { t } = useTranslation()