diff options
author | Florian Westphal <fw@strlen.de> | 2021-11-11 20:23:30 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-15 14:02:11 +0300 |
commit | a2acf0c0e2da29950d0361a3b5ea05e8d0351dfe (patch) | |
tree | 515816c4bf82e170e0a667749e4e2dfc76a07a17 /Documentation | |
parent | 39f6eed4cb209643f3f8633291854ed7375d7264 (diff) | |
download | linux-a2acf0c0e2da29950d0361a3b5ea05e8d0351dfe.tar.xz |
selftests: nft_nat: switch port shadow test cases to socat
There are now at least three distinct flavours of netcat/nc tool:
'original' version, one version ported from openbsd and nmap-ncat.
The script only works with original because it sets SOREUSEPORT option.
Other nc versions return 'port already in use' error and port shadow test fails:
PASS: inet IPv6 redirection for ns2-hMHcaRvx
nc: bind failed: Address already in use
ERROR: portshadow test default: got reply from "ROUTER", not CLIENT as intended
Switch to socat instead.
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions