Skip to content

fw: nat6 (NPTv6) connections stay out of the flowtable - #125

Merged
Cd1s merged 1 commit into
mainfrom
fix/nat6-no-flowtable
Oct 1, 2026
Merged

Cd1s merged 1 commit into
mainfrom
fix/nat6-no-flowtable

Conversation

@Cd1s

@Cd1s Cd1s commented Oct 1, 2026

Copy link
Copy Markdown
Owner

What

With nat6 policies, emit meta nfproto ipv6 ct status snat ct state established accept (comment nat6-no-flowtable) after the access-control rules and before flow add @ft, so NPTv6-translated flows stay on the CPU path. No change without nat6 policies.

Why

Once such a flow entered the flowtable its later packets stopped reaching the far end (QUIC handshakes over IPv6 failed). Step 1 of #124; the kernel-side root cause is still open.

Verification

Unit test (rule present, ordered between access control and flow add, absent without nat6), net.sh e2e asserts the loaded rule, full CI green.

Closes #124

@Cd1s
Cd1s merged commit 18d02a0 into main Oct 1, 2026
2 checks passed
@Cd1s
Cd1s deleted the fix/nat6-no-flowtable branch October 1, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nat6:NPTv6 转换的 IPv6 流进 flowtable 后包发不到对端(QUIC 握手失败),需让 NPT6 流不进快速路径

1 participant