fix(node-image): enable netfilter targets kube-proxy and Canal need on kernel 6.18 #742
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.63) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 304 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.342
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #742"
general
weight: 0.35
joaosa
Summary
#737 switched the node image to Canal with iptables kube-proxy. On kernel 6.18.49, kube-proxy cannot install its rules:
ClusterIP services stop working, Canal
install-cnicannot reach the API service, and agents stay NotReady.Cause
On 6.16,
IP_NF_TARGET_REJECT/IP6_NF_TARGET_REJECTcame in through the legacyIP_NF_FILTER. On 6.18 they do not, andc8s.confignever set them. The committedconfig-x86_64-c8s.snapshotwas still from 6.16.12, so the gap was not visible.Change
c8s.configandc8s-dev.config: setIP_NF_TARGET_REJECT,IP6_NF_TARGET_REJECT,NETFILTER_XT_MATCH_PHYSDEV,NETFILTER_XT_TARGET_NFLOG,NETFILTER_XT_CONNMARKto=y(deps already on:NFT_COMPAT, bridge netfilter;XT_CONNMARKselectsNF_CONNTRACK_MARK).NFT_LOG, so iptables-nft can render NFLOG rules (eedf6d70).config-x86_64-c8s.snapshotfor 6.18.49 (non-devconfos kernelrun with the org module cert).check-apparmor-config.shpasses.rke2-canal-config.yaml). A nested guest's outer host often runs its own VXLAN on 8472 (outer Cilium on hil-tdx-1 does) and drops the inner overlay. This changes the measurement and the wire port for every deployment: firewalls and security groups must allow UDP 8473 between nodes. Documented innode-guest-image/README.md(412f5c87).IP_NF_IPTABLES_LEGACY,IP_NF_FILTER,IP_NF_NAT,IP_NF_MANGLEand their IPv6 equivalents). Anything that falls back to iptables-legacy fails; the image ships iptables-nft only.Testing
.confighas all options=y. E2E on a two-node TDX cluster is in progress.iptables-save,ip6tables-save,nft list ruleset) currently contains no physdev, NFLOG, CONNMARK or REJECT rule. REJECT is emitted by kube-proxy only for Services without endpoints, so it stays required. The other three rest on the load probe above; consider dropping any that no component emits.