netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrii Melnychenko <a.melnychenko@vyos.io>
To: netfilter-devel@vger.kernel.org, fw@strlen.de
Subject: [PATCH v2 0/2] tests: shell: nat_ftp SNAT/DNAT only testcases
Date: Tue, 28 Oct 2025 17:56:05 +0100	[thread overview]
Message-ID: <20251028165607.1074310-1-a.melnychenko@vyos.io> (raw)

Added new testcases to test SNAT or DNAT only for passive and active modes.
There was an issue that DNAT doesn't set up sequence adjustment for NAT conntrack.
The last patch with a fix to the kernel was present here:
https://lkml.org/lkml/2025/10/24/1254

This series of patches adds tests that should cover an issue with seqadj for SNAT/DNAT.

Changes since v1:
 * refactored/split patches

Andrii Melnychenko (2):
  tests: shell: Refactored nat_ftp, added rulesets and testcase
    functions
  tests: shell: Added SNAT/DNAT only cases for nat_ftp

 tests/shell/testcases/packetpath/nat_ftp | 108 +++++++++++++++++------
 1 file changed, 80 insertions(+), 28 deletions(-)

-- 
2.43.0


             reply	other threads:[~2025-10-28 16:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-28 16:56 Andrii Melnychenko [this message]
2025-10-28 16:56 ` [PATCH v2 1/2] tests: shell: Refactored nat_ftp, added rulesets and testcase functions Andrii Melnychenko
2025-10-29 17:43   ` Phil Sutter
2025-10-28 16:56 ` [PATCH v2 2/2] tests: shell: Added SNAT/DNAT only cases for nat_ftp Andrii Melnychenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251028165607.1074310-1-a.melnychenko@vyos.io \
    --to=a.melnychenko@vyos.io \
    --cc=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).