NGFW-15626: Add Bookworm kernel 6.1.159 build support#12
Open
singhrohit23 wants to merge 9 commits intomasterfrom
Open
NGFW-15626: Add Bookworm kernel 6.1.159 build support#12singhrohit23 wants to merge 9 commits intomasterfrom
singhrohit23 wants to merge 9 commits intomasterfrom
Conversation
mayur-dhande
approved these changes
Mar 5, 2026
…o build on nodes with more free disk
In kernel 6.1, nfqnl_reinject() only calls ct_hook->update() for NF_ACCEPT/REPEAT/STOP verdicts. For NF_DROP, the unconfirmed conntrack entry is destroyed when the skb is freed. This breaks UDP proxy architectures where userspace drops the original packet and re-sends via its own socket, relying on the conntrack entry for reply NAT de-translation. Add mark-gated opt-in patch (0007): when module parameter nfqueue_confirm_drop_mark is set, packets with matching skb mark get their conntrack entry confirmed before NF_DROP processing. Version bumped to untangle2bookworm. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3f559eb to
981eaca
Compare
ct_hook->update() calls nf_confirm_cthelper() which returns early without confirming when no conntrack helper is attached — the common case for plain UDP. Confirmed via kprobes: - nf_conntrack_update() returns 0 (success) - __nf_conntrack_confirm() is never called from that path Switch to calling __nf_conntrack_confirm() directly with guards: - Only for unconfirmed entries (nf_ct_is_confirmed check) - Only for tracked packets (nf_ct_get check) - Only for marked packets (nfqueue_confirm_drop_mark) Version bumped to untangle3bookworm. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
981eaca to
b68684b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.