]> git.feebdaed.xyz Git - 0xmirror/nftables.git/commit
tests: shell: Refactored nat_ftp, added rulesets and testcase functions
authorAndrii Melnychenko <a.melnychenko@vyos.io>
Thu, 30 Oct 2025 14:57:30 +0000 (15:57 +0100)
committerFlorian Westphal <fw@strlen.de>
Sat, 6 Dec 2025 10:23:46 +0000 (11:23 +0100)
commitbd75ff14783d7cd39ce32b0cb793ea7aa233d348
tree830c94479df21dcc68a68a7140a385eca2bad21d
parent95f82543dcc76bb00e257d2af75a1d1cfd2c7fe8
tests: shell: Refactored nat_ftp, added rulesets and testcase functions

Refactored the setup of nft rulesets, now it is possible to set up an
SNAT or DNAT-only ruleset for future tests.
Presented the testcase function to test passive or active modes.

Signed-off-by: Andrii Melnychenko <a.melnychenko@vyos.io>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/packetpath/nat_ftp