fix: hardening

This commit is contained in:
fufsob committed 2026-09-30 09:16:21 +00:00
1 parent f609334849
commit 18a2049a1c
19 files changed
+486 -119

No files matched your search

+4
View File
@@ -131,6 +131,10 @@ in
assert before "ip daddr 172.19.0.1/30 accept" "th dport 53 reject";
assert before "th dport 53 reject" "ip daddr $RESERVED_IP accept";
assert pkgs.lib.hasInfix ''iifname { "br0" } reject'' rules;
# A switch reloads it: the new rules replace the old in one transaction, never a stop
# that lifts it first.
assert ks.reloadIfChanged;
assert ks.serviceConfig.ExecReload == ks.serviceConfig.ExecStart;
assert !(tproxyManualFixture.config.systemd.services ? "proxy-suite-killswitch");
true
)