[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANhDHd_xhYxWOzGxmumnUk1f6gSWZYCahg0so+AzOE3i12bL9A@mail.gmail.com>
Date: Thu, 23 Oct 2025 14:28:06 +0200
From: Andrii Melnychenko <a.melnychenko@...s.io>
To: Florian Westphal <fw@...len.de>
Cc: Pablo Neira Ayuso <pablo@...filter.org>, kadlec@...filter.org, phil@....cc,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
horms@...nel.org, netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/1] nft_ct: Added nfct_seqadj_ext_add() for NAT'ed conntrack.
Hi all,
I've taken a look at the `nat_ftp` test from nftables. It actually
passes fine, I've tried to modify the test, add IPv4 and force
PASV/PORT mode - everything works.
Currently, I'm studying the difference between NFT rulesets.
Primarily, I'm testing on 2 kernels: 6.6.108 and 6.14.0-33.
On Wed, Oct 22, 2025 at 3:01 PM Andrii Melnychenko
<a.melnychenko@...s.io> wrote:
>
> Hi all,
>
> > BTW, this fixes DNAT case, but SNAT case is still broken because flag
> > is set at a later stage, right?
>
> I've checked SNAT with the "PORT" FTP command - didn't reproduce the bug.
> I assume that `nft_nat_eval()` -> `nf_nat_setup_info()` sets up seqadj
> for the SNAT case.
--
Andrii Melnychenko
Phone +1 844 980 2188
Email a.melnychenko@...s.io
Website vyos.io
linkedin.com/company/vyos
vyosofficial
x.com/vyos_dev
reddit.com/r/vyos/
youtube.com/@...SPlatform
Subscribe to Our Blog Keep up with VyOS
Powered by blists - more mailing lists