diff options
author | 2021-11-11 18:23:30 +0100 | |
---|---|---|
committer | 2021-11-15 12:02:11 +0100 | |
commit | a2acf0c0e2da29950d0361a3b5ea05e8d0351dfe (patch) | |
tree | 515816c4bf82e170e0a667749e4e2dfc76a07a17 /net/unix/af_unix.c | |
parent | netfilter: flowtable: fix IPv6 tunnel addr match (diff) | |
download | wireguard-linux-a2acf0c0e2da29950d0361a3b5ea05e8d0351dfe.tar.xz wireguard-linux-a2acf0c0e2da29950d0361a3b5ea05e8d0351dfe.zip |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions