diff options
| author | Dmitry Torokhov <[email protected]> | 2023-02-21 19:19:49 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-02-21 19:19:49 +0000 |
| commit | 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18 (patch) | |
| tree | dbdd35328f43569c38c4ce193cefd7d2b6b9fbfd /tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c | |
| parent | Input: i8042 - add Clevo PCX0DX to i8042 quirk table (diff) | |
| parent | dt-bindings: input: iqs626a: Redefine trackpad property types (diff) | |
| download | kernel-7ae9fb1b7ecbb5d85d07857943f677fd1a559b18.tar.gz kernel-7ae9fb1b7ecbb5d85d07857943f677fd1a559b18.zip | |
Merge branch 'next' into for-linus
Prepare input updates for 6.3 merge window.
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c')
| -rw-r--r-- | tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c b/tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c index 75550a40e029..c72083885b6d 100644 --- a/tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c +++ b/tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c @@ -94,12 +94,12 @@ static void test_synproxy(bool xdp) SYS("sysctl -w net.ipv4.tcp_syncookies=2"); SYS("sysctl -w net.ipv4.tcp_timestamps=1"); SYS("sysctl -w net.netfilter.nf_conntrack_tcp_loose=0"); - SYS("iptables -t raw -I PREROUTING \ + SYS("iptables-legacy -t raw -I PREROUTING \ -i tmp1 -p tcp -m tcp --syn --dport 8080 -j CT --notrack"); - SYS("iptables -t filter -A INPUT \ + SYS("iptables-legacy -t filter -A INPUT \ -i tmp1 -p tcp -m tcp --dport 8080 -m state --state INVALID,UNTRACKED \ -j SYNPROXY --sack-perm --timestamp --wscale 7 --mss 1460"); - SYS("iptables -t filter -A INPUT \ + SYS("iptables-legacy -t filter -A INPUT \ -i tmp1 -m state --state INVALID -j DROP"); ctrl_file = SYS_OUT("./xdp_synproxy --iface tmp1 --ports 8080 \ |
