Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Use portable helper network canary
rcourtman5c276d1037d6
diff --git a/scripts/installtests/secure_runtime_rootless_qualification_test.go b/scripts/installtests/secure_runtime_rootless_qualification_test.goindex 0d952b8084..f8e85ccb83 100644--- a/scripts/installtests/secure_runtime_rootless_qualification_test.go+++ b/scripts/installtests/secure_runtime_rootless_qualification_test.go@@ -1031,11 +1031,7 @@ func rootlessQualDualSocketEvidence(t *testing.T, uid int) []map[string]any {func rootlessQualAssertHelperNetworkDenied(t *testing.T) bool {t.Helper()- rootlessQualCommand(t, 10*time.Second, "ip", "link", "add", "pulse-rootless-canary", "type", "dummy")- t.Cleanup(func() { _ = exec.Command("ip", "link", "del", "pulse-rootless-canary").Run() })- rootlessQualCommand(t, 10*time.Second, "ip", "address", "add", "192.0.2.1/32", "dev", "pulse-rootless-canary")- rootlessQualCommand(t, 10*time.Second, "ip", "link", "set", "pulse-rootless-canary", "up")- observations := secureRuntimeAssertHelperOutboundNetworkDenied(t)+ observations := secureRuntimeAssertHelperLoopbackNetworkDenied(t)return observations["helper_namespace_connection"] == "denied" && observations["host_canary_reachable"] == true}diff --git a/scripts/installtests/secure_runtime_systemd_lab_test.go b/scripts/installtests/secure_runtime_systemd_lab_test.goindex 243d29529a..1179215bea 100644--- a/scripts/installtests/secure_runtime_systemd_lab_test.go+++ b/scripts/installtests/secure_runtime_systemd_lab_test.go@@ -2908,9 +2908,19 @@ func secureRuntimeNonLoopbackIPv4(t *testing.T) string {func secureRuntimeAssertHelperOutboundNetworkDenied(t *testing.T) map[string]any {t.Helper()- secureRuntimeAssertHelperProtocol(t)hostIP := secureRuntimeNonLoopbackIPv4(t)- listener, err := net.Listen("tcp4", "0.0.0.0:0")+ return secureRuntimeAssertHelperNetworkCanaryDenied(t, "0.0.0.0:0", hostIP, "host-interface-tcp")+}++func secureRuntimeAssertHelperLoopbackNetworkDenied(t *testing.T) map[string]any {+ t.Helper()+ return secureRuntimeAssertHelperNetworkCanaryDenied(t, "127.0.0.1:0", "127.0.0.1", "host-loopback-tcp")+}++func secureRuntimeAssertHelperNetworkCanaryDenied(t *testing.T, listenAddress, hostIP, canaryScope string) map[string]any {+ t.Helper()+ secureRuntimeAssertHelperProtocol(t)+ listener, err := net.Listen("tcp4", listenAddress)if err != nil {t.Fatalf("listen for helper network-isolation canary: %v", err)}@@ -2957,7 +2967,7 @@ func secureRuntimeAssertHelperOutboundNetworkDenied(t *testing.T) map[string]anyt.Fatalf("helper network namespace reached host-interface canary %s", canaryURL)}return map[string]any{- "canary_scope": "host-interface-tcp",+ "canary_scope": canaryScope,"host_canary_reachable": true,"helper_namespace_connection": "denied","helper_main_pid": mainPID,