From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.70.190.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795903368; b=tkV60tO8immtwU7Lwu0kK7sX5mTJEPc95FV4kpG0TUzf7jOfuqTZasIpvC6TW/HHXBI5 GwgQ73h1xCi6iNp1MfzehFBUE3CQ3rqKNVQj6GnLiB1yh07E8Iyg5tNi+ZN/w4CTQSBly +r7pnN8Z5/TKhuYJjRLAgDZDClnlJZxDUWyS8YpYOegkMTyVavLypbG282MGqjJzSHBFM iqGn22zUVRy+FzFAbKEAOFv7YPJIJNA9Z/u0GY2n/YLzmENK5OgrdzS0J77JHc/J4q0I8 +2HJH17hkilDTnpJiJ94mynWZhF0k6WGq9HJyGkQmvmCRM0NWZaTCUSy+BWT4m/4fFg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795903368; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:X-Spam-Status:X-Spam-Checker-Version; bh=PfK0eOga/5pGEFcAgtzNZYAxsrhXziP7GnTF6eHgINk=; b=iygNjUNTa/JzIyB0/V2O/5yjlSgywj0MC8fReVztCOCCZvfyS/UEX2BPAJhZUh+2CKiy JjtRG4i6cApTJ14wkZdbKLPEBcmHyxwOBdCokTB7+RJPXbs5KYuMnh4QIsak9EthBS5eg dT8h+ZfRskmMFJSHNUtBB3fMBKd+4hRPOYyRCGbi4JU0Tgj0SaGd0qpYGlbuIEl/EsZo+ 6jE3Fntpsggw8gTudSs8i+p51LRBrWL76abbEic15nOvTT1u/7KlkdpwqZv2FI8Akxc36 eojU2DYPaSzuEUAxTCdIsBzGF8pvh70VxOdN78woyV2whFt98WkQhQQgVc0FNo6USHw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=netfilter.org; spf=pass smtp.mailfrom=netfilter.org; dkim=pass header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=bn40spr0; arc=none smtp.remote-ip=217.70.190.124 Received: from mail.netfilter.org (mail.netfilter.org [217.70.190.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id 8270F60A260E; Sat, 28 Nov 2026 22:02:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8270F60A260E Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netfilter.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=bn40spr0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfilter.org; s=2025; t=1795903365; bh=PfK0eOga/5pGEFcAgtzNZYAxsrhXziP7GnTF6eHgINk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bn40spr0pxKEVo0bh407LM6kGL9WqO42dV/96mjbbgxL5DNmek38JNuYEJId1sZvF sTW+fnw7lqna0k4p5azrqhc45GtT91DTrw6KgiNY8apsXYr5+f/GH/vV8Nz9+6zpAZ mcLBM7DhMSwSpnMoycWKWTnftfg5n9kIRLJ0S0DiXhG2GXpdNzpse14yjPwjbkjRo/ XTIh9yheywLkr46ZPAw1zcdccf8CjLnewszmlO2H8s8WmV9JzJMDIj/njpZi6A+37U eIfUNbH51xQ/R8rpJ3YNJZfiPo791qA6yEy2pa7wWxPdsKEidjFjL7RbRYmlkGrwCJ e9Q9tSOw+onTA== Received: from netfilter.org (mail-agni [217.70.190.124]) by mail.netfilter.org (Postfix) with UTF8SMTPSA id BC28C60085; Sat, 28 Nov 2026 23:02:45 +0100 (CET) Date: Sat, 28 Nov 2026 23:02:42 +0100 From: Pablo Neira Ayuso To: dickson.wu@certik.com Cc: netfilter-devel@vger.kernel.org, Florian Westphal , Phil Sutter , coreteam@netfilter.org, netdev@vger.kernel.org Subject: Re: [PATCH nf 1/2] netfilter: conntrack: reject helper protocol mismatch Message-ID: References: <20261127-nf-ctproto2-v1-0-b5383cef8da2@certik.com> <20261127-nf-ctproto2-v1-1-b5383cef8da2@certik.com> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20261127-nf-ctproto2-v1-1-b5383cef8da2@certik.com> On Fri, Nov 27, 2026 at 06:12:10PM +0000, Dickson Wu via B4 Relay wrote: > From: Dickson Wu > > Conntrack templates can carry helpers selected from rule metadata instead > of the packet protocol. nft_compat does not enforce its compatibility > protocol when evaluating packets, so xt_CT can attach a UDP helper to a > TCP conntrack. act_ct can likewise attach a helper configured for another > protocol. > > Helpers parse transport headers according to helper->l4proto. With the > H.323 RAS helper attached to TCP traffic, NAT mangling in > mangle_contents() crashes. Refuse to copy a template helper unless it > matches the new conntrack protocol. This covers all template users in > the common assignment path. > > Fixes: 84f3bb9ae9db ("netfilter: xtables: add CT target") > Signed-off-by: Dickson Wu > --- > This was found and the fix prepared with AI coding tools (OpenAI Codex > agents, with review by Claude). I went over the analysis and the patch > before signing off. There is ongoing work in the mailing list. Your LLM is just reporting you something for which there are already patches on the mailing list? Could you please check the mailing list before posting duplicate patches?